(html: string)
| 328 | } |
| 329 | |
| 330 | function maskNonScannableRanges(html: string): string { |
| 331 | let out = maskRange(html, /<!--[\s\S]*?-->/g); |
| 332 | out = maskRange(out, /<style\b[^>]*>[\s\S]*?<\/style\b[^>]*>/gi); |
| 333 | out = maskRange(out, /<script\b[^>]*>[\s\S]*?<\/script\b[^>]*>/gi); |
| 334 | return out; |
| 335 | } |
| 336 | |
| 337 | // fallow-ignore-next-line complexity |
| 338 | function lintMissingLocalAsset( |
no test coverage detected