refactor(tree-wide): consistent metadata (#557)

* ci(lint): quick fix

* refactor(tree-wide): consistent metadata

* refactor: more

* refactor: accent-color

* fix: accentColor issues

* fix: logger line numbers

* fix: svg colors

* fix(google): add accent-color line

---------

Co-authored-by: Isabel <[email protected]>
This commit is contained in:
uncenterandIsabel authored and GitHub committed 2024-02-25 16:50:10 +00:00
1 parent 74eaa37e19
commit ded7419d5c
71 files changed
+798 -753

No files matched your search

+3 -5
View File
@@ -35,12 +35,10 @@ const prettyPrint = (
[
color.underline(
sprintf(
"%s%s%d%s%d",
"%s%s%s",
file,
startLine ? ":" : "",
startLine ?? "",
startColumn ? ":" : "",
startColumn ?? "",
startLine ? ":" + startLine : "",
startColumn ? ":" + startColumn : "",
),
),
sprintf(
+1 -1
View File
@@ -86,7 +86,7 @@ export const verifyMetadata = async (
},
"warning",
);
} else if (expected.trim() !== lines[current].trim()) {
} else if (expected.trim() !== lines[current - 1].trim()) {
const message = sprintf(
"Options for metadata variable `%s` should be `%s`",
color.bold(variable),