From 0581a175c741ed44bc89dacb32ca5b1f97fa5ddb Mon Sep 17 00:00:00 2001 From: Ahmed Shahin Date: Mon, 5 Dec 2022 11:59:12 +0000 Subject: [PATCH] Fix usage documentation for Inheriting all of the stylistic rules and cops --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7ba558fa..678692b8 100644 --- a/README.md +++ b/README.md @@ -16,10 +16,10 @@ Inherit all of the stylistic rules and cops through an inheritance declaration i ```yaml # .rubocop.yml - inherit_from: + inherit_gem: rubocop-github: - - config/default.yml # generic Ruby rules and cops - - config/rails.yml # Rails-specific rules and cops + - config/default.yml # generic Ruby rules and cops + - config/rails.yml # Rails-specific rules and cops ``` Alternatively, only require the additional custom cops in your `.rubocop.yml` without inheriting/enabling the other stylistic rules: