csslint
csslint copied to clipboard
Automated linting of Cascading Stylesheets
Hi using CSSLint (2.0.22) with brackets. Having a simple css file with: ``` #content { display: grid; grid-template-columns: repeat(4, 1fr); } ``` getting this error: ``` 1 Disallow IDs in...
Hello! I'd like to propose an additional check that detects duplicate CSS selectors and displays a warning regarding code maintainability/redundancy. For example: ``` #content { border: 1px solid black; }...
This is valid now: ``` ul { list-style-type: "★"; } ``` See: https://drafts.csswg.org/css-lists/#text-markers
Not sure if this is wanted/needed in csslint itself.
Adds support for detecting `transparent`. Adds support for detecting issues when outline is hidden in focus, and border-related properties are also hidden. Allows hidden outline, but with a visible border....
## Will CSSlint be supporting CSS4 in the future? getting an error when linting custom CSS properties. ### Error message: ``` _Expected RBRACE at line 47, col 5_ ``` ###...
Hi! CSSLint doesn't support `@counter-style`. It is considered a Parsing Error. As far as I can see, it's not even possible to ignore it using `/* csslint ignore:start */`, although...
These don't work: ``` csslint --exclude-list=*.min.css . csslint --exclude-list=static/css/*.min.css . ``` Only giving the exact path to a single file works. Is there another way that supports regex or glob...
I am using csslint npm package -**v1.0.5** This is my test code . ```javascript var csslint = require("csslint"); var linted = csslint.CSSLint.verify(` .sample{ background:efwf; } `); console.log(linted.messages) ``` Output :...
see https://eslint.org/demo Rules Configuration