Skip to content

Commit 2fc11a2

Browse files
committed
chore(eslint): Drop comma-dangle rule
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.
1 parent e3f8256 commit 2fc11a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

.eslintrc.js

-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ const stylisticIssuesRules = {
204204
properties: 'always'
205205
}
206206
],
207-
'comma-dangle': ERROR,
208207
'comma-spacing': ERROR,
209208
'comma-style': ERROR,
210209
'computed-property-spacing': ERROR,

0 commit comments

Comments
 (0)