build: raise TypeScript linting toolchain floor (gh54 part IV)#10966
Draft
Planeshifter wants to merge 1 commit intophilipp/gh54-jsdoc-migrationfrom
Draft
build: raise TypeScript linting toolchain floor (gh54 part IV)#10966Planeshifter wants to merge 1 commit intophilipp/gh54-jsdoc-migrationfrom
Planeshifter wants to merge 1 commit intophilipp/gh54-jsdoc-migrationfrom
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
44ea759 to
b5e37c5
Compare
|
All alerts resolved. Learn more about Socket for GitHub. This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
7 tasks
b5e37c5 to
6b4b53e
Compare
e0e5a99 to
0201b91
Compare
6b4b53e to
b7de8e9
Compare
0201b91 to
b0f5533
Compare
b7de8e9 to
255a35c
Compare
b0f5533 to
28cbc14
Compare
255a35c to
28cbc14
Compare
Upgrade the TypeScript linting stack to support ESLint v9: - Upgrade TypeScript from 4.3.5 to 4.9.5 - Upgrade @typescript-eslint/parser and eslint-plugin from v6 to v8 - Replace removed rules with @stylistic/ts/* equivalents - Replace @typescript-eslint/ban-types with no-restricted-types Ref: stdlib-js/metr-issue-tracker#54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progresses stdlib-js/metr-issue-tracker#54.
Description
This pull request:
@typescript-eslint/parserand@typescript-eslint/eslint-pluginfrom v6 to v8.@stylistic/eslint-plugin-tsfor formatting rules removed from typescript-eslint in v8.etc/eslint/rules/typescript.js:@typescript-eslint/indent→@stylistic/ts/indent@typescript-eslint/member-delimiter-style→@stylistic/ts/member-delimiter-style@typescript-eslint/quotes→@stylistic/ts/quotes@typescript-eslint/semi→@stylistic/ts/semi@typescript-eslint/space-before-function-paren→@stylistic/ts/space-before-function-paren@typescript-eslint/type-annotation-spacing→@stylistic/ts/type-annotation-spacing@typescript-eslint/ban-types→@typescript-eslint/no-restricted-types(was already off)Related Issues
This pull request has the following related issues:
Questions
The TypeScript upgrade (4.3.5 → 4.9.5) is for the linting toolchain only, not stdlib's published runtime support policy. 4.9.5 is the minimum practical version that satisfies typescript-eslint v8's peer dependency (>=4.8.4).
Other
Stacked on #10965.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written primarily by Claude Code.
@stdlib-js/reviewers