Skip to content

Commit 172ef89

Browse files
authored
feat: update deps, support @typescript-eslint/parser >=8.48.0 (#1095)
1 parent ab50c71 commit 172ef89

4 files changed

Lines changed: 1404 additions & 1289 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"version": "5.6.1",
55
"private": true,
6-
"packageManager": "pnpm@10.22.0",
6+
"packageManager": "pnpm@10.27.0",
77
"license": "MIT",
88
"scripts": {
99
"build": "pnpm -r run build",

‎packages/eslint-plugin/rules/quotes/quotes.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ export default createRule<RuleOptions, MessageIds>({
271271
case AST_NODE_TYPES.ImportAttribute:
272272
return parent.value === node
273273

274+
case AST_NODE_TYPES.TSImportType:
274275
case AST_NODE_TYPES.TSAbstractMethodDefinition:
275276
case AST_NODE_TYPES.TSMethodSignature:
276277
case AST_NODE_TYPES.TSPropertySignature:
@@ -286,6 +287,8 @@ export default createRule<RuleOptions, MessageIds>({
286287
case AST_NODE_TYPES.AccessorProperty:
287288
return parent.key === node && !parent.computed
288289

290+
// TODO: remove when `typescript-eslint@8.48.0` is not supported
291+
// Related: https://github.com/typescript-eslint/typescript-eslint/pull/11591
289292
case AST_NODE_TYPES.TSLiteralType:
290293
return parent.parent?.type === AST_NODE_TYPES.TSImportType
291294

0 commit comments

Comments
 (0)