From f55591e31e1769e57b52176b8f5c77372029eabf Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Thu, 26 Sep 2024 09:17:02 +0900 Subject: [PATCH] [Doc] Tweak the doc for `DisabledByDefault: true` in configuration Follow up https://github.com/rubocop/rubocop/pull/4304. This PR tweaks the doc for `DisabledByDefault: true` in configuration. --- docs/modules/ROOT/pages/configuration.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/configuration.adoc b/docs/modules/ROOT/pages/configuration.adoc index ca35f7543dac..28a0411b4f8b 100644 --- a/docs/modules/ROOT/pages/configuration.adoc +++ b/docs/modules/ROOT/pages/configuration.adoc @@ -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