feat: update eslint to v9.37.0 for adding new rules (no-unassigned-va…#250
Merged
Conversation
…rs, preserve-caught-error)
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates ESLint from v9.4.0 to v9.37.0 and adds two new rules: no-unassigned-vars and preserve-caught-error. The update also includes related test fixtures and configuration changes to support the new version.
- Updated ESLint version to 9.37.0 and added two new linting rules
- Added comprehensive test coverage for the new ESLint rules
- Updated Node.js version from 20 to 22 in CI workflows
Reviewed Changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/eslint-config/package.json | Bumped version to 8.0.0 and updated ESLint peer dependency |
| packages/eslint-config/index.mjs | Added configuration for new ESLint rules |
| packages/eslint-config/test/fixtures/eslint/9.37.0_*.js | Added test fixtures demonstrating correct and incorrect usage of new rules |
| packages/eslint-config/test/eslint9.test.mjs | Added tests for ESLint 9.37.0 features |
| packages/eslint-config/test/helper.mjs | Added warnIgnored configuration option |
| package.json | Updated ESLint and @types/eslint dependencies |
| .github/workflows/*.yml | Updated Node.js version from 20 to 22 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.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.
Update version of ESLint to v9.37.0.
The following rules will be added in this version.
ESLint release