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 18:40:49 +00: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 11:37:57 +00:00
- app/helpers/**/*_helper.rb
# We ignore Rails mailers right now because it's hard to workaround it
2017-12-15 11:37:57 +00:00
- app/mailers/emails/**/*.rb
# We ignore spec helpers because it usually doesn't matter
- spec/support/**/*.rb
- features/steps/**/*.rb