Skip to content

Releases: Insik-Han/biome-plugin-react-compiler

Release list

v0.1.2

Choose a tag to compare

@Insik-Han Insik-Han released this 14 Jan 03:57

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)
  • 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-mutation
  • no-props-array-push
  • no-props-array-pop
  • no-props-array-splice
  • no-props-array-sort
  • no-props-array-reverse

v0.1.1

Choose a tag to compare

@Insik-Han Insik-Han released this 14 Jan 03:43

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/biome

Add 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"
  ]
}