少し前に rubocop-yayoi というgemを出しました。
改良したものをリリースしました!
出来上がったもの
https://rubygems.org/gems/rubocop-yayoi
Rubocop::Yayoi
ζ*'ヮ')ζ<うっうー!
このgemは rubocop 実行後に表示されるテキストがアイドルマスター 765プロ所属の高槻やよい風に指摘してくれるgemです!
Installation
Add this line to your application's Gemfile:
gem 'rubocop-yayoi'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rubocop-yayoi
Usage
RuboCop configuration file
Put this into your .rubocop.yml.
require: rubocop-yayoi
Now you can run rubocop and it will automatically load the RuboCop RSpec
cops together with the standard cops.
Command line
rubocop --require rubocop-yayoi
Rake task
RuboCop::RakeTask.new do |task|
  task.requires << 'rubocop-yayoi'
end
Development
After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release…
使い方はGitHub repositoryを見るか、上にあるdev.toの記事を見てください。
更新した点
Waning Messages を表示させなくしました。
rubocop-performance 以外の定数に再代入するwaningが消えました!
これで画面いっぱいにwarningが表示されることがなくなりました。
これからまた、徐々にcopの翻訳を増やしていきます!
気が向いたら使ってやってください。
 

 
    
 
    
Top comments (0)