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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.