Sass helpers: Change all warnings to errors #1456
Labels
Focus: utility
Helpers etc.
Goal: Library Stabilization
A task needed to get the library closer to it's final state
Target: latest
Issues related to the latest version of the library (master)
Type: bug
An implemented item with undesired effects
Our Sass helper functions/mixins should alert the user if used incorrectly. Angular CLI seems to be suppressing
@warn
messages from our helpers so we need to switch them to@error
.IMO it's not the best workflow to stop compilation for style errors. But since a warning doesn't make it through to the consumer this is the only way to avoid very difficult to track down bugs.
Reproduction
z-index: z(foo);
)Which versions of this library, Angular, TypeScript, & browsers are affected?
@warn
in our Sass files to@error
The text was updated successfully, but these errors were encountered: