X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49b65a09dd83764ee7c0bb2ab5661775cceeefab..b35c04c5f039f284278ca12eb12e30704454eb45:/config/eslint.js diff --git a/config/eslint.js b/config/eslint.js index 8307b15d6..1bf65695b 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -6,6 +6,14 @@ const stylisticJs = require("@stylistic/eslint-plugin-js"); module.exports = [ js.configs.recommended, erb.configs.recommended, + { + ignores: [ + "app/assets/javascripts/i18n/", + "coverage/assets/", + "public/assets/", + "vendor/" + ] + }, { plugins: { "@stylistic": stylisticJs @@ -86,7 +94,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",