Skip to content

Commit

Permalink
chore(eslint): update configuration
Browse files Browse the repository at this point in the history
- remove rule `react/prop-type`
- reorder extending rule set
  • Loading branch information
SimonGolms committed Sep 1, 2022
1 parent 62b759a commit 1583902
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ module.exports = {
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:import/recommended',
'plugin:import/typescript',
Expand Down Expand Up @@ -104,7 +104,6 @@ module.exports = {
shorthandLast: false,
},
],
'react/prop-types': 'off', // do not overeager and inferred the type
'react-hooks/exhaustive-deps': 'error',
'react-hooks/rules-of-hooks': 'error',
'sort-imports': [
Expand Down

0 comments on commit 1583902

Please sign in to comment.