Inconsistent config in rubocop between lefthook and pipeline
## Problem
The file trigger rule for rubocop in lefthook is incomplete. It will causes errors that should be reported in lefthook to be delayed in the pipeline.
## Reproduce
Add content to `Gemfile` that does not match the rubocop rules, and then check it with `lefthook run pre-push`. lefthook will skip the rubocop check because of `NO FILES FOR INSPECTION`.
## Solution
- Remove the rubocop [filter](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lefthook.yml#L38) from `lefthook`.
- Synchronization rules to rubocop [filter](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lefthook.yml#L39) in lefthook.
issue