eslintrc: Sort eslint rules
This commit is contained in:
parent
994f56c3f9
commit
208f066e0e
10
.eslintrc.js
10
.eslintrc.js
@ -25,9 +25,14 @@ module.exports = {
|
|||||||
"linebreak-style": ["error", "unix"],
|
"linebreak-style": ["error", "unix"],
|
||||||
"no-extra-semi": "error",
|
"no-extra-semi": "error",
|
||||||
"no-mixed-spaces-and-tabs": "error",
|
"no-mixed-spaces-and-tabs": "error",
|
||||||
|
"no-multi-spaces": "error",
|
||||||
|
"no-redeclare": "off",
|
||||||
"no-trailing-spaces": "error",
|
"no-trailing-spaces": "error",
|
||||||
|
"no-unused-vars": "off",
|
||||||
"no-whitespace-before-property": "error",
|
"no-whitespace-before-property": "error",
|
||||||
"object-curly-newline": ["error", {consistent: true, multiline: true}],
|
"object-curly-newline": ["error", {consistent: true, multiline: true}],
|
||||||
|
"object-curly-spacing": ["error", "never"],
|
||||||
|
"operator-linebreak": ["error", "after"],
|
||||||
"quote-props": ["error", "consistent-as-needed"],
|
"quote-props": ["error", "consistent-as-needed"],
|
||||||
"semi": ["error", "always"],
|
"semi": ["error", "always"],
|
||||||
"semi-spacing": "error",
|
"semi-spacing": "error",
|
||||||
@ -40,11 +45,6 @@ module.exports = {
|
|||||||
"switch-colon-spacing": "error",
|
"switch-colon-spacing": "error",
|
||||||
"template-curly-spacing": ["error", "never"],
|
"template-curly-spacing": ["error", "never"],
|
||||||
"unicode-bom": "error",
|
"unicode-bom": "error",
|
||||||
"no-multi-spaces": "error",
|
|
||||||
"object-curly-spacing": ["error", "never"],
|
|
||||||
"operator-linebreak": ["error", "after"],
|
|
||||||
"no-unused-vars": "off",
|
|
||||||
"no-redeclare": "off",
|
|
||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
// this file
|
// this file
|
||||||
|
Loading…
Reference in New Issue
Block a user