Nicholas C. Zakas and Nicole Sullivan's CSS Lint made available as a Ruby gem.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
spec
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
css_lint.gemspec

README.md

css_lint_ruby

Build Status Code Climate

A rudimentary gem that wraps the command line Rhino version of Nicholas C. Zakas and Nicole Sullivan's csslint.

Nothing too fancy and kinda rough around the edges...css_lint was made during Comcast Interactive Media's May 2012 Labweek as a dependency for using CSS Lint for Sass & Compass.

Installation

git clone https://github.com/Comcast/css_lint_ruby.git
cd css_lint_ruby
bundle install
bundle exec rake
gem build css_lint.gemspec
gem install css_lint-0.10.0.0.gem

Usage

Basic command line usage:

css_lint <some_css_directory>

Or:

css_lint <some_file.css>

Tests

Run Rspec tests:

rake

Browse code coverage via simplecov:

open coverage/index.html