mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-19 08:22:53 +00:00
792 B
792 B
declaration-no-important
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.
Options
true
The following patterns are considered problems:
a { color: pink !important; }
a { color: pink ! important; }
a { color: pink!important; }
The following patterns are not considered problems:
a { color: pink; }