Skip to content

Commit

Permalink
Add a note about the --config flag
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and bbatsov committed Jul 7, 2020
1 parent a743015 commit ee4f5dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/ROOT/pages/configuration.adoc
Expand Up @@ -51,6 +51,10 @@ files:
* `~/.config/rubocop/config.yml`
* https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml[RuboCop's default configuration]

All the previous logic does not apply if a specific configuration file is passed
on the command line through the `--config` flag. In that case, the resolved
configuration file will be the one passed to the CLI.

== Inheritance

All configuration inherits from https://github.com/rubocop-hq/rubocop/blob/master/config/default.yml[RuboCop's default configuration] (See
Expand Down

0 comments on commit ee4f5dc

Please sign in to comment.