Skip to content

Commit 9c84fee

Browse files
authored
Merge pull request #60 from koic/update_rubocop_command_in_readme
Update `rubocop` command option in README.md
2 parents 2cccd0c + ab43575 commit 9c84fee

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)