diff --git a/package.json b/package.json index 95992b48..21a8b961 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "format": "prettier --cache --write css/tailwind.source.css css/tokens.css \"docs/**/*.html\" tailwind.config.cjs README.md", "audit": "node scripts/daily-design-system-audit.mjs", "lint": "npm run lint:css && npm run lint:hex && npm run lint:inline-styles && npm run lint:tokens && npm run lint:tailwind-brackets && npm run lint:tailwind-colors", - "lint:css": "stylelint css/tailwind.source.css css/tokens.css css/docs.css", + "lint:css": "stylelint css/tailwind.source.css css/tokens.css", "lint:hex": "node scripts/check-hex.js", "lint:inline-styles": "node scripts/check-inline-styles.mjs", "lint:tokens": "node scripts/check-design-tokens.mjs --check=tokens", diff --git a/scripts/daily-design-system-audit.mjs b/scripts/daily-design-system-audit.mjs old mode 100644 new mode 100755 index 202e0ebf..dcf33fda --- a/scripts/daily-design-system-audit.mjs +++ b/scripts/daily-design-system-audit.mjs @@ -7,7 +7,7 @@ const REPORT_FILE = "REMEDIATION_REPORT.md"; const SHOULD_FIX = process.argv.includes("--fix"); const CHECKS = [ - { name: "CSS", command: "npm", args: ["run", "lint:css"] }, + { name: "CSS", command: "npx", args: ["stylelint", "css/tailwind.source.css", "css/tokens.css", "css/docs.css"] }, { name: "Hex Colors", command: "npm", args: ["run", "lint:hex"] }, { name: "Inline Styles", command: "npm", args: ["run", "lint:inline-styles"] }, { name: "Raw Lengths", command: "npm", args: ["run", "lint:tokens"] }, // check-design-tokens --check=tokens