CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.77k stars 483 forks source link

CSSLint + Stylelint (checking rules) #669

Closed yepninja closed 8 years ago

yepninja commented 8 years ago

CSSLint rule: universal-selector Type: y Stylelint rule: selector-no-universal: true


CSSLint rule: unqualified-attributes Type: n There is no rule in stylelint that analyze attribute selectors. There is rule selector-no-attribute, but it disallow all selectors with attribute.


CSSLint rule: zero-units Type: y Stylelint rule: length-zero-no-unit: true


CSSLint rule: overqualified-elements Type: x Stylelint rule: selector-no-qualifying-type Stylelint disallows all qualifying selectors. CSSLint allows qualifying selectors if elements are different. The difference is not big.


CSSLint rule: shorthand Type: n


CSSLint rule: duplicate-background-images Type: n There is no rules in styleslint that analyze urls at all.

ai commented 8 years ago

@alanev why you created spearated issue? :) post it to previous one.

yepninja commented 8 years ago

No problem