chore(design-lint): tidy the colour test imports; control-height page-only; lazy-lcp title

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
garrytanandcapy-ai[bot] committed 2026-10-26 05:52:11 +00:00
1 parent 95b19fdbca
commit 95eee7e4e1
3 files changed
+3 -5

No files matched your search

-2
View File
@@ -38,10 +38,8 @@ function lintPage(html: string, name = 'index.html'): { html: string; findings:
const byRule = (findings: Finding[], rule: string): Finding[] => findings.filter((f) => f.rule === rule);
const lines = (findings: Finding[]): string[] => findings.map(formatFinding);
import { buildContext } from '../lib/design-lint/static';
import { Reporter } from '../lib/design-lint/report';
import { run as runColor } from '../lib/design-lint/rules/color';
import type { TwItem } from '../lib/design-lint/tailwind';
describe('design-lint colour: purple-blue-gradient (2a, blocks)', () => {
test('a single-hue ramp and a repeating pattern are not findings', () => {