From 915fb8c36e42ad7765c5b82cdcebc54beccb70fe Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Fri, 14 Aug 2026 08:37:07 +0200 Subject: [PATCH] ci(stylelint): cover css/ as well as src/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The glob was src/**/*.{vue,scss,css}, so css/header-override.css and css/launchpad.css had never been linted. Both globs (check and fix) widened together — a stylelint:fix narrower than its check reports done while leaving violations the check flags, which was a real finding on this app earlier. Coverage 83 -> 85 files, zero new findings: prettier had already normalised those stylesheets fleet-wide. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c10432b5..3beefc1a 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,8 @@ "lint:fix": "eslint src --fix", "lint:initial-state": "node ./scripts/lint-initial-state.js", "lint:translation-domain": "node ./scripts/lint-translation-domain.js", - "stylelint": "stylelint \"src/**/*.{vue,scss,css}\"", - "stylelint:fix": "stylelint \"src/**/*.{vue,scss,css}\" --fix", + "stylelint": "stylelint \"{src,css}/**/*.{vue,scss,css}\"", + "stylelint:fix": "stylelint \"{src,css}/**/*.{vue,scss,css}\" --fix", "test": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui",