X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b44399fb7c1747a811ea613e7782f77849a6d2e1..d095dfe3d4c1ec90cebdfb3307564022cbeaf878:/config/eslint.js?ds=sidebyside diff --git a/config/eslint.js b/config/eslint.js index 895ab380c..6055634aa 100644 --- a/config/eslint.js +++ b/config/eslint.js @@ -141,9 +141,11 @@ module.exports = [ "no-useless-call": "error", "no-useless-concat": "error", "no-useless-return": "error", + "no-var": "error", "no-void": "error", "no-warning-comments": "warn", "operator-assignment": "error", + "prefer-const": "error", "prefer-object-spread": "error", "radix": ["error", "always"], "yoda": "error"