Inspired by SublimeLinter plugin for ruby, using ruby -wc
1 | parallel "ruby -wc {}" ::: $(find . -name \*.rb) 1> /dev/null |
Known issue
it only detects local variables for “warning: assigned but unused variable - xxx”
not working for instance variables
probably work with unused-code/unused to detect other unused tokens
unused
1 | # https://github.com/universal-ctags/homebrew-universal-ctags |