-
Notifications
You must be signed in to change notification settings - Fork 145
/
.rubocop.yml
78 lines (62 loc) · 1.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
AllCops:
TargetRubyVersion: 3.1
Exclude:
- tmp/*
- 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
Layout/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/*
Style/PerlBackrefs:
Enabled: false
Naming/PredicateName:
Exclude:
- app/serializers/**/*
Lint/RescueException:
Exclude:
- app/models/shipit/task_execution_strategy/default.rb
Lint/SuppressedException:
Enabled: false
Lint/AssignmentInCondition:
Enabled: false
# This cop is broken https://github.com/rubocop-hq/rubocop/pull/7531
Layout/RescueEnsureAlignment:
Enabled: false
Style/StringLiterals:
Enabled: false
Style/StringLiteralsInInterpolation:
Enabled: false
Style/WordArray:
Enabled: false
Style/SymbolArray:
Enabled: false
Naming/InclusiveLanguage:
Enabled: false
# Crashing cops. We need to update rubocop at some point but better do it in its own PR.
Layout/BlockAlignment:
Exclude:
- config/initializers/inflections.rb
- config/routes.rb
- lib/tasks/cron.rake
- lib/tasks/dev.rake
- lib/tasks/shipit.rake
- lib/tasks/teams.rake