Skip to content

chore: migrate ESLint from v8 to v10 with flat config#56

Merged
tompahoward merged 2 commits intomainfrom
claude/install-deps-run-tests-POccP
Mar 14, 2026
Merged

chore: migrate ESLint from v8 to v10 with flat config#56
tompahoward merged 2 commits intomainfrom
claude/install-deps-run-tests-POccP

Conversation

@tompahoward
Copy link
Contributor

Summary

  • Migrates from ESLint v8 legacy config (.eslintrc.json) to ESLint v10 flat config (eslint.config.mjs)
  • Removes .eslintrc.json, .eslintrc-json.json, and .eslintignore (replaced by flat config)
  • Upgrades all ESLint plugins: typescript-eslint v8, eslint-plugin-unicorn v63, eslint-plugin-jsdoc v62, eslint-plugin-jsonc v3, eslint-plugin-no-secrets v2, eslint-config-prettier v10
  • Removes eslint-plugin-import and its resolvers (import resolution handled by typescript-eslint)
  • Removes @typescript-eslint/eslint-plugin and @typescript-eslint/parser (replaced by unified typescript-eslint v8)
  • Empties dry-aged-deps exclusions — all dependencies are now current

Risk: 3/5

Major ESLint migration touching linting config, plugins, and npm scripts. All existing lint rules have been preserved. Source code changes are limited to minor jsdoc formatting auto-fixes.

Test plan

  • npm run build passes (compile + test + package)
  • npm run eslint passes (TS linting)
  • npm run eslint:json passes (JSON linting)
  • All 5 tests pass with 100% coverage
  • Zero outdated deps from dry-aged-deps
  • All git hooks pass (commit-msg, pre-commit, pre-push)
  • CI build passes

https://claude.ai/code/session_01HNvBcQzT1SviRqkUpP5Xce

claude added 2 commits March 14, 2026 21:19
Replaces .eslintrc.json, .eslintrc-json.json, and .eslintignore with
eslint.config.mjs flat config. Upgrades all ESLint plugins to latest
versions. Removes eslint-plugin-import and its resolvers (replaced by
typescript-eslint's built-in resolution). Empties dry-aged-deps
exclusions as all dependencies are now current.

https://claude.ai/code/session_01HNvBcQzT1SviRqkUpP5Xce
The commented-out badges reference an external code style checker
that conflicts with the project's Prettier configuration.

https://claude.ai/code/session_01HNvBcQzT1SviRqkUpP5Xce
@tompahoward tompahoward merged commit 6f52dc6 into main Mar 14, 2026
3 of 4 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.

2 participants