A CSS linter for the modern day developer. Based on good practices and guidelines mentioned at:
gem install css-lint
- Each declaration should appear on its own line.
- Selectors must be on a new line, multiple selectors on a line are not allowed.
- Lowercase all hex values, e.g. #eee.
- Closing braces of declaration blocks on a new line.
- Must end with a new line.
- Use soft tabs with two spaces.
- Include one space after the colon for each declaration.
- End all declarations with a semi-colon.
- Use shorthand hex values where available, e.g., #fff instead of #ffffff.
- Must use hyphens to separate words, not underscores or camel casing.
If you find a bug, please create a new issue or if you are feeling a little more adventurous, pull requests and contributions are welcome!