Skip to content

Commit 030479a

Browse files
authored
Merge pull request #136 from codeminator/update-usage-documentation
Fix usage documentation for Inheriting all rules and cops
2 parents ac9c480 + 0581a17 commit 030479a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Inherit all of the stylistic rules and cops through an inheritance declaration i
1616

1717
```yaml
1818
# .rubocop.yml
19-
inherit_from:
19+
inherit_gem:
2020
rubocop-github:
21-
- config/default.yml # generic Ruby rules and cops
22-
- config/rails.yml # Rails-specific rules and cops
21+
- config/default.yml # generic Ruby rules and cops
22+
- config/rails.yml # Rails-specific rules and cops
2323
```
2424
2525
Alternatively, only require the additional custom cops in your `.rubocop.yml` without inheriting/enabling the other stylistic rules:

0 commit comments

Comments
 (0)