diff --git a/.eslintrc.json b/.eslintrc.json index d92d088..4dbd3fc 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,6 +1,8 @@ { - // "parser": "@typescript-eslint/parser", - "plugins": [], + "parser": "@typescript-eslint/parser", + "plugins": [ + "@typescript-eslint/eslint-plugin" + ], "env": { "es6": true, "node": true, @@ -8,7 +10,7 @@ }, "extends": [ "eslint:recommended", - // "plugin:@typescript-eslint/recommended" + "plugin:@typescript-eslint/recommended" ], "globals": { "Atomics": "readonly", @@ -18,18 +20,18 @@ "parserOptions": { "ecmaVersion": 2022, "sourceType": "module", - // "project": "./tsconfig.json" + "project": "./tsconfig.json" }, "rules": { - // "@typescript-eslint/no-unused-vars": "off", - // "@typescript-eslint/no-non-null-assertion": "off", - // "@typescript-eslint/no-misused-promises": ["error", { - // "checksVoidReturn": { - // "arguments": false - // } - // }], - // "@typescript-eslint/no-shadow": "error", - // "@typescript-eslint/no-use-before-define": "error", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-non-null-assertion": "off", + "@typescript-eslint/no-misused-promises": ["error", { + "checksVoidReturn": { + "arguments": false + } + }], + "@typescript-eslint/no-shadow": "error", + "@typescript-eslint/no-use-before-define": "error", "accessor-pairs": "warn", "array-callback-return": "warn", "array-bracket-newline": [ @@ -294,7 +296,6 @@ "prefer-regex-literals": "warn", "prefer-rest-params": "warn", "prefer-spread": "warn", - "require-jsdoc": "warn", "require-unicode-regexp": "warn", "rest-spread-spacing": "warn", "semi": "error",