]> git.openstreetmap.org Git - rails.git/blobdiff - config/eslint.js
change eslint rule no-alert to error
[rails.git] / config / eslint.js
index cb421a9920ce3874ab151c49e340c4ce189fdb1e..f70cbc6c057d9eaf8cdeca902d7a9a6d3a6172a7 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",