aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2023-05-19 12:42:01 +0300
committerAarni Koskela <akx@iki.fi>2023-05-19 12:46:41 +0300
commit208f066e0e83063dea749260cfd6c7582257139e (patch)
tree7716336464353a4cd36bc16ff3becfa43fd752e4 /.eslintrc.js
parent994f56c3f930a4f130f34ad7c8e2ec86db3db3e7 (diff)
eslintrc: Sort eslint rules
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 9e7ab34d..4d4a2424 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -25,9 +25,14 @@ module.exports = {
"linebreak-style": ["error", "unix"],
"no-extra-semi": "error",
"no-mixed-spaces-and-tabs": "error",
+ "no-multi-spaces": "error",
+ "no-redeclare": "off",
"no-trailing-spaces": "error",
+ "no-unused-vars": "off",
"no-whitespace-before-property": "error",
"object-curly-newline": ["error", {consistent: true, multiline: true}],
+ "object-curly-spacing": ["error", "never"],
+ "operator-linebreak": ["error", "after"],
"quote-props": ["error", "consistent-as-needed"],
"semi": ["error", "always"],
"semi-spacing": "error",
@@ -40,11 +45,6 @@ module.exports = {
"switch-colon-spacing": "error",
"template-curly-spacing": ["error", "never"],
"unicode-bom": "error",
- "no-multi-spaces": "error",
- "object-curly-spacing": ["error", "never"],
- "operator-linebreak": ["error", "after"],
- "no-unused-vars": "off",
- "no-redeclare": "off",
},
globals: {
// this file