GazelleStyleguide
This gem bundles up Gazelle's style guides for Ruby, JavaScript, CoffeeScript, SCSS, CSS, JSON, and YAML.
Installation
Add this line to your application's Gemfile:
gem 'gazelle_styleguide'
And then execute:
$ bundle
Or install it yourself as:
$ gem install gazelle_styleguide
Usage
To install the pre-commit hook, run:
gazelle_styleguide init
To lint all new and changed files, run:
gazelle_styleguide lint
To lint all files, run:
gazelle_styleguide lint -a
To lint specific files, run:
gazelle_styleguide lint FILES
Contributing
- Fork it ( http://github.com/secondrotation/gazelle_styleguide/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request