mrcljx / rubocop-for-rubymine

DEPRECATED: RubyMine supports RuboCop now
https://blog.jetbrains.com/ruby/2017/01/rubymine-2017-1-eap-2-creating-gemsets-rubocop-support/
MIT License
131 stars 29 forks source link

Synchronize RuboCop with RubyMine Settings #13

Closed whithajess closed 8 years ago

whithajess commented 9 years ago

Would it be possible to integrate with RubyMine settings to make sure it is following rubocop / the ruby style guide i.e for indenting.

As a side note do you have some good settings for indenting ruby files? As I am having trouble getting

raise APIException.new(
    'test',
    'test'
  )

to format automatically as rubocop would suggest

raise APIException.new(
  'test',
  'test'
)
mrcljx commented 8 years ago

This would require some serious reverse engineering of the API. Also I don't think there they are 100% compatible. I recommend that you disable RubyMines linter rules and let RuboCop do the linting - keep the high-level analysis of RubyMine though.