-
-
Notifications
You must be signed in to change notification settings - Fork 327
/
.rubocop.yml
45 lines (37 loc) · 890 Bytes
/
.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
require:
- rubocop-packaging
- rubocop-performance
- rubocop-rails
- rubocop-rake
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.6
NewCops: enable
Exclude:
# These are auto-generated from a load of features that use aruba
- 'tmp/**/*'
# Generated by appraisal
- 'gemfiles/*.gemfile'
- 'vendor/**/*'
# Disabled on our repo's to enable polyglot-release
Gemspec/RequireMFA:
Enabled: false
Layout/LineLength:
Max: 200
AllowedPatterns:
- '^Given'
- '^When'
- '^Then'
# This cop isn't relevant for our codebase
Rails/RakeEnvironment:
Enabled: false
# This allows us to read the chmod action in a more reproducible way
Style/NumericLiteralPrefix:
EnforcedOctalStyle: zero_only
Style/Documentation:
Enabled: false
Style/RegexpLiteral:
EnforcedStyle: slashes
AllowInnerSlashes: true
RSpec/MessageSpies:
EnforcedStyle: receive