Search rubocop_todo.yml
to see if there are any cop that can be resolved with auto correct.
If you want to know if the pending remarks in your rubocop_todo.yml
can be deleted automatically, please use it.
Installation
Add this line to your application's Gemfile:
gem 'rubocop-safe_todo_searcher'
And then execute:
bundle install
Usage
After installation, run the following on the command line.
bundle exec rubocop-safe_todo_searcher
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
, which will create a git tag for the version, push git commits and the created tag, and push the .gem
file to rubygems.org.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Test it (
rake spec
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Send a pull request :)
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the RuboCop::SafeTodoSearcher project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.