X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bc18e85d5c9ded603937b0a2dc92d08973f81a80..97bd4579b0850eec450f77d09b11c1c4ad752faa:/config/eslint.js diff --git a/config/eslint.js b/config/eslint.js index b99179d27..90040f7bf 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -21,7 +21,6 @@ module.exports = [ L: "readonly", OSM: "writable", Matomo: "readonly", - Qs: "readonly", Turbo: "readonly", updateLinks: "readonly" } @@ -87,7 +86,7 @@ module.exports = [ "curly": ["error", "multi-line", "consistent"], "dot-notation": "error", "eqeqeq": ["error", "smart"], - "no-alert": "warn", + "no-alert": "error", "no-array-constructor": "error", "no-caller": "error", "no-console": "warn", @@ -98,7 +97,7 @@ module.exports = [ "no-extra-bind": "error", "no-extra-label": "error", "no-implicit-coercion": "warn", - "no-implicit-globals": "warn", + "no-implicit-globals": "error", "no-implied-eval": "error", "no-invalid-this": "error", "no-iterator": "error", @@ -112,11 +111,10 @@ module.exports = [ "no-nested-ternary": "error", "no-new": "error", "no-new-func": "error", - "no-new-object": "error", "no-new-wrappers": "error", + "no-object-constructor": "error", "no-octal-escape": "error", "no-param-reassign": "error", - "no-process-env": "error", "no-proto": "error", "no-script-url": "error", "no-self-compare": "error",