Skip to content

Commit

Permalink
[Doc] Tweak the doc for DisabledByDefault: true in configuration
Browse files Browse the repository at this point in the history
Follow up rubocop#4304.

This PR tweaks the doc for `DisabledByDefault: true` in configuration.
  • Loading branch information
koic committed Sep 26, 2024
1 parent 23b2e23 commit f55591e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/modules/ROOT/pages/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,9 @@ Style:
Enabled: true
----

All cops in the `Style` department are then enabled.
All cops in the `Style` department are then enabled. In this case, only the cops
in the `Style` department that are enabled by default will be enabled.
The cops in the `Style` department that are disabled by default will remain disabled.

If a department is disabled, cops in that department can still be individually
enabled, and that setting overrides the setting for its department in the same
Expand Down

0 comments on commit f55591e

Please sign in to comment.