csslint-next
v1.1.1
Published
Customized version of CSSLint
Downloads
12
Readme
csslint-next
Customized version of CSSLint
It 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