diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index b591bdc..fc71e34 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,17 +1,16 @@ module.exports = { + parser: "@typescript-eslint/parser", + extends: "eslint:recommended", env: { browser: true, commonjs: true, es2021: true, }, - extends: "eslint:recommended", - parserOptions: { - ecmaVersion: "latest", - }, rules: { "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, }, } |