forked from Shopify/shipit-engine
/
.rubocop.yml
53 lines (44 loc) · 1.02 KB
/
.rubocop.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
AllCops:
TargetRubyVersion: 2.5
Exclude:
- bin/*
- Gemfile
- lib/snippets/**/*
- vendor/**/*
- data/**/*
- db/schema.rb
- db/migrate/*
- test/dummy/**/*
- lib/shipit-engine.rb
- template.rb
inherit_gem:
rubocop-shopify: rubocop.yml
Metrics/LineLength:
Exclude:
- config/routes.rb
- test/**/*
- lib/tasks/teams.rake
- app/models/shipit/commit_deployment.rb
- app/models/shipit/commit_deployment_status.rb
- app/serializers/shipit/task_serializer.rb
Max: 120
Style/SymbolProc:
Exclude:
- app/models/shipit/*
Naming/PredicateName:
Exclude:
- app/serializers/**/*
Lint/RescueException:
Exclude:
- app/jobs/shipit/perform_task_job.rb
Lint/SuppressedException:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
Style/PerlBackrefs:
Exclude:
- app/helpers/shipit/shipit_helper.rb
- app/models/shipit/pull_request.rb
# This cop is broken https://github.com/rubocop-hq/rubocop/pull/7531
Layout/RescueEnsureAlignment:
Enabled: false