Closed ai closed 7 years ago
I think the current example with color-no-invalid-hex
is pretty good. Your declaration-block-no-shorthand-property-overrides
example is also good. Others to consider that are not about code style, since it seems that's what your interested in, are property-no-unknown
, selector-class-pattern
, and selector-no-id
.
Closing this one
Current Stylelint example is very small and is not so powerful. On my talk about Stylelint most of listeners remembered their pain in this example:
Second line overrides first one. I think everyone did this mistake and then spend a lot of times in debug.
Or maybe there is better example to show how Stylelint is powerful for everyone problems? @davidtheclark