Skip to content

Commit

Permalink
chore: update typescript-eslint/parser -> typescript-eslint; add type…
Browse files Browse the repository at this point in the history
…script-eslint/types dep.
  • Loading branch information
brettz9 committed Jun 28, 2024
1 parent 49400e1 commit 06b905c
Show file tree
Hide file tree
Showing 25 changed files with 219 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .README/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ you are using with ESLint (e.g., `espree` is the default parser for ESLint,
and this follows [EStree AST](https://github.com/estree/estree) but
to support the the latest experimental features of JavaScript, one may use
`@babel/eslint-parser` or to be able to have one's rules (including JSDoc rules)
apply to TypeScript, one may use `@typescript-eslint/parser`, etc.
apply to TypeScript, one may use `typescript-eslint`, etc.

So you can look up a particular parser to see its rules, e.g., browse through
the [ESTree docs](https://github.com/estree/estree) as used by Espree or see
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ you are using with ESLint (e.g., `espree` is the default parser for ESLint,
and this follows [EStree AST](https://github.com/estree/estree) but
to support the the latest experimental features of JavaScript, one may use
`@babel/eslint-parser` or to be able to have one's rules (including JSDoc rules)
apply to TypeScript, one may use `@typescript-eslint/parser`, etc.
apply to TypeScript, one may use `typescript-eslint`, etc.

So you can look up a particular parser to see its rules, e.g., browse through
the [ESTree docs](https://github.com/estree/estree) as used by Espree or see
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/check-param-names.md
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ function quux (foo) {
/**
* @param barr This is the description of bar. Oops, we misspelled "bar" as "barr".
*/
declare function foo(bar: number) {}
declare function foo(bar: number)
// Message: Expected @param names to be "bar". Got "barr".

/**
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@types/node": "^20.12.12",
"@types/semver": "^7.5.8",
"@types/spdx-expression-parse": "^3.0.5",
"@typescript-eslint/parser": "^7.11.0",
"@typescript-eslint/types": "^7.14.1",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-transform-import-meta": "^2.2.1",
Expand All @@ -67,7 +67,8 @@
"replace": "^1.2.2",
"rimraf": "^5.0.7",
"semantic-release": "^23.1.1",
"typescript": "5.3.x"
"typescript": "5.3.x",
"typescript-eslint": "^8.0.0-alpha.34"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 06b905c

Please sign in to comment.