Skip to content

Commit

Permalink
Disallow comma-dangle in functions (comma-dangle)
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Mar 1, 2017
1 parent 6d403c1 commit 9d6b9c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion eslintrc.json
Expand Up @@ -30,7 +30,13 @@
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": ["error", { "properties": "never" }],
"comma-dangle": ["error", "never"],
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"constructor-super": "error",
Expand Down

0 comments on commit 9d6b9c1

Please sign in to comment.