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