mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
eslint: change space-before-function-paren from warning to error.
Also fix violations.
This commit is contained in:
@@ -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 }],
|
||||||
|
|||||||
Reference in New Issue
Block a user