1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
yuuji.yaginuma 2019-04-13 12:36:32 +09:00
parent cc6bff3daa
commit 3b9a857e4d

View file

@ -28,3 +28,5 @@ engines:
ratings:
paths:
- "**.rb"
exclude_paths: []