根据 Atom
遵循指南我已成功安装gem rubocop
和linter-rubocop
插件,现在我正在尝试将其配置为Atom编辑器,但我遇到此错误
我在终端上执行了以下步骤:
Dharmeshs-MacBook-Pro:~ dR$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
Dharmeshs-MacBook-Pro:~ dR$ gem install rubocop
Successfully installed rubocop-0.40.0
Parsing documentation for rubocop-0.40.0
Done installing documentation for rubocop after 5 seconds
1 gem installed
Dharmeshs-MacBook-Pro:~ dR$ apm install linter-rubocop
Installing linter-rubocop to /Users/dR/.atom/packages ✓
Dharmeshs-MacBook-Pro:~ dR$ which rubocop
/Users/dR/.rvm/gems/ruby-2.3.0/bin/rubocop
Dharmeshs-MacBook-Pro:~ dR$ rbenv which rubocop
/Users/dR/.rvm/gems/ruby-2.3.0/bin/rubocop
Dharmeshs-MacBook-Pro:~ dR$
然后我尝试通过编辑〜/ .atom / config.cson 来配置 linter-rubocop
。接下来我收到此错误:
请指导我配置它。感谢。