Skip to content

chore(deps): update eslint to 8.57.1 and remove unused packages#5292

Open
vyagh wants to merge 1 commit intosugarlabs:masterfrom
vyagh:chore/update-eslint
Open

chore(deps): update eslint to 8.57.1 and remove unused packages#5292
vyagh wants to merge 1 commit intosugarlabs:masterfrom
vyagh:chore/update-eslint

Conversation

@vyagh
Copy link
Contributor

@vyagh vyagh commented Jan 23, 2026

Fixes #5291
Part of #4668

This is PR 4/5 (ESLint ecosystem)

Summary

Update ESLint to 8.57.1 and remove 5 unused config/plugin packages

Changes

Package Before After
eslint 7.6.0 8.57.1
eslint-config-prettier 6.15.0 Removed
eslint-config-standard 14.1.1 Removed
eslint-plugin-import 2.22.0 Removed
eslint-plugin-promise 4.2.1 Removed
eslint-plugin-standard 4.0.1 Removed

Note on removed packages

The .eslintrc.json only uses:

  • extends: ["eslint:recommended"]
  • No plugins section

THey were never referenced in the config.

Testing

  • npm run lint: Pass
  • npm test: 2532 tests pass
  • Browser test: App works

- eslint: 7.6.0 → 8.57.1
- Remove eslint-config-prettier (not used in .eslintrc.json)
- Remove eslint-config-standard (not used in .eslintrc.json)
- Remove eslint-plugin-import (not used in .eslintrc.json)
- Remove eslint-plugin-promise (not used in .eslintrc.json)
- Remove eslint-plugin-standard (deprecated, not used)

The .eslintrc.json only extends 'eslint:recommended' with no plugins.

Part of sugarlabs#4668
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@vyagh
Copy link
Contributor Author

vyagh commented Jan 23, 2026

Note on ESLint 9

ESLint 9 requires flat config format. Staying on 8.x to avoid config rewrite.
Can discuss ESLint 9 migration separately if wanted.

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.

Update ESLint and remove unused packages

1 participant