Commit 208f066e authored by Aarni Koskela's avatar Aarni Koskela

eslintrc: Sort eslint rules

parent 994f56c3
...@@ -25,9 +25,14 @@ module.exports = { ...@@ -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 = { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment