Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Jun 26, 2024
1 parent ee9d00b commit 971bf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const zeroSourceLocation: Readonly<TSESTree.SourceLocation> = {

const expectTypeToken = "$ExpectType";

// Based on scanner.ts
// Based on TypeScript's scanner.ts
const expectErrorSingleLine = /^\/\/\/?\s*@ts-expect-error\s+(.*)/
const expectErrorMultiLine = /^(?:\/|\*)*\s*@ts-expect-error\s+(.*)/;

Expand Down

0 comments on commit 971bf8b

Please sign in to comment.