Skip to content

Commit c4e05e5

Browse files
authored
Merge pull request #66 from koic/add_way_to_specify_multiple_extensions
Add a way to specify multiple extensions to README.md
2 parents f3ab72e + bd54721 commit c4e05e5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ Put this into your `.rubocop.yml`.
3434
require: rubocop-rails
3535
```
3636
37+
Alternatively, use the following array notation when specifying multiple extensions.
38+
39+
```yaml
40+
require:
41+
- rubocop-other-extension
42+
- rubocop-rails
43+
```
44+
3745
Now you can run `rubocop` and it will automatically load the RuboCop Rails
3846
cops together with the standard cops.
3947

0 commit comments

Comments
 (0)