description | title | layout | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rubocop is a linter for Ruby |
Trunk | How to run rubocop |
|
rubocop is a linter for Ruby.
You can enable the rubocop linter with:
trunk check enable rubocop
rubocop will be auto-enabled if a .rubocop.yml
config file is present.
rubocop supports the following config files:
.rubocop.yml
You can move these files to .trunk/configs
and trunk check
will still find them. See Moving Linters for more info.
- rubocop site
- rubocop Trunk Code Quality integration source
- Trunk Code Quality's open source plugins repo