-
Hi team, I'm building a new cop as a separate gem, meanwhile I'm planning to have a custom formatter just for the this cop, however, I couldn't figure out a way to specify the formatter in gem, the docs is using
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is possible to specify gem name instead of relative path. Alternatively, # .rubocop.yml
require:
- ../my/custom/file.rb
- rubocop-extension
How to use rubocop-performance may be helpful. |
Beta Was this translation helpful? Give feedback.
It is possible to specify gem name instead of relative path. Alternatively,
require
can be specified in .rubocop.yml as shown below.How to use rubocop-performance may be helpful.
https://github.com/rubocop/rubocop-performance#usage