Skip to content

Add template-lint-disable pragma for template regions #4737

Add template-lint-disable pragma for template regions

Add template-lint-disable pragma for template regions #4737

Status Failure
Total duration 3m 28s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

3 errors
self-lint
Process completed with exit code 1.
self-lint: lib/processors/template-lint-disable.js#L27
Use a `for-of` loop instead of this `for` loop
self-lint: lib/processors/template-lint-disable.js#L12
/(?:{{!-*\s*template-lint-disable\s*([\s\S]*?)-*}}|<!--\s*template-lint-disable\s*([\s\S]*?)-->)/g can be optimized to /{{!-*\s*template-lint-disable\s*([\S\s]*?)-*}}|<!--\s*template-lint-disable\s*([\S\s]*?)-->/g