Skip to content

Commit 086fbd4

Browse files
committed
Update plugins, delete old rules and configure new rules
1 parent cbaf445 commit 086fbd4

File tree

4 files changed

+393
-362
lines changed

4 files changed

+393
-362
lines changed

configs/ava.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,16 @@ module.exports = {
1414
'ava/no-import-test-files': 'error',
1515
'ava/no-incorrect-deep-equal': 'error',
1616
'ava/no-inline-assertions': 'error',
17-
'ava/no-invalid-end': 'error',
1817
'ava/no-nested-tests': 'error',
1918
'ava/no-only-test': 'error',
2019
'ava/no-skip-assert': 'error',
2120
'ava/no-skip-test': 'error',
22-
'ava/no-statement-after-end': 'error',
2321
'ava/no-todo-implementation': 'error',
2422
'ava/no-todo-test': 'warn',
2523
'ava/no-unknown-modifiers': 'error',
2624
'ava/prefer-async-await': 'error',
2725
'ava/prefer-power-assert': 'off',
2826
'ava/prefer-t-regex': 'error',
29-
'ava/test-ended': 'error',
3027
'ava/test-title': 'error',
3128
'ava/test-title-format': 'off',
3229
'ava/use-t-well': 'error',

configs/react.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ module.exports = {
9999
'react/jsx-no-constructed-context-values': 'error',
100100
'react/no-unstable-nested-components': 'error',
101101
'react/prefer-exact-props': 'off',
102+
'react/no-namespace': 'error',
102103

103104
'react-hooks/rules-of-hooks': 'error',
104105
'react-hooks/exhaustive-deps': 'error'

0 commit comments

Comments
 (0)