diff --git a/.eslintrc.js b/.eslintrc.js index 9e0eb4574..33d49f0d4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -36,7 +36,11 @@ module.exports = { "no-multi-spaces": ["error", { ignoreEOLComments: true, }], - "space-before-function-paren": ["error", "always"], + "space-before-function-paren": ["error", { + "anonymous": "always", + "named": "never", + "asyncArrow": "always" + }], "curly": "error", "object-curly-spacing": ["error", "always"], "object-curly-newline": "off",