chore(deps): upgrade ESLint to v8 and modernize development dependencies #111
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
This PR upgrades ESLint from v6 to v8 and updates related development dependencies to their latest stable versions, addressing Issue #91.
📋 Changes
Dependencies Updated
v6.5.1→v8.57.1v2.18.2→v2.29.0v10.0.3→ removed (deprecated)v7.28.5(new, modern replacement)Configuration Changes
.eslintrc.js:babel-eslintto@babel/eslint-parserecmaVersionfrom2016to2018.github/workflows/test.yml:[16.x, 18.x]to[18.x, 20.x]Bug Fixes
test:unitscript: addedrunflag to prevent vitest from hanging in watch modepostbuildscript: replacedcpwithcopyfilesfor cross-platform compatibilitypackage-lock.jsonwith complete ESLint v8 dependency tree✅ Testing
All tests pass locally and in CI:
Pre-commit Hooks
🔗 Related Issues
Fixes #91
📝 Breaking Changes
None. This is a development dependency update that doesn't affect the package's public API or runtime behavior.
🎉 Migration Notes
For contributors:
npm installto update dependenciesNote: The deprecated
babel-eslintpackage has been replaced with the official@babel/eslint-parseras recommended in the Babel ESLint migration guide.