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.