csslint-next
CSSLint
Customized version ofIt contains original CSSLint, together with customized parser-lib
Differences from original:
- Implied support for CSS variables syntax
- Added additional rules, that help maintain desired whitespace conventions
- Allow '\9' IE<=8 hacks
Installation
$ npm install csslint-next
Additional Rules
List of additional rules implemented within this package.
eol-at-eof
Require end of line (\n
- LINE FEED) character at end of file
eol
Require strictly unix end of line (\n
- LINE FEED) characters, any other end of lines (specifically: \r
- CARRIAGE RETURN) are reported as errors
multi-eol
Do not allow more than two empty lines in a row
tabs
Expect indentation with tabs. It will report on any space characters at begin of line, and mixed tabs and spaces.
ws-at-eol
Disallow whitespace characters at end of line
Tests
$ npm test