rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, based on the community Ruby style guide.
RuboCop::CLI#run_line_length_cop_auto_gen_config
Do an initial run with only Metrics/LineLength so that cops that depend on Metrics/LineLength:Max get the correct value for that parameter.
Edit
git clone [email protected]:bbatsov/rubocop.git
cd rubocop
open lib/rubocop/cli.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RuboCop--CLI-run_line_length_cop_auto_gen_config-for-pr
# Commit to gitgit add lib/rubocop/cli.rbgit commit -m "better docs for RuboCop::CLI#run_line_length_cop_auto_gen_config"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RuboCop--CLI-run_line_length_cop_auto_gen_config-for-pr
hub pull-request
# Celebrate!