diff --git a/eslint.config.js b/eslint.config.js index a905f77..6cafe3a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -34,6 +34,10 @@ export default [ "no-implicit-coercion": "warn", "object-shorthand": "warn", "curly": "warn", + "no-restricted-syntax": ["warn", { + selector: "BlockStatement VariableDeclaration[kind='const']", + message: "NOPE", + }], "@stylistic/js/indent": ["warn", "tab"], "@stylistic/js/quotes": ["warn", "double"], "@stylistic/js/semi": "warn",