Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Feel free to comment cop ideas with type.
I already search the following sources to find cop ideas.
This comment is inspired by the following commit in the rails/rails repository.
# bad receiver.first == 'str' # good receiver.start_with?('str')
Thanks for your comment, @koic !
I'll add your idea to the checklist.
By the way, I guess your example code does not work well because
And I confirmed