Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 08:41
· 1 commit to main since this release
874f7ac

BREAKING CHANGES

  • oxlint must be >=1.79.0. None of the new rule names exist before that version, so an older oxlint hard-errors on this preset's react/react-native/next/expo variants the same way current oxlint hard-errored on the old react/react-compiler name.

oxlint 1.79 split the nursery react/react-compiler rule into 24 category-specific rules and dropped the old name outright, so oxlint now hard-errors parsing a config that still sets it. magic-oxlint-config@3.0.0 replaces it with oxlint's own "recommended" set: error-boundaries, globals, immutability, incompatible-library, preserve-manual-memoization, purity, refs, set-state-in-effect, set-state-in-render, static-components, unsupported-syntax, use-memo, void-use-memo. Same coverage the old rule gave, under the names oxlint ships today.

Migration: bump magic-oxlint-config to ^3.0.0 and oxlint to >=1.79.0, then delete any local delete config.rules["react/react-compiler"] workaround.

  • fix(oxlint-config)!: replace the removed react/react-compiler rule (#43)