csslint
csslint copied to clipboard
Automated linting of Cascading Stylesheets
_From @DannyJJK on July 8, 2016 8:44_ - VSCode Version: Code 1.3.0 (e724f269ded347b49fcf1657fc576399354e6703, 2016-07-07T16:52:42.674Z) - OS Version: Darwin x64 15.6.0 Steps to Reproduce: Create a div with the two CSS...
Aren't those false positives or Am I missing something ? ![image](https://user-images.githubusercontent.com/6233650/28073745-5c4b1580-665f-11e7-8fcf-a8428f5c9792.png) ![image](https://user-images.githubusercontent.com/6233650/28074000-1dbc59ae-6660-11e7-995d-5c6ec5784d6b.png) [icomoon-css.txt](https://github.com/CSSLint/csslint/files/1139220/icomoon-css.txt)
Angular 2 is in Release Candidate mode, and with it comes Shadow DOM Styling (also known as CSS Scoping). Unfortunately, Angular 2 is very keen on bleeding edge syntaxes, already...
CSS: ``` input[type=number] { -moz-appearance: textfield; -webkit-appearance: textfield; } ``` Error: > Error - Expected (none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox...
In the wiki (https://github.com/CSSLint/csslint/wiki/Disallow-units-for-zero-values) it states that "The value of 0 works without specifying units in all situations where numbers with length units or percentages are allowed." However, I was...
add two rules 1.multi-rules-newline 2.rule-name
Getting this error: ``` 1: warning at line 22, col 1 Rule doesn't have all its properties in alphabetical order. .slideTwo label { ``` Code: ```css .slideTwo label { background:...
Any rule with `img` at the end of a selector can have two problems. 1. `width:auto` - CSS rules override HTML attributes. The default for width is auto, so by...
```css @-webkit-keyframes todo { 0% { -webkit-transform: scaleZ(1); box-shadow: 0 0 4px rgba(0,0,0,.15); opacity: 0; } /* ... */ } ``` By default, there would be a warning: > Missing...
Example: For input[type="radio"] { width: 15px; width: 18px \0; height: 15px; height: 18px \0; border-radius: 1em; } CSSlint is decoding the \0 as null character and writing it in the...