add eslint: space-before-function-paren

This commit is contained in:
LouisLam 2021-08-10 21:44:29 +08:00
parent 70e7945a66
commit 764160f38c

View File

@ -36,6 +36,7 @@ module.exports = {
"no-multi-spaces": ["error", { "no-multi-spaces": ["error", {
ignoreEOLComments: true, ignoreEOLComments: true,
}], }],
"space-before-function-paren": ["error", "always"],
"curly": "error", "curly": "error",
"object-curly-spacing": ["error", "always"], "object-curly-spacing": ["error", "always"],
"object-curly-newline": "off", "object-curly-newline": "off",