The C loudspace Lint er for rails applications
Add this line to your application's Gemfile:
gem 'clint_eastwood'
And then execute:
$ bundle
To run simply run clint
while in the desired app root directory.
Allows to to specify a project path other than the current directory
clint --path /path/to/my/project
Allows you to specify which subdirectories to lint (default is app
, lib
, config
, spec
)
clint --lint app lib bin
The following options are availabe to disable the individual linter modules
--disable-reek
--disable-rubocop
--disable-rbp
Runs clint but still exists successfully, only printing the output
clint --warn
- Fork it ( https://github.com/cloudspace/clint_eastwood/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 a new Pull Request