We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7c3dd commit 10aba33Copy full SHA for 10aba33
packages/vkui/.eslintrc.cjs
@@ -33,6 +33,8 @@ module.exports = {
33
Element: true,
34
},
35
rules: {
36
+ 'react-hooks/immutability': 'warn', // TODO [#6919] поменять на 'error'
37
+ 'react-hooks/refs': 'warn', // TODO [#6919] поменять на 'error'
38
'no-restricted-imports': [
39
'error',
40
{
@@ -189,6 +191,7 @@ module.exports = {
189
191
extends: ['plugin:@vitest/legacy-recommended'],
190
192
plugins: ['@vitest'],
193
194
+ 'react-hooks/globals': 'warn', // TODO [#6919] поменять на 'error' (при необходимости, точечно отключить в тестах)
195
'@vitest/valid-describe-callback': 'off',
196
'@vitest/expect-expect': 'off',
197
'@vitest/valid-title': 'off',
0 commit comments