Disallow !important within declarations.

禁止在声明中使用 !important

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.

如果你总想在你的声明中使用 !important,比如,你写user styles,你可以使用 postcss-safe-important 安全地 添加它们。



The following patterns are considered warnings:


a { color: pink !important; }
a { color: pink ! important; }
a { color: pink!important; }

The following patterns are not considered warnings:


a { color: pink; }