fix: rollback typescript-eslint to v6 to resolve linting and spec errors #641
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.
Description
Rolls back typescript-eslint packages from v8 to v6 with proper version compatibility to resolve linting and spec errors that appeared after the recent upgrade. The v8 upgrade introduced compatibility issues that caused CI failures in new PRs.
Changes:
@typescript-eslint/eslint-plugin:^8.0.0→6.6.0@typescript-eslint/parser:^8.0.0→6.6.0(matched with eslint-plugin for consistency)@stencil-community/eslint-plugin:^0.10.0→^0.8.0Why 0.8.0 for stencil plugin?
Version compatibility matrix:
0.5.0requires typescript-eslint^5.x(incompatible with v6)0.8.0requires typescript-eslint^5.x || ^6.x✅ (proper compatibility)0.10.0requires typescript-eslint^7.x || ^8.x(incompatible with v6)Using v0.8.0 provides:
Type of change
How Has This Been Tested?
Verified locally that linting and specs pass after rollback:
npm run lint.all- passes with no errors (only pre-existing warnings)@typescript-eslint/eslint-plugin: 6.6.0@typescript-eslint/parser: 6.6.0@stencil-community/eslint-plugin: 0.8.0Test Configuration:
Checklist: