Skip to content

Commit

Permalink
chore(eslint): Drop comma-dangle rule
Browse files Browse the repository at this point in the history
The rule to disallow trailing commas often forces you to pointlessly
touch neighboring lines when you add or remove items.

If we want to enforce consistent dangling commas, we should rather force
them to always be present. But since our whole codebase follows this
rule, it would be better to have a grace period to gradually add commas.
  • Loading branch information
kellnerd committed Jul 24, 2024
1 parent e3f8256 commit 2fc11a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ const stylisticIssuesRules = {
properties: 'always'
}
],
'comma-dangle': ERROR,
'comma-spacing': ERROR,
'comma-style': ERROR,
'computed-property-spacing': ERROR,
Expand Down

0 comments on commit 2fc11a2

Please sign in to comment.