Skip to content

Commit 559c503

Browse files
committed
Use plugins instead of require
1 parent c871beb commit 559c503

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
inherit_from: .rubocop_todo.yml
22

3-
require:
4-
'./lib/rubocop-yard'
3+
plugins:
4+
- rubocop-yard
55

66
Layout:
77
Enabled: false

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ If bundler is not being used to manage dependencies, install the gem by executin
131131
Put this into your `.rubocop.yml`.
132132

133133
```yaml
134-
require: rubocop-yard
134+
plugins:
135+
- rubocop-yard
135136
```
136137
137138
## Development

0 commit comments

Comments
 (0)