fix(lint): use errors instead of warnings, refactor log impl (#1170)
This commit is contained in:
1 parent
1a18410a1f
commit
fd457b15f7
6 files changed
+44
-31
No files matched your search
@@ -29,7 +29,7 @@ export const lint = (
|
||||
color.dim(`(${warning.rule})`),
|
||||
) ?? "unspecified stylelint error";
|
||||
|
||||
log(message, {
|
||||
log.log(message, {
|
||||
file: relative(REPO_ROOT, entry.path),
|
||||
startLine: warning.line,
|
||||
endLine: warning.endLine,
|
||||
|
||||
Reference in new issue
Block a user