]> git.openstreetmap.org Git - rails.git/blobdiff - config/eslint.js
Merge remote-tracking branch 'upstream/pull/5634'
[rails.git] / config / eslint.js
index cb421a9920ce3874ab151c49e340c4ce189fdb1e..90040f7bfae41cdaf6e7deb55f79d4bc29d86e4f 100644 (file)
@@ -86,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",
@@ -97,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",