Skip to content

Search for Cops that can be automatically modified among the Cops listed in .rubocop_todo.yml.

License

Notifications You must be signed in to change notification settings

ydah/rubocop-safe_todo_searcher

Repository files navigation

RuboCop SafeTodoSearcher CI Gem Version Maintainability

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.ymlcan 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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Test it (rake spec)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. 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.

About

Search for Cops that can be automatically modified among the Cops listed in .rubocop_todo.yml.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages