README.md in rubocop-govuk-0.2.0 vs README.md in rubocop-govuk-1.0.0
- old
+ new
@@ -12,10 +12,21 @@
Inherit rules from the gem by adding the following to your project's RuboCop config:
```yaml
# .rubocop
inherit_gem:
- rubocop-govuk: config/all.yml
+ rubocop-govuk:
+ - config/default.yml
+```
+
+or if you also need Rails specific rules:
+
+```yaml
+# .rubocop
+inherit_gem:
+ rubocop-govuk:
+ - config/default.yml
+ - config/rails.yml
```
## Usage
Run RuboCop: