X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/62dff6ab7ff94c38b19208dd1423ad0be5cb9dcf..eb7678145a87c1b9e3cd7ff2d3b5dc08132e4b51:/config/eslint.json diff --git a/config/eslint.json b/config/eslint.json index 28ec4d373..5b058e354 100644 --- a/config/eslint.json +++ b/config/eslint.json @@ -17,14 +17,45 @@ "updateLinks": "readonly" }, "rules": { + "dot-notation": "error", "eqeqeq": ["error", "smart"], + "keyword-spacing": "error", "no-caller": "error", + "no-div-regex": "error", "no-extend-native": "error", + "no-extra-bind": "error", + "no-floating-decimal": "error", + "no-implied-eval": "error", + "no-iterator": "error", + "no-labels": "error", + "no-label-var": "error", + "no-lone-blocks": "error", + "no-loop-func": "error", + "no-multi-str": "error", "no-new": "error", + "no-new-func": "error", + "no-new-wrappers": "error", + "no-octal-escape": "error", + "no-process-env": "error", + "no-proto": "error", + "no-script-url": "error", + "no-self-compare": "error", + "no-sequences": "error", + "no-shadow-restricted-names": "error", + "no-throw-literal": "error", "no-trailing-spaces": "error", - "no-undef": "error", + "no-unneeded-ternary": "error", + "no-unused-expressions": "off", "no-unused-vars": "error", "no-use-before-define": ["error", {"functions": false}], - "semi": ["error", "always"] + "no-void": "error", + "no-warning-comments": "warn", + "no-with": "error", + "quotes": ["error", "double"], + "radix": ["error", "always"], + "semi": ["error", "always"], + "semi-spacing": "error", + "space-unary-ops": "error", + "wrap-regex": "off" } }