-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
56 lines (41 loc) · 1.09 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
AllCops:
TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- "testapp/**/*"
Metrics/LineLength:
Enabled: false
# This cop checks the line count inside blocks.
# All RSpec code is in the same block for each file.
# Enabling this for spec/ would require cutting up the spec files in several parts.
Metrics/BlockLength:
Exclude:
- "spec/**/*"
Style/StringLiterals:
Enabled: true
EnforcedStyle: "double_quotes"
# This cop checks for missing top-level documentation of classes and modules.
# Classes with no body are exempt from the check and so are namespace modules -
# modules that have nothing in their bodies except classes, other modules,
# or constant definitions.
Style/Documentation:
Enabled: false
Metrics/MethodLength:
Max: 30
Metrics/AbcSize:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/SpecialGlobalVars:
Enabled: false
Layout/LineLength:
Enabled: false
Style/TrailingCommaInArrayLiteral:
Enabled: false
Lint/EmptyBlock:
Exclude:
- "spec/**/*"