2017-09-19 15:25:42 +00:00
|
|
|
inherit_gem:
|
|
|
|
gitlab-styles:
|
|
|
|
- rubocop-default.yml
|
2016-05-21 23:27:15 +00:00
|
|
|
|
2016-06-29 16:00:22 +00:00
|
|
|
inherit_from: .rubocop_todo.yml
|
2017-12-26 08:30:36 +00:00
|
|
|
require: ./rubocop/rubocop
|
2016-06-29 16:00:22 +00:00
|
|
|
|
2016-03-21 02:49:12 +00:00
|
|
|
AllCops:
|
2017-07-09 15:05:21 +00:00
|
|
|
TargetRailsVersion: 4.2
|
2016-03-21 02:49:12 +00:00
|
|
|
Exclude:
|
|
|
|
- 'vendor/**/*'
|
2017-02-02 18:40:49 +00:00
|
|
|
- 'node_modules/**/*'
|
2016-06-09 12:39:16 +00:00
|
|
|
- 'db/*'
|
|
|
|
- 'db/fixtures/**/*'
|
2017-09-19 15:25:42 +00:00
|
|
|
- 'db/geo/*'
|
2016-03-21 02:49:12 +00:00
|
|
|
- 'tmp/**/*'
|
|
|
|
- 'bin/**/*'
|
2016-05-19 20:32:07 +00:00
|
|
|
- 'generator_templates/**/*'
|
2017-02-28 12:13:01 +00:00
|
|
|
- 'builds/**/*'
|
2016-03-21 02:49:12 +00:00
|
|
|
|
2017-11-22 07:50:36 +00:00
|
|
|
# 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
|
2017-12-26 08:30:36 +00:00
|
|
|
- ee/app/helpers/**/*_helper.rb
|
2017-11-22 07:50:36 +00:00
|
|
|
# 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
|
2017-12-26 08:30:36 +00:00
|
|
|
- ee/**/emails/**/*.rb
|
2017-11-22 07:50:36 +00:00
|
|
|
# We ignore spec helpers because it usually doesn't matter
|
|
|
|
- spec/support/**/*.rb
|
|
|
|
- features/steps/**/*.rb
|