Skip to content

Strict types and no lines between constants

Latest
Compare
Choose a tag to compare
@FrontEndCoffee FrontEndCoffee released this 27 Jul 12:42
· 4 commits to main since this release
42d1e40

Constants

const A = 'a';

const B = 'b';

Will become

const A = 'a';
const B = 'b';

The spacing of one line will still be enforced for methods and properties, just not for constants.

Strict types

Strict types will now by default be enabled for all files in a project. Make sure to disable the rule if you're working with a legacy project that breaks in such a case.