debian-mirror-gitlab/.rubocop.yml

36 lines
916 B
YAML
Raw Normal View History

2018-03-17 18:26:18 +05:30
inherit_gem:
gitlab-styles:
- rubocop-default.yml
2016-08-24 12:49:21 +05:30
inherit_from: .rubocop_todo.yml
2018-03-17 18:26:18 +05:30
require: ./rubocop/rubocop
2016-06-02 11:05:42 +05:30
AllCops:
2017-09-10 17:25:29 +05:30
TargetRailsVersion: 4.2
2016-06-02 11:05:42 +05:30
Exclude:
- 'vendor/**/*'
2017-08-17 22:00:37 +05:30
- 'node_modules/**/*'
- 'db/*'
- 'db/fixtures/**/*'
2018-03-17 18:26:18 +05:30
- 'db/geo/*'
2016-06-02 11:05:42 +05:30
- 'tmp/**/*'
- 'bin/**/*'
- 'generator_templates/**/*'
2017-08-17 22:00:37 +05:30
- 'builds/**/*'
2018-03-17 18:26:18 +05:30
CacheRootDirectory: tmp
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
# Gitlab ###################################################################
2016-06-02 11:05:42 +05:30
2018-03-17 18:26:18 +05:30
Gitlab/ModuleWithInstanceVariables:
Enable: true
2017-08-17 22:00:37 +05:30
Exclude:
2018-03-17 18:26:18 +05:30
# We ignore Rails helpers right now because it's hard to workaround it
- app/helpers/**/*_helper.rb
- ee/app/helpers/**/*_helper.rb
# We ignore Rails mailers right now because it's hard to workaround it
- app/mailers/emails/**/*.rb
- ee/**/emails/**/*.rb
# We ignore spec helpers because it usually doesn't matter
- spec/support/**/*.rb
- features/steps/**/*.rb