This commit is contained in:
Erik 2024-10-07 15:18:55 +03:00
parent 8bdcf4c8fc
commit 5acd6a3a61

View File

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