Skip to content

Commit ab43575

Browse files
committed
Update rubocop command option in README.md
Follow up #55 (comment). This PR updates `rubocop` command option in README.md. `rubocop --rails` command option is required while `rubocop` command supports `--rails` option.
1 parent 2cccd0c commit ab43575

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ cops together with the standard cops.
3838
### Command line
3939

4040
```sh
41-
rubocop --require rubocop-rails
41+
rubocop --require rubocop-rails --rails
4242
```
4343

44+
Note: `--rails` option is required while `rubocop` command supports `--rails` option.
45+
4446
### Rake task
4547

4648
```ruby

0 commit comments

Comments
 (0)