csslint
csslint copied to clipboard
Automated linting of Cascading Stylesheets
Code like the following results in an 'Expected RPAREN' error: `:host(.studentScreenSharing[data-currapp='ScreenShare']) span.icon-stdscreenImg { }`
During my tests I receive a very long list of warnings like this: ``` WARNING: The box-sizing property isn't supported in IE6 and IE7. The box-sizing properties isn't supported in...
Hi there, I'm a maintainer of Flycheck, a linter UI for Emacs. I'm forwarding a bug report that we think is due to csslint. The report is at https://github.com/flycheck/flycheck/issues/1481. In...
When using csslint with variables against the `:root` element, it throws the message of "rule is empty". ``` css :root { --color-alpha: #fff; } ``` This rule should not be...
``` echo '@page { margin-bottom: 0 }' | csslint /dev/stdin csslint: There is 1 problem in /dev/stdin. stdin 1: error at line undefined, col undefined Fatal error, cannot continue: Cannot...
https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-width
Module is really nice. My question, is there a way to enforce one of the following? For example, valid ``` .cartPrice { text-align: right; white-space: nowrap; width: 1%; } ```...
https://github.com/CSSLint/csslint/wiki/Disallow-unqualified-attribute-selectors ``` The following patterns are considered okay and do not cause warnings: /* unqualified attribute selector is not key */ .selected [type=text] a { color: red; } ``` Should...