Skip to content

chore(deps): upgrade eslint to v9 and respect .gitignore#40

Merged
mridang merged 5 commits into
masterfrom
chore/eslint-include-gitignore
Jun 17, 2026
Merged

chore(deps): upgrade eslint to v9 and respect .gitignore#40
mridang merged 5 commits into
masterfrom
chore/eslint-include-gitignore

Conversation

@mridang

@mridang mridang commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Description

Adopts ESLint 9.39.4, @mridang/eslint-defaults 1.6.3, and knip 6.17.1. Adds includeIgnoreFile('.gitignore') so ESLint respects this repo's own .gitignore.

Related Issue

N/A

Motivation and Context

Standardises the lint stack across the repo fleet on ESLint 9. The transitive zod-validation-error re-resolves to 4.0.2 (no override, no pin), which fixes the eslint-plugin-react-hooks@7 parser crash that the ESLint 9 stack would otherwise hit.

How Has This Been Tested?

Verified locally under devbox (Node 22): lint, test, format:check, build all pass.

Documentation:

N/A

Checklist:

  • I have updated the documentation accordingly.
  • I have assigned the correct milestone or created one if non-existent.
  • I have correctly labeled this pull request.
  • I have linked the corresponding issue in this description.
  • I have requested a review from at least 2 reviewers
  • I have checked the base branch of this pull request
  • I have checked my code for any possible security vulnerabilities

mridang added 5 commits June 15, 2026 12:15
* chore: align tooling to canonical ESM stack

- migrate to ESM (type: module + .npmrc --experimental-vm-modules)
- canonical jest/release configs and tsconfig.jest.json
- rename knip.config.js to knip.config.ts
- ESM-compatibility rewrites in src and tests
- add test/setup.ts and test/teardown.ts stubs

* fix(knip): trace archetype-specific entries

- add entry for src/main.ts and src/load.patch.ts (rollup alias target)
- ignore @commitlint/config-conventional (loaded dynamically in tests)
- drop dead dep semantic-release-major-tag
The canonical config incorrectly added @semantic-release/npm publishing for an action repo.
Bump @mridang/eslint-defaults to ^1.6.3, eslint to ^9.39.4, knip to ^6.17.1.
Add includeIgnoreFile('.gitignore') to eslint.config.mjs.
Re-resolve zod-validation-error to ^4 to fix react-hooks v7 parser crash.
@mridang mridang merged commit 370bb1b into master Jun 17, 2026
5 checks passed
mridang added a commit that referenced this pull request Jun 17, 2026
* chore(deps): upgrade eslint to v9 and respect .gitignore (#40)

* chore: align tooling to canonical ESM stack (#36)

* chore: align tooling to canonical ESM stack

- migrate to ESM (type: module + .npmrc --experimental-vm-modules)
- canonical jest/release configs and tsconfig.jest.json
- rename knip.config.js to knip.config.ts
- ESM-compatibility rewrites in src and tests
- add test/setup.ts and test/teardown.ts stubs

* fix(knip): trace archetype-specific entries

- add entry for src/main.ts and src/load.patch.ts (rollup alias target)
- ignore @commitlint/config-conventional (loaded dynamically in tests)
- drop dead dep semantic-release-major-tag

* fix(release): restore archetype-specific release config

The canonical config incorrectly added @semantic-release/npm publishing for an action repo.

* fix(deps): restore semantic-release-major-tag for release plugin

* chore(deps): upgrade eslint to v9 and respect .gitignore

Bump @mridang/eslint-defaults to ^1.6.3, eslint to ^9.39.4, knip to ^6.17.1.
Add includeIgnoreFile('.gitignore') to eslint.config.mjs.
Re-resolve zod-validation-error to ^4 to fix react-hooks v7 parser crash.

* fix(release): restore semantic-release-major-tag devDep
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