fudge icon indicating copy to clipboard operation
fudge copied to clipboard

Add support for Rubocop

Open celeduc opened this issue 13 years ago • 7 comments

Reports on violations of the Ruby Style Guide.

https://github.com/bbatsov/rubocop

celeduc avatar Apr 11 '13 13:04 celeduc

Doesn't the already supported cane do much the same thing? Or is this more specific?

loz avatar Apr 11 '13 14:04 loz

This is waaaaaaay pickier. Fudge got 250+ warnings.

celeduc avatar Apr 11 '13 14:04 celeduc

not sure if that's a good thing ;)

250 sounds very picky, the fudge code base is in pretty good shape..

loz avatar Apr 11 '13 17:04 loz

I get: 45 files inspected, 647 offences detected

loz avatar Apr 11 '13 17:04 loz

We can stick with cane for existing projects, but this might be good for things starting out.

Not a high priority, obvs.

celeduc avatar Apr 11 '13 18:04 celeduc

Keep in mind that RuboCop is pretty configurable, so if you don't think that some of the problems it reports is worth it - just disable the relevant check.

bbatsov avatar Jun 04 '13 12:06 bbatsov

Fixed by https://github.com/Sage/fudge/pull/108

chrisbarber86 avatar Apr 28 '16 13:04 chrisbarber86