Skip to content

Conversation

rubixvi
Copy link
Contributor

@rubixvi rubixvi commented Sep 30, 2025

  • Replaced manual indexing of recommendedTypeChecked[0-2] with direct spread of recommendedTypeChecked.
  • Ensured compatibility with the new flat config array shape introduced in @typescript-eslint v8.
  • Simplified config merging for TypeScript and React rules.

What?

This PR updates our ESLint configuration to align with the new recommendations from @typescript-eslint v8. It removes legacy array indexing and ensures future compatibility.

Why?

  • Reduces maintenance overhead by removing fragile [0], [1], [2] references.
  • Aligns with upstream changes in typescript-eslint.
  • Prevents errors related to internal subpath exports (use-at-your-own-risk).

How?

  • Updated ESLint config to spread tseslint.configs.recommendedTypeChecked directly.
  • Verified compatibility across TypeScript and React rule sets.

- Replace manual indexing of `recommendedTypeChecked[0-2]` with direct spread of `recommendedTypeChecked`
- Ensure compatibility with new flat config array shape introduced in @typescript-eslint v8
- Simplify config merging for TypeScript and React rules
@rubixvi rubixvi changed the title chore(eslint-config): update to typescript-eslint v8 recommendations chore(eslint): update to typescript-eslint v8 recommendations Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant