makandra / makandra-rubocop

makandra's default Rubocop configuration
MIT License
6 stars 1 forks source link

Disable cop `Style/ClassCheck` #22

Closed denzelem closed 4 years ago

denzelem commented 4 years ago

https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/ClassCheck

This cop enforces consistent use of Object#is_a? or Object#kind_of?.

is_a? and kind_of? are not the same, so this cop does not make any sense imho. There are good reasons for using kind_of?, so we should not enforce is_a? here.