Skip to content

Commit

Permalink
Update plugins, delete old rules and configure new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Sep 22, 2021
1 parent cbaf445 commit 086fbd4
Show file tree
Hide file tree
Showing 4 changed files with 393 additions and 362 deletions.
3 changes: 0 additions & 3 deletions configs/ava.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ module.exports = {
'ava/no-import-test-files': 'error',
'ava/no-incorrect-deep-equal': 'error',
'ava/no-inline-assertions': 'error',
'ava/no-invalid-end': 'error',
'ava/no-nested-tests': 'error',
'ava/no-only-test': 'error',
'ava/no-skip-assert': 'error',
'ava/no-skip-test': 'error',
'ava/no-statement-after-end': 'error',
'ava/no-todo-implementation': 'error',
'ava/no-todo-test': 'warn',
'ava/no-unknown-modifiers': 'error',
'ava/prefer-async-await': 'error',
'ava/prefer-power-assert': 'off',
'ava/prefer-t-regex': 'error',
'ava/test-ended': 'error',
'ava/test-title': 'error',
'ava/test-title-format': 'off',
'ava/use-t-well': 'error',
Expand Down
1 change: 1 addition & 0 deletions configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ module.exports = {
'react/jsx-no-constructed-context-values': 'error',
'react/no-unstable-nested-components': 'error',
'react/prefer-exact-props': 'off',
'react/no-namespace': 'error',

'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'error'
Expand Down
Loading

0 comments on commit 086fbd4

Please sign in to comment.