gitlab-org--gitlab-foss/.rubocop.yml

32 lines
800 B
YAML
Raw Normal View History

inherit_gem:
gitlab-styles:
- rubocop-default.yml
inherit_from: .rubocop_todo.yml
AllCops:
TargetRailsVersion: 4.2
Exclude:
- 'vendor/**/*'
2017-02-02 13:40:49 -05:00
- 'node_modules/**/*'
- 'db/*'
- 'db/fixtures/**/*'
- 'db/geo/*'
- 'tmp/**/*'
- 'bin/**/*'
- 'generator_templates/**/*'
- 'builds/**/*'
# Gitlab ###################################################################
Gitlab/ModuleWithInstanceVariables:
Enable: true
Exclude:
# We ignore Rails helpers right now because it's hard to workaround it
2017-12-15 06:37:57 -05:00
- app/helpers/**/*_helper.rb
# We ignore Rails mailers right now because it's hard to workaround it
2017-12-15 06:37:57 -05:00
- app/mailers/emails/**/*.rb
# We ignore spec helpers because it usually doesn't matter
- spec/support/**/*.rb
- features/steps/**/*.rb