Repository navigation
⬆️ Migrate to ESLint 9 - #332
Merged
Merged
Conversation
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.
Upgrade workspace linting from ESLint 8 to 9.39.5 with a native flat configuration and maintained presets: ESLint recommended, Stylistic, import-x recommended, and Jest recommended.
Use the Stylistic preset's options for four-space indentation, single quotes, semicolons, and arrow parentheses. Keep six project overrides for multiline braces, object spacing, dependency checks, and existing Jest conventions. Jest rules apply to test files; examples retain their lighter recommended configuration. Centralize lint dependencies and remove the legacy configs and unused Babel lint dependencies.
Fix the preset mismatches by separating statements and removing obsolete suppression comments. Source syntax comparisons confirm the edits preserve runtime behavior.
A scoped Yarn resolution upgrades typescript-estree's minimatch dependency to 11.0.5 for CVE-2026-118764. The override is documented for future plugin updates.
Validation:
5aacace.yarn lintpassed with zero errors and warnings on the same 64 JavaScript files.yarn testpassed: 171 tests across 24 suites, with 40 snapshots.tsdchecks passed.git diff --checkpassed.