Skip to content

chore(lint): upgrade ESLint toolchain to v10 and migrate flat config - #73

Merged
c-vigo merged 2 commits into
devfrom
chore/72-eslint-10-upgrade
Mar 2, 2026
Merged

c-vigo merged 2 commits into
devfrom
chore/72-eslint-10-upgrade

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Description

Upgrade the lint toolchain as a coordinated change to resolve peer dependency conflicts and unblock CI for ESLint-related dependency updates.

This PR upgrades eslint to v10, aligns @typescript-eslint packages to v8, migrates to flat config with eslint.config.mjs, and closes the gap that broke superseded Dependabot PRs #63 and #67.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • package.json
    • Upgraded eslint to ^10.0.2
    • Upgraded @typescript-eslint/eslint-plugin to ^8.56.1
    • Upgraded @typescript-eslint/parser to ^8.56.1
    • Added @eslint/js, typescript-eslint, and globals for flat-config support
  • package-lock.json
    • Regenerated lockfile for upgraded lint dependency tree
  • .eslintrc.json (deleted)
    • Removed legacy ESLint config
  • eslint.config.mjs (added)
    • Added ESLint v10 flat config equivalent to previous lint behavior
    • Kept project rule intent (no-explicit-any: warn, explicit-function-return-type: off)
    • Disabled @typescript-eslint/no-require-imports to preserve existing test setup usage
  • CHANGELOG.md

Changelog Entry

Changed

  • ESLint toolchain upgrade (#72)
    • Upgrade eslint to v10 and @typescript-eslint/* packages to v8
    • Migrate from legacy .eslintrc.json to flat config via eslint.config.mjs

Testing

  • Tests pass locally (npm test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Refs: #72

c-vigo added 2 commits March 2, 2026 21:00
Align eslint and typescript-eslint major versions to resolve CI install failures and migrate to ESLint v10 flat config while preserving existing lint behavior.

Refs: #72
@c-vigo
c-vigo merged commit 255ca56 into dev Mar 2, 2026
14 checks passed
@c-vigo
c-vigo deleted the chore/72-eslint-10-upgrade branch March 2, 2026 21:06
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