Skip to content

Comments

Upgrade ESLint to v9 with flat config format#322

Merged
olsh merged 1 commit intomasterfrom
upgrade-eslint-9
Dec 13, 2025
Merged

Upgrade ESLint to v9 with flat config format#322
olsh merged 1 commit intomasterfrom
upgrade-eslint-9

Conversation

@olsh
Copy link
Owner

@olsh olsh commented Dec 13, 2025

Summary

  • Upgrade ESLint from v8.57.0 to v9.17.0
  • Migrate configuration from legacy .eslintrc.json to new flat config format (eslint.config.js)
  • Add required packages: @eslint/js, @eslint/compat, and globals
  • Fix unused catch binding warnings using ES2019+ optional catch binding syntax

Test plan

  • Run npm install to install updated dependencies
  • Run npm run lint to verify linting works correctly
  • Verify the extension builds successfully with grunt sandbox

Migrate from ESLint 8 to ESLint 9, which requires converting the legacy
.eslintrc.json configuration to the new flat config format (eslint.config.js).

Changes:
- Update eslint to ^9.17.0
- Add @eslint/js, @eslint/compat, and globals packages
- Create eslint.config.js with flat config format
- Remove .eslintrc.json and .eslintignore (now handled in config)
- Update lint scripts to remove deprecated --ext flag
- Fix unused catch binding warnings using ES2019+ optional catch binding
@olsh olsh merged commit 2fe9900 into master Dec 13, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant