-
Notifications
You must be signed in to change notification settings - Fork 42
/
.rubocop.yml
86 lines (59 loc) · 1.44 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
79
80
81
82
83
84
85
86
require:
- rubocop-rake
- rubocop-rspec
AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Style/StringLiterals:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/TrailingCommaInArguments:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/FrozenStringLiteralComment:
Enabled: false # reconsider later
Metrics:
Enabled: false
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false # temporary
Lint/EmptyClass:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Layout/LineLength:
Enabled: false
Style/SafeNavigation:
Enabled: false
Naming:
Enabled: false
Style/MixinUsage:
Exclude:
- examples/*.rb
Style/IfUnlessModifier:
Enabled: false
Style/SelectByRegexp:
Enabled: false
Lint/EmptyBlock:
Enabled: false
Security/CompoundHash:
Enabled: false # we actually need it to work
Lint/HashCompareByIdentity:
Enabled: false # investigate later
Style/AccessModifierDeclarations:
Enabled: false # maybe for the use of module_function which I think is better off being explicit instead of grouped
Style/OptionalBooleanParameter:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/ContextWording:
Enabled: false
RSpec/ExampleLength:
Enabled: false