Skip to content

Commit

Permalink
build: add react version in eslint setting
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlx committed Nov 16, 2021
1 parent 89521a8 commit 7c13804
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ module.exports = {
"import",
],
settings: {
react: {
version: "detect",
},
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"],
},
Expand Down

0 comments on commit 7c13804

Please sign in to comment.