summaryrefslogtreecommitdiff
path: root/searx/static/themes/simple/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to 'searx/static/themes/simple/.eslintrc.json')
-rw-r--r--searx/static/themes/simple/.eslintrc.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/searx/static/themes/simple/.eslintrc.json b/searx/static/themes/simple/.eslintrc.json
index 069111bca..57d227f3d 100644
--- a/searx/static/themes/simple/.eslintrc.json
+++ b/searx/static/themes/simple/.eslintrc.json
@@ -9,5 +9,21 @@
"ecmaVersion": 12
},
"rules": {
+ "indent": ["error", 2],
+ "keyword-spacing": ["error", { "before": true, "after": true }],
+ "no-trailing-spaces": 2,
+ "space-before-function-paren": ["error", "always"],
+ "space-infix-ops": "error",
+ "comma-spacing": ["error", { "before": false, "after": true }],
+ "brace-style": ["error", "1tbs", { "allowSingleLine": true }],
+ "curly": ["error", "multi-line"],
+ "block-spacing": ["error", "always"],
+ "comma-spacing": ["error", { "before": false, "after": true }],
+ "dot-location": ["error", "property"],
+ "key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
+ "spaced-comment": ["error", "always", {
+ "line": { "markers": ["*package", "!", "/", ",", "="] },
+ "block": { "balanced": true, "markers": ["*package", "!", ",", ":", "::", "flow-include"], "exceptions": ["*"] }
+ }]
}
}