1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/.codeclimate.yml
Noah Davis 5b2e826e6d
Keep current Code Climate behavior before upgrade
If you merge these changes now (*before Monday, December 4th*), Code Climate will run the same analysis on Rails as it always has on your pull requests.

*If you do not merge these changes*, when Code Climate migrates Rails to our new analysis, Code Climate will continue to run Rubocop, but it will ALSO run Code Climate's new maintainability checks (https://codeclimate.com/blog/10-point-technical-debt-assessment). 

You may want this ... you may not. 

Just want to make sure you knew the quick option to disable them if it's a problem!
2017-11-29 23:16:04 -05:00

36 lines
532 B
YAML

checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
similar-code:
enabled: false
identical-code:
enabled: false
engines:
rubocop:
enabled: true
channel: rubocop-0-51
ratings:
paths:
- "**.rb"
exclude_paths:
- ci/
- guides/
- tasks/
- tools/