From: Holger Jeromin Date: Wed, 5 Feb 2025 17:06:40 +0000 (+0100) Subject: change eslint rule no-alert to error X-Git-Tag: live~170^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/eee793f5e6e534442793c88f06caca2ccb5c12d1 change eslint rule no-alert to error --- diff --git a/config/eslint.js b/config/eslint.js index cb421a992..f70cbc6c0 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -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",