From bd54721411e4faa57bbbcacba9ad72543887f0bd Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Tue, 4 Jun 2019 20:00:44 +0900 Subject: [PATCH] Add a way to specify multiple extensions to README.md Follow up https://github.com/rubocop-hq/rubocop/issues/7104 and https://github.com/rubocop-hq/rubocop-jp/issues/53 (JA) . This PR adds a way to specify multiple extensions to README.md. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8f3f815063..34221ec5fb 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,14 @@ Put this into your `.rubocop.yml`. require: rubocop-rails ``` +Alternatively, use the following array notation when specifying multiple extensions. + +```yaml +require: + - rubocop-other-extension + - rubocop-rails +``` + Now you can run `rubocop` and it will automatically load the RuboCop Rails cops together with the standard cops.