ruby-oops
looks for things you forgot to remove before checking in. It was developed by an engineer wanting to add a layer of idiot-proofing to his code. It looks for:
puts
p
pretty_print
pp
awesome_print
ap
console.log
- Rebase or merge conflicts:
<<<<<<
,>>>>>>
,======
- If you haven't already, install the Code Climate CLI.
- Run
codeclimate engines:enable ruby-oops
. This command both installs the engine and enables it in your.codeclimate.yml
file. - Browse into your project's folder and run
codeclimate analyze
.