How to change rubocop's default settings?

4.1k views Asked by At

Is it possible to change rubocop's default settings? I would like something along the lines of ~/.rubocop_default.yml, but I didn't find anything like this in documentation. But it must be possible, right? How can I achieve this?

1

There are 1 answers

3
Ilya On BEST ANSWER

Just create .rubocop.yml file in either in your home directory or in some project directory and override settings you want. See the official manual for more information.