diff --git a/index.js b/index.js index c26d32d..743384f 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,15 @@ module.exports = { "no-use-before-define": "off", // uses "@typescript-eslint/no-use-before-define" instead "max-params": ["error", 4], yoda: ["error", "never"], - "@typescript-eslint/ban-ts-comment": "off", + "@typescript-eslint/ban-ts-comment": [ + "error", + { + "ts-check": true, + "ts-expect-error": false, + "ts-ignore": true, + "ts-nocheck": true, + }, + ], "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-unused-vars": ["warn", { ignoreRestSiblings: true }], },