Skip to content

Commit

Permalink
Merge pull request #209 from axonivy/react-compiler
Browse files Browse the repository at this point in the history
Add react-compiler eslint plugin
  • Loading branch information
ivy-lli authored Dec 16, 2024
2 parents 91d8a7c + c24a823 commit 26c7570
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/base.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"jsx": true
}
},
"plugins": ["@typescript-eslint", "import"],
"plugins": ["@typescript-eslint", "import", "eslint-plugin-react-compiler"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
Expand Down Expand Up @@ -41,6 +41,7 @@
"@typescript-eslint/no-namespace": "off",
"react/display-name": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-object-type": "off"
"@typescript-eslint/no-empty-object-type": "off",
"react-compiler/react-compiler": "error"
}
}
184 changes: 184 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-compiler": "^19.0.0-beta-37ed2a7-20241206",
"eslint-plugin-react-hooks": "^5.1.0",
"lerna": "^8.1.9",
"rimraf": "^6.0.1",
Expand Down

0 comments on commit 26c7570

Please sign in to comment.