Skip to content

Commit

Permalink
Added eslint-plugin-react (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsproston-scottlogic authored and chriswilty committed Apr 8, 2024
1 parent ae1d120 commit ff3ee71
Show file tree
Hide file tree
Showing 5 changed files with 369 additions and 442 deletions.
7 changes: 7 additions & 0 deletions frontend/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
settings: {
react: {
version: "detect",
},
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended",
],
Expand Down
Loading

0 comments on commit ff3ee71

Please sign in to comment.