Skip to content

Commit

Permalink
Add a way to specify multiple extensions to README.md
Browse files Browse the repository at this point in the history
Follow up rubocop/rubocop#7104 and
rubocop/rubocop-jp#53 (JA) .

This PR adds a way to specify multiple extensions to README.md.
  • Loading branch information
koic committed Jun 4, 2019
1 parent f3ab72e commit bd54721
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit bd54721

Please sign in to comment.