RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
# .rubocop.yml
require:
- rubocop-gradual
Now base rubocop command will run rubocop-gradual:
rubocop # run `rubocop-gradual`
rubocop -a # run `rubocop-gradual` with autocorrect (only when it's safe)
rubocop -A # run `rubocop-gradual` with autocorrect (safe and unsafe)
rubocop gradual check # run `rubocop-gradual` to check the lock file
rubocop gradual force_update # run `rubocop-gradual` to force update the lock file
RuboCop Gradual can be used in "Require mode", which is a way to replace
rubocop
withrubocop-gradual
:Now base
rubocop
command will runrubocop-gradual
: