(line: string)
| 863 | } |
| 864 | |
| 865 | function isSkippableDirectiveComment(line: string): boolean { |
| 866 | const trimmed = line.trim() |
| 867 | return trimmed.startsWith("// @ts-expect-error") || |
| 868 | trimmed.startsWith("// @ts-ignore") || |
| 869 | trimmed.startsWith("// @effect-diagnostics") || |
| 870 | trimmed.startsWith("// eslint-disable-next-line") || |
| 871 | trimmed.startsWith("// oxlint-disable-next-line") |
| 872 | } |
| 873 | |
| 874 | function skipDirectiveComments(source: string, end: number): number { |
| 875 | while (end > 0) { |
no outgoing calls
no test coverage detected