Browse Source

improve space-before-function-paren

pull/205/head
LouisLam 4 years ago
parent
commit
e0ae9a9e73
  1. 6
      .eslintrc.js

6
.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",

Loading…
Cancel
Save