mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-09 02:08:19 +01:00
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:
1 parent
95b19fdbca
commit
95eee7e4e1
3 files changed
+3
-5
No files matched your search
@@ -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', () => {
|
||||
|
||||
Reference in new issue
Block a user