Skip to content

Update dependencies and lint#2489

Merged
shadowspawn merged 1 commit into
tj:release/15.xfrom
shadowspawn:update-dependencies-and-lint
Feb 27, 2026
Merged

Update dependencies and lint#2489
shadowspawn merged 1 commit into
tj:release/15.xfrom
shadowspawn:update-dependencies-and-lint

Conversation

@shadowspawn

Copy link
Copy Markdown
Collaborator

Problem

  • stale dependencies
  • using deprecated tseslint.config, and eslint now has defineConfig()

Solution

Update dependencies. Fix new lint errors. Switch from tseslint.config to defineConfig()

Comment thread eslint.config.js
{
files: tsconfigJsFiles,
extends: [...tseslint.configs.recommended],
extends: [tseslint.configs.recommended],

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the features of the config helper is it handles whether the config is an object or an array of objects, and likewise for the extends, so removed the spread operator.

Comment thread package.json
"tsd": "^0.31.0",
"tsd": "^0.33.0",
"typescript": "^5.0.4",
"typescript-eslint": "^8.12.2"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For interest, typescript-eslint 8 supports eslint 8, 9, 10. Its version is not locked to the eslint version number.

@shadowspawn

Copy link
Copy Markdown
Collaborator Author

I could perhaps have done this on develop, but now focused on 15.x and made the changes on that branch.

@shadowspawn shadowspawn merged commit 0ea3bb3 into tj:release/15.x Feb 27, 2026
9 checks passed
@shadowspawn shadowspawn deleted the update-dependencies-and-lint branch February 27, 2026 05:54
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