Skip to content

Commit

Permalink
fix(eslint-config-cozy-app): Settings for react
Browse files Browse the repository at this point in the history
Warning: React version specified in eslint-plugin-react-settings must
be a valid semver version, or "detect"; got “latest”
  • Loading branch information
JF-Cozy committed Jun 10, 2022
1 parent 4787524 commit 37dbedb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-cozy-app/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
parser: basics.parser,
parserOptions: { ecmaFeatures: { jsx: true } },
env: basics.env,
settings: { react: { version: 'latest' } },
settings: { react: { version: 'detect' } },
rules: Object.assign({}, basics.rules, {
'react/prop-types': 'off',
'react/jsx-curly-brace-presence': [
Expand Down

0 comments on commit 37dbedb

Please sign in to comment.