diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index fc71e34..9e9990a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,6 +1,12 @@ module.exports = { parser: "@typescript-eslint/parser", - extends: "eslint:recommended", + extends: [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + ], + plugins: [ + "@typescript-eslint" + ], env: { browser: true, commonjs: true, @@ -10,7 +16,9 @@ module.exports = { "no-constant-binary-expression": "error", indent: [ "warn", "tab", { SwitchCase: 1 } ], semi: [ "error", "never" ], - "no-unused-vars": [ "error", { "vars": "all", "args": "all", "argsIgnorePattern": "^_" } ], "prefer-const": 0, + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": [ "error", { "vars": "all", "args": "all", "argsIgnorePattern": "^_" } ], + "@typescript-eslint/no-explicit-any": "off", }, } |