Project

General

Profile

Actions

Feature #36984

closed

Exclude all subdirectories for vendor in .rubocop.yaml

Added by dosas please_edit_me 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I stumbled upon this problem when executing rubocop for foreman_ansible locally and in gitlab ci
https://github.com/rubocop/rubocop/issues/9832

Change the line here
https://github.com/theforeman/foreman_ansible/blob/master/.rubocop.yml#L16

from
```
'vendor/bundle/**/*'
```
to

```
'vendor/**/*'
```

This would be the same as in the default config: https://github.com/rubocop/rubocop/blob/master/config/default.yml#L68

Actions

Also available in: Atom PDF