Repository navigation
Releases: Insik-Han/biome-plugin-react-compiler
Releases · Insik-Han/biome-plugin-react-compiler
Release list
v0.1.2
Changes
- Remove false-positive-prone rules to reduce noise
- Removed
no-try-catch-in-render(flagged valid try/catch in event handlers) - Removed
no-ref-access-in-render(flagged valid ref.current in useEffect)
- Removed
- Add comparison tests with eslint-plugin-react-compiler
- Focus on 6 reliable prop mutation rules only
Breaking Changes
Reduced from 8 to 6 rules. Update your biome.json if you referenced the removed rules.
Remaining Rules
no-prop-mutationno-props-array-pushno-props-array-popno-props-array-spliceno-props-array-sortno-props-array-reverse
v0.1.1
Changes
- Simplify installation: reference rules directly from node_modules
- Remove file copying, CLI now just outputs config
- Document
"use no memo"directive limitation - Add CI/CD workflows for PR testing and npm release
Installation
npm install -D biome-plugin-react-compiler @biomejs/biomeAdd to biome.json:
{
"plugins": [
"./node_modules/biome-plugin-react-compiler/rules/no-try-catch-in-render.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-ref-access-in-render.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-prop-mutation.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-props-array-push.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-props-array-pop.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-props-array-splice.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-props-array-sort.grit",
"./node_modules/biome-plugin-react-compiler/rules/no-props-array-reverse.grit"
]
}