Skip to content

Commit

Permalink
Improve stylelint variable checking (#178002)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli authored Mar 22, 2023
1 parent 2ea2c80 commit 3f5600c
Show file tree
Hide file tree
Showing 4 changed files with 763 additions and 738 deletions.
8 changes: 6 additions & 2 deletions build/hygiene.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,13 @@ function hygiene(some, linting = true) {
)
);
streams.push(
result.pipe(filter(stylelintFilter)).pipe(gulpstylelint((error => {
console.error(error);
result.pipe(filter(stylelintFilter)).pipe(gulpstylelint(((message, isError) => {
if (isError) {
console.error(message);
errorCount++;
} else {
console.warn(message);
}
})))
);
}
Expand Down
Loading

0 comments on commit 3f5600c

Please sign in to comment.