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
yuuji.yaginuma 3b9a857e4d Fix Code Climate exclude patterns config
I removed `exclude_paths` by a737143. But I had mistaken that exclude paths
would not be used if removed `exclude_paths` config.

However, in the absence of `exclude_paths`, the default setting used and
it contains `test`.
https://docs.codeclimate.com/docs/advanced-configuration#section-exclude-patterns
https://docs.codeclimate.com/docs/excluding-files-and-folders#section-auto-generated-file-and-folder-exclusions

As we need to target the tests, specify an empty array to prevent the
default from being used.
2019-04-13 12:51:31 +09:00

32 lines
493 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-66
ratings:
paths:
- "**.rb"
exclude_paths: []