Skip to content

Commit

Permalink
re-instate react/recommended (accidentally removed at some point)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlustro committed Apr 6, 2022
1 parent 7b0a98c commit b560972
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module.exports = {
extends: [
'airbnb-base',
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:compat/recommended',
'plugin:import/errors',
'plugin:import/warnings',
Expand Down Expand Up @@ -244,7 +246,11 @@ module.exports = {
},
],
'react/jsx-uses-vars': 'error',
'react/prop-types': 'off',
'react/jsx-boolean-value': ['error', 'never'],
'react/jsx-uses-react': 'off',
'react/react-in-jsx-scope': 'off',
'react/no-unescaped-entities': 'off',
'react/prop-types': 'off', // covered by TypeScript
'react/sort-comp': [
'error',
{
Expand Down

0 comments on commit b560972

Please sign in to comment.