We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cbd97a commit 98a738bCopy full SHA for 98a738b
src/is-parenthesized.mjs
@@ -22,7 +22,7 @@ function getParentSyntaxParen(node, sourceCode) {
22
case "NewExpression":
23
if (parent.arguments.length === 1 && parent.arguments[0] === node) {
24
return sourceCode.getTokenAfter(
25
- // @ts-ignore https://github.com/typescript-eslint/typescript-eslint/pull/5384
+ // @ts-expect-error https://github.com/typescript-eslint/typescript-eslint/pull/5384
26
parent.typeArguments ||
27
/** @type {RuleNode} */ (
28
/** @type {unknown} */ (
0 commit comments