Skip to content

Commit 03b0c13

Browse files
authored
Fixed dangling comma rule
1 parent 81c3641 commit 03b0c13

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nulldev-template/.eslintrc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@
5050
/**
5151
* Possible errors
5252
*/
53-
"comma-dangle": [2, "always"], // http://eslint.org/docs/rules/comma-dangle
53+
"comma-dangle": [ // http://eslint.org/docs/rules/comma-dangle
54+
2,
55+
"always-multiline"
56+
],
5457
"no-cond-assign": [2, "always"], // http://eslint.org/docs/rules/no-cond-assign
5558
"no-console": 0, // http://eslint.org/docs/rules/no-console
5659
"no-debugger": 1, // http://eslint.org/docs/rules/no-debugger

0 commit comments

Comments
 (0)