rubocop
https://github.com/bbatsov/rubocop
Ruby
A Ruby static code analyzer, based on the community Ruby style guide.
RuboCop::Config#base_dir_for_path_parameters
Paths specified in .rubocop.yml and .rubocop_todo.yml files are relative to the directory where that file is. Paths in other config files are relative to the current directory. This is so that paths in config/default.yml, for example, are not relative to RuboCop's config directory since that wouldn't work.
Edit
git clone [email protected]:bbatsov/rubocop.git
cd rubocop
open lib/rubocop/config.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RuboCop--Config-base_dir_for_path_parameters-for-pr
# Commit to gitgit add lib/rubocop/config.rbgit commit -m "better docs for RuboCop::Config#base_dir_for_path_parameters"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RuboCop--Config-base_dir_for_path_parameters-for-pr
hub pull-request
# Celebrate!