rubocop-auto-correct icon indicating copy to clipboard operation
rubocop-auto-correct copied to clipboard

erb tags

Open fidenz-oshan opened this issue 9 years ago • 3 comments

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

fidenz-oshan avatar Jun 24 '16 05:06 fidenz-oshan

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?

tomoya avatar Jun 24 '16 08:06 tomoya

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

fidenz-oshan avatar Jun 27 '16 04:06 fidenz-oshan

@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.

tomoya avatar Jun 27 '16 05:06 tomoya