Skip to content

Commit

Permalink
Allow npm run lint to work
Browse files Browse the repository at this point in the history
Previously, I saw:
'Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react\#configuration'
  • Loading branch information
david-mears-2 committed Nov 19, 2024
1 parent 652d170 commit f22435a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@
"max-len": [2, 120, 4],
"eol-last": 2,
"@typescript-eslint/no-explicit-any": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}

0 comments on commit f22435a

Please sign in to comment.