Skip to content

Commit

Permalink
[Docs] Tweak some markup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jul 7, 2020
1 parent ee4f5dc commit 5bcf201
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/modules/ROOT/pages/configuration.adoc
Expand Up @@ -51,7 +51,7 @@ 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
NOTE: 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.

Expand Down Expand Up @@ -402,9 +402,11 @@ valid for the directory tree starting where they are defined. They are not
shadowed by the setting of `Include` and `Exclude` in other `.rubocop.yml`
files in subdirectories. This is different from all other parameters, who
follow RuboCop's general principle that configuration for an inspected file
is taken from the nearest `.rubocop.yml`, searching upwards. _This behavior
is taken from the nearest `.rubocop.yml`, searching upwards.

NOTE: This behavior
will be overridden if you specify the `--ignore-parent-exclusion` command line
argument_.
argument.

=== Cop-specific `Include` and `Exclude`

Expand Down

0 comments on commit 5bcf201

Please sign in to comment.