Philipp Partosch 46a936d7de added all files to project | 2 years ago | |
---|---|---|
.. | ||
README.md | 2 years ago | |
index.js | 2 years ago |
Disallow !important
within declarations.
a { color: pink !important; }
/** ↑
* This !important */
If you always want !important
in your declarations, e.g. if you’re writing user styles, you can safely add them using postcss-safe-important
.
true
The following patterns are considered violations:
a { color: pink !important; }
a { color: pink ! important; }
a { color: pink!important; }
The following patterns are not considered violations:
a { color: pink; }