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:
1 parent
74eaa37e19
commit
ded7419d5c
71 files changed
+798
-753
No files matched your search
@@ -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(
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user