tomoya / rubocop-auto-correct

Auto-correct ruby source code by using rubocop in Atom.
https://atom.io/packages/rubocop-auto-correct
MIT License
29 stars 17 forks source link

erb tags #28

Open fidenz-oshan opened 8 years ago

fidenz-oshan commented 8 years ago

how can i use this to fix ruby code within erb tags?

tomoya commented 8 years ago

I'm not sure that Rubocop can fix an erb file correctly. If Rubocop can fix an erb file, I can include an erb file to use Rubocop.

Could you make sure clearly?

fidenz-oshan commented 8 years ago

on issue https://github.com/bbatsov/rubocop/issues/1113, they reply as its beyond project scope.

tomoya commented 8 years ago

@fidenz-oshan, Thank you for your reply. According to that issue, I think that this package can not support erb file directly. But, If I support Correct selection feature #27, I guess it would be resolve as well.