Skip to content

Commit 06b905c

Browse files
committed
chore: update typescript-eslint/parser -> typescript-eslint; add typescript-eslint/types dep.
1 parent 49400e1 commit 06b905c

25 files changed

+219
-59
lines changed

.README/advanced.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ you are using with ESLint (e.g., `espree` is the default parser for ESLint,
5656
and this follows [EStree AST](https://github.com/estree/estree) but
5757
to support the the latest experimental features of JavaScript, one may use
5858
`@babel/eslint-parser` or to be able to have one's rules (including JSDoc rules)
59-
apply to TypeScript, one may use `@typescript-eslint/parser`, etc.
59+
apply to TypeScript, one may use `typescript-eslint`, etc.
6060

6161
So you can look up a particular parser to see its rules, e.g., browse through
6262
the [ESTree docs](https://github.com/estree/estree) as used by Espree or see

docs/advanced.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ you are using with ESLint (e.g., `espree` is the default parser for ESLint,
6868
and this follows [EStree AST](https://github.com/estree/estree) but
6969
to support the the latest experimental features of JavaScript, one may use
7070
`@babel/eslint-parser` or to be able to have one's rules (including JSDoc rules)
71-
apply to TypeScript, one may use `@typescript-eslint/parser`, etc.
71+
apply to TypeScript, one may use `typescript-eslint`, etc.
7272

7373
So you can look up a particular parser to see its rules, e.g., browse through
7474
the [ESTree docs](https://github.com/estree/estree) as used by Espree or see

docs/rules/check-param-names.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ function quux (foo) {
620620
/**
621621
* @param barr This is the description of bar. Oops, we misspelled "bar" as "barr".
622622
*/
623-
declare function foo(bar: number) {}
623+
declare function foo(bar: number)
624624
// Message: Expected @param names to be "bar". Got "barr".
625625

626626
/**

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@types/node": "^20.12.12",
4343
"@types/semver": "^7.5.8",
4444
"@types/spdx-expression-parse": "^3.0.5",
45-
"@typescript-eslint/parser": "^7.11.0",
45+
"@typescript-eslint/types": "^7.14.1",
4646
"babel-plugin-add-module-exports": "^1.0.4",
4747
"babel-plugin-istanbul": "^6.1.1",
4848
"babel-plugin-transform-import-meta": "^2.2.1",
@@ -67,7 +67,8 @@
6767
"replace": "^1.2.2",
6868
"rimraf": "^5.0.7",
6969
"semantic-release": "^23.1.1",
70-
"typescript": "5.3.x"
70+
"typescript": "5.3.x",
71+
"typescript-eslint": "^8.0.0-alpha.34"
7172
},
7273
"engines": {
7374
"node": ">=18"

0 commit comments

Comments
 (0)