Coffeelint plugin for Guard
Add this line to your application's Gemfile:
gem 'guard-coffeelint'
And then execute:
$ bundle
Or install it yourself as:
$ gem install guard-coffeelint
- Create and customize your config file:
coffeelint --makeconfig > config/coffeelint.json
By default guard-coffeelint will look in config/coffeelint.json
,
but you can override the location with :config_file
in your Guardfile.
- Add Coffeelint to your Guardfile:
# Lint CoffeeScript files on change
guard :coffeelint do
watch %r{^app/assets/javascripts/.*\.coffee$}
end
- Fork it
- 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