mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 09:22:24 +00:00
chore: Add daily design system audit script
- Add `audit` script to `package.json`. - Add `scripts/daily-design-system-audit.mjs` implementation. - Update `scripts/daily-design-system-audit.mjs` to explicitly lint `css/docs.css`. - Revert changes to `lint:css` in `package.json` to prevent potential CI regressions. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
6f4a432fa0
commit
8fd9fb4a18
2 files changed
+2
-2
No files matched your search
Regular → Executable
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user