1
1
mirror of https://github.com/theoludwig/eslint-config-conventions.git synced 2024-11-08 19:11:31 +01:00

fix: relax require-await

This commit is contained in:
Divlo 2022-03-19 14:07:42 +01:00
parent 14145df9c7
commit 4271efe20b
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
3 changed files with 361 additions and 490 deletions

View File

@ -144,7 +144,6 @@
"prefer-regex-literals": ["error", { "disallowRedundantWrapping": true }], "prefer-regex-literals": ["error", { "disallowRedundantWrapping": true }],
"quote-props": ["error", "as-needed"], "quote-props": ["error", "as-needed"],
"radix": "error", "radix": "error",
"require-await": "error",
"yoda": ["error", "never"], "yoda": ["error", "never"],
"import/no-absolute-path": "error", "import/no-absolute-path": "error",
@ -231,8 +230,6 @@
], ],
"no-useless-constructor": "off", "no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error", "@typescript-eslint/no-useless-constructor": "error",
"require-await": "off",
"@typescript-eslint/require-await": "error",
"@typescript-eslint/adjacent-overload-signatures": "error", "@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/array-type": [ "@typescript-eslint/array-type": [

844
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -54,13 +54,13 @@
"@types/eslint": "8.4.1", "@types/eslint": "8.4.1",
"eslint-plugin-import": "2.25.4", "eslint-plugin-import": "2.25.4",
"eslint-plugin-promise": "6.0.0", "eslint-plugin-promise": "6.0.0",
"eslint-plugin-unicorn": "41.0.0", "eslint-plugin-unicorn": "41.0.1",
"typescript": "4.6.2", "typescript": "4.6.2",
"@typescript-eslint/parser": "5.15.0", "@typescript-eslint/parser": "5.15.0",
"@typescript-eslint/eslint-plugin": "5.15.0", "@typescript-eslint/eslint-plugin": "5.15.0",
"tape": "5.5.2", "tape": "5.5.2",
"husky": "7.0.4", "husky": "7.0.4",
"lint-staged": "12.3.6", "lint-staged": "12.3.7",
"markdownlint-cli": "0.31.1", "markdownlint-cli": "0.31.1",
"@types/tape": "4.13.2", "@types/tape": "4.13.2",
"pinst": "3.0.0", "pinst": "3.0.0",