Modernize toolchain: RN 0.87, React 19, ESLint 9 flat, bob 0.43 - #42
Merged
Conversation
- Dev env: react-native 0.87 / react 19.2 / @react-native/jest-preset, TypeScript 5.9 with bundler moduleResolution - ESLint 9 flat config (typescript-eslint, react, react-hooks, prettier); legacy .eslintrc and plugin set removed - react-native-builder-bob 0.43: ESM-enabled commonjs+module targets, dual d.ts output, spec-correct exports map (import/require .types) - @testing-library/react-native v14 (universal test renderer): tests migrated to async render/renderHook, jest pinned to 29 for RN preset - peerDependencies widened: react >=18, react-native >=0.74 (new arch) - CI on Node 22 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Rust-based linting/formatting: oxlint (typescript/react/jest/import plugins, correctness=error) and oxfmt. Removes the eslint 9 flat config, prettier, and the chalk/ora terminal wrapper scripts; lint-staged and CI updated (format:ci replaces prettier:ci). Also: restore top-level types field (node10-resolution consumers ignore the exports map and would otherwise get no types) and revert the CI node-version pin back to lts/*. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Toolchain overhaul so the top-30 library fleet can rebuild on this starter. RN 0.87/React 19 dev env, ESLint 9 flat config, bob 0.43 with ESM + dual d.ts exports, RNTL v14 async tests, peers widened to react>=18 / react-native>=0.74. Verified: build + typecheck + lint + 24/24 tests green.
🤖 Generated with Claude Code