

Warn when using float as floats lead to fragile CSS that is easy to break if one aspect of the layout changes. Warn when using !important as it is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored. For example, with display: inline, the width, height, margin-top, margin-bottom, and float properties have no effect. Warn when using a property that is ignored due to the display. Warn when using an unknown vendor-specific property Warn when using an IE hack *propertyName or _propertyName Warn when an invalid number of parameters in color functions e.g. Warn when using hex numbers that don't consist of three or six hex numbers Warn when using rule without defining a src and font-family property Warn when using the universal selector * as it is known to be slow and should be avoided Warn about using an import statement as import statements are loaded sequentially which has a negative impact on web page performanceĭo not use width or height when using padding or border

Warn about duplicate properties in the same ruleset When using a property with a vendor-specific prefix for example -webkit-transition, make sure to also include the standard property if it exists e.g. moz-transition, -ms-transition and -o-transition When using a property with a vendor-specific prefix (for example -webkit-transition), make sure to also include all other vendor-specific properties e.g. Set a setting to warning or error if you want to enable lint checking, use ignore to disable it.
