`.rubocop.yml` in GDK conflicts with the one in gitlab/ folder
It is sometimes not possible to run static analysis using bundle exec rubocop
in gitlab/ directory, because it does not find any files.
$ bundle exec rubocop
Inspecting 0 files
0 files inspected, no offenses detected
It appears that .rubocop.yml
in the parent directory (GDK) with Exclude: - 'gitlab/**/*'
is causing this behavior. Commenting this line out resolves the problem. Reported by @innerwhisper in https://gitlab.com/gitlab-org/gitlab-ce/issues/28202#note_38349846,
I also saw discussion on slack between @rspeicher @brodock and @felipe_artur.
\cc @cmattrex
Edited by Grzegorz Bizon