Skip to content

Commit

Permalink
Merge pull request #101 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 1edbea9 + 8f3f86c commit 62c16af
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 @@ -40,6 +40,7 @@
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-namespace": "off",
"react/display-name": "off",
"@typescript-eslint/no-explicit-any": "off"
"@typescript-eslint/no-explicit-any": "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 @@ -33,6 +33,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 62c16af

Please sign in to comment.