eslint: change space-before-function-paren from warning to error.

Also fix violations.
This commit is contained in:
lonerz
2016-12-05 06:02:18 +00:00
committed by Tim Abbott
parent f354892ba4
commit dc6849952b
25 changed files with 39 additions and 39 deletions

View File

@@ -108,7 +108,7 @@
"func-style": ["off", "expression"], "func-style": ["off", "expression"],
"wrap-iife": ["error", "outside", { "functionPrototypeMethods": false }], "wrap-iife": ["error", "outside", { "functionPrototypeMethods": false }],
"no-new-func": "error", "no-new-func": "error",
"space-before-function-paren": 1, "space-before-function-paren": ["error", { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"no-param-reassign": 1, "no-param-reassign": 1,
"prefer-spread": "error", "prefer-spread": "error",
"arrow-spacing": ["error", { "before": true, "after": true }], "arrow-spacing": ["error", { "before": true, "after": true }],