You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All in, of course. BTW, this is another example where ESLint is getting closer to the level of prettier. I know it's quite far and has a long way to go in that regard, but still... personally, for me, it's close enough. And since it keeps getting better (if the available rules are used) then I'm happy with it.
https://eslint.org/docs/rules/computed-property-spacing
Current rule:
Proposed rule:
By default, this rule does not check class declarations and class expressions,
as the default value for
enforceForClassMembers
isfalse
.When
enforceForClassMembers
is set totrue
, the rule will also disallow/enforce spaces inside of computed keys of class methods, getters and setters.Examples of incorrect code for this rule with
"never"
and{ "enforceForClassMembers": true }
:Examples of correct code for this rule with
"never"
and{ "enforceForClassMembers": true }
:The text was updated successfully, but these errors were encountered: