0.0
No commit activity in last 3 years
No release in over 3 years
Reports common CSS/Sass/Less errors
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.5
~> 2.5
~> 0.9
~> 2.12
 Project Readme

suspiCiouSS

Suspiciouss is a CSS/Sass/Less linter that will provide you a report of common minor errors in your CSS development.

Usage

You can use it from the command line:

git diff | suspiciouss

Or you can use it in your Ruby code:

require 'suspiciouss'
Suspiciouss::Linter.new.process(your_git_diff_as_text)

What is going to report?

You will be warned about the following issues in your code:

  • camel case selectors
  • excessive indentation
  • overqualified element selectors
  • styling #id selectors
  • styling js prefixed selectors
  • underscores in selectors
  • property with units if value is 0

The report will be as text or markdown, depending if you got provided a command line input or was used programatically.

Contribute

  • Fork it
  • Write your feature with a test
  • Issue a pull request
  • ...
  • Profit!