Skip to content

Commit

Permalink
eslint-plugin-react: Detect React version
Browse files Browse the repository at this point in the history
Previously when missing, it defaulted to "latest" and showed a warning.
  • Loading branch information
victorlin committed May 4, 2023
1 parent 9d5db44 commit 902895a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ env:
browser: true
node: true
jest: true

settings:
react:
version: detect

0 comments on commit 902895a

Please sign in to comment.