mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3b9a857e4d
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.
32 lines
493 B
YAML
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: []
|