updated eslint

This commit is contained in:
Miodec 2023-06-16 11:06:00 +02:00
parent 9fd2bc87f5
commit 2830b32f54
3 changed files with 519 additions and 334 deletions

View file

@ -22,6 +22,8 @@
"plugin:require-path-exists/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
// "plugin:@typescript-eslint/strict"
],
"plugins": ["json", "require-path-exists", "@typescript-eslint"],
"rules": {
@ -68,6 +70,12 @@
// enable the rule specifically for TypeScript files
"files": ["*.ts", "*.tsx"],
"rules": {
// "@typescript-eslint/strict-boolean-expressions": [
// "error",
// {
// "allowString": false
// }
// ],
"@typescript-eslint/explicit-function-return-type": ["error"],
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "error",

839
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -36,10 +36,10 @@
"npm": "8.1.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.20.0",
"@typescript-eslint/parser": "5.20.0",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"concurrently": "7.2.1",
"eslint": "8.8.0",
"eslint": "8.42.0",
"eslint-plugin-json": "2.1.2",
"eslint-plugin-require-path-exists": "1.1.9",
"husky": "8.0.1",