Rubocop

作者: Henry_Liu | 来源:发表于2018-03-22 09:54 被阅读0次

    RuboCop: A Ruby static code analyzer, based on the community Ruby style guide.
    GitHub: https://github.com/bbatsov/rubocop

    install
    gem install rubocop

    usage
    Running rubocop with no arguments will check all ruby source files in the current directory:
    $ rubocop
    Alternatively you can rubocop a list of files and directories to check:
    $rubocop directories files

    相关文章

      网友评论

          本文标题:Rubocop

          本文链接:https://www.haomeiwen.com/subject/rtioqftx.html