Browse Source

add eslint: space-before-function-paren

pull/205/head
LouisLam 3 years ago
parent
commit
764160f38c
  1. 1
      .eslintrc.js

1
.eslintrc.js

@ -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",

Loading…
Cancel
Save