Skip to content

Commit 4fb6d14

Browse files
committed
Изменены уровни предупреждений для правил ESLint: @typescript-eslint/explicit-function-return-type и @typescript-eslint/explicit-module-boundary-types теперь имеют уровень "warn". Добавлено правило @typescript-eslint/require-await с уровнем "warn".
1 parent 74c26bb commit 4fb6d14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.eslintrc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@
2424
{ "argsIgnorePattern": "^_" }
2525
],
2626
"@typescript-eslint/explicit-function-return-type": [
27-
"error",
27+
"warn",
2828
{ "allowExpressions": false }
2929
],
30-
"@typescript-eslint/explicit-module-boundary-types": ["error"],
30+
"@typescript-eslint/explicit-module-boundary-types": ["warn"],
31+
"@typescript-eslint/require-await": ["warn"],
3132
"@typescript-eslint/typedef": [
3233
"error",
3334
{

0 commit comments

Comments
 (0)