Skip to content

Commit

Permalink
Merge pull request #66 from koic/add_way_to_specify_multiple_extensions
Browse files Browse the repository at this point in the history
Add a way to specify multiple extensions to README.md
  • Loading branch information
koic authored Jun 4, 2019
2 parents f3ab72e + bd54721 commit c4e05e5
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 c4e05e5

Please sign in to comment.