From 63971776a5db6ad0d3a68361f64a74aa9e78aff5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 3 Jan 2021 15:30:38 -0500 Subject: CSS lint (#1201) * Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules --- test/data/html/test-stylesheet.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/data') diff --git a/test/data/html/test-stylesheet.css b/test/data/html/test-stylesheet.css index b4d2e255..0d7a0f2e 100644 --- a/test/data/html/test-stylesheet.css +++ b/test/data/html/test-stylesheet.css @@ -1,5 +1,5 @@ body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; max-width: 680px; padding: 0 1em; @@ -39,9 +39,9 @@ y-test { border-radius: 4px; } -.test:before, -y-test:before { - content: "Test " counter(test-id); +.test::before, +y-test::before { + content: 'Test ' counter(test-id); display: block; counter-increment: test-id; margin-bottom: 0.5em; -- cgit v1.2.3