Skip to content

Commit 370d733

Browse files
authored
fix(typescript): Заменит для тип проверки для any (#88)
Для предотвращения использования типа `any` в проектах, тип проверки для правила `@typescript-eslint/no-explicit-any` заменен на `error`.
1 parent 609bb71 commit 370d733

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
8.0.0 / 2022-10-11
2+
==================
3+
4+
* Заменит тип проверки для правила `@typescript-eslint/no-explicit-any` с `warn` на `error`
5+
16
7.0.0 / 2022-09-26
27
==================
38

react-typescript.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
'@typescript-eslint/no-unused-vars': ['error'],
1616
'@typescript-eslint/member-delimiter-style': ['error'],
1717
'@typescript-eslint/no-useless-empty-export': 'warn',
18-
'@typescript-eslint/no-floating-promises': 'off'
18+
'@typescript-eslint/no-floating-promises': 'off',
19+
'@typescript-eslint/no-explicit-any': 'error'
1920
}
2021
}

0 commit comments

Comments
 (0)