X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2a848fa89527011373eb2eb4bca668aa63f1ece0..483f4c1341ee2b0eb438dc7704e4ba272d1e74fe:/config/eslint.js 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"