I'm getting conflicting cops between my IDE and the console. How do I have Atom's linter-rubocop to always run with the --rails
flag?
Error in Atom:
Error in console:
This is my config.cson
:
...
"linter-rubocop":
command: "rubocop -R"
I'm getting conflicting cops between my IDE and the console. How do I have Atom's linter-rubocop to always run with the --rails
flag?
This is my config.cson
:
...
"linter-rubocop":
command: "rubocop -R"
The settings-page for linter-rubocop
describes that the command
-option should be provided with an absolute path. That is, the output of which rubocop
. Then you can add the parameter.