================================================================================
                                    Rubocop
================================================================================

List offenses
$ bundle exec rubocop

Minor correction, no breaking changes
$ bundle exec rubocop -a

Potentially breaking changes
$ bundle exec rubocop -A

Create .rubocop.yml file
$ bundle exec rubocop --init

--------------------------------------------------------------------------------
Configuration
--------------------------------------------------------------------------------

Rubocop start looking for a .rubocop.yml file in the directory of the files
inspected until the root directory of the project.
If not found it will search in:
- .config/.rubocop.yml or .config/rubocop/config.yml
- ~/.rubocop.yml
- $XDG_CONFIG_HOME/rubocop/config.yml (expands to ~/.config/rubocop/config.yml
  if $XDG_CONFIG_HOME is not set.

More options can be found at
https://docs.rubocop.org/rubocop/latest/configuration.html

Configuration can be inherited
inherit_from:
  - ~/.config/rubocop/config.yml

More inheritance options can be found at
https://docs.rubocop.org/rubocop/latest/configuration/inheritance.html
