如题,请大神们赐教,感激不尽!!!
除了前面有人提到的 rubocop,还有 https://github.com/troessner/reek 也非常不错,这两个 可以一起用。 或者直接用 RubyMine 自带的检查也非常非常棒
试试这个https://github.com/bbatsov/rubocop
王垠搞过一个:https://github.com/yinwang0/rubysonar