0.01
No commit activity in last 3 years
No release in over 3 years
A simple way to run a series of linting tools with default configurations matching cloudspace's best practices
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12.5
>= 0

Runtime

~> 2.8.0
~> 4.4.0
~> 4.2.3
~> 0.42.0
~> 0.19.1
 Project Readme

ClintEastwood

The C loudspace Lint er for rails applications

Installation

Add this line to your application's Gemfile:

gem 'clint_eastwood'

And then execute:

$ bundle

Usage

To run simply run clint while in the desired app root directory.

options

Path

Allows to to specify a project path other than the current directory

clint --path /path/to/my/project

Lint

Allows you to specify which subdirectories to lint (default is app, lib, config, spec)

clint --lint app lib bin

Disable modules

The following options are availabe to disable the individual linter modules

--disable-reek
--disable-rubocop
--disable-rbp

Warn only

Runs clint but still exists successfully, only printing the output

clint --warn

Contributing

  1. Fork it ( https://github.com/cloudspace/clint_eastwood/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request