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",
"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",