refactor(tree-wide): optimize and clean up svgs (#693)

This commit is contained in:
uncenter authored and GitHub committed 2024-03-22 23:01:02 -04:00
1 parent f9e3916bd0
commit 051354a2e9
23 files changed
+424 -182

No files matched your search

+4 -1
View File
@@ -11,6 +11,7 @@ import { log } from "@/lint/logger.ts";
import { verifyMetadata } from "@/lint/metadata.ts";
import { lint } from "@/lint/stylelint.ts";
import { getUserstylesData } from "@/utils.ts";
import stylelintConfig from "../../.stylelintrc.js";
const flags = parseFlags(Deno.args, { boolean: ["fix"] });
const subDir = flags._[0]?.toString() ?? "";
@@ -54,7 +55,9 @@ for await (const entry of stylesheets) {
);
// Lint with Stylelint.
await lint(entry, content, flags.fix).catch(() => failed = true);
await lint(entry, content, flags.fix, stylelintConfig).catch(() =>
failed = true
);
}
if (await checkForMissingFiles() === false) failed = true;