Skip to content

Commit c3079a4

Browse files
committed
upgrade eslint and update configuration for comma-dangle
1 parent 606b577 commit c3079a4

File tree

3 files changed

+121
-8
lines changed

3 files changed

+121
-8
lines changed

.eslintrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"extends": "standard",
33
"rules": {
44
"arrow-parens": ["error", "always"],
5-
"comma-dangle": ["error", "always-multiline"],
5+
"comma-dangle": ["error", {
6+
"arrays": "always-multiline",
7+
"objects": "always-multiline",
8+
"imports": "always-multiline",
9+
"exports": "always-multiline"
10+
}],
611
"max-len": [1, 120, 2],
712
"spaced-comment": "off"
813
}

package-lock.json

Lines changed: 114 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"browser-pack-flat": "~3.4",
2020
"browserify": "~16.5",
2121
"cssnano": "~4.1",
22-
"eslint": "~6.5",
22+
"eslint": "~6.6",
2323
"eslint-config-standard": "~14.1",
2424
"eslint-plugin-import": "~2.18",
2525
"eslint-plugin-node": "~10.0",

0 commit comments

Comments
 (0)