Skip to content

Commit

Permalink
lint: adds missing react version setting to eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
edusig committed Mar 26, 2023
1 parent d56cce8 commit 5c0ee9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ module.exports = {
sourceType: 'module',
ecmaVersion: 'latest',
},
settings: {
react: {
version: 'detect',
},
},
rules: {
'prettier/prettier': 'error',
'react/react-in-jsx-scope': 'off',
Expand Down

0 comments on commit 5c0ee9d

Please sign in to comment.