-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.yml
98 lines (98 loc) · 1.99 KB
/
default.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
87
88
89
90
91
92
93
94
95
96
97
98
AllCops:
Exclude:
# generated files
- bin/guard
- bin/rspec
- bin/rubocop
- bin/setup
- config.ru
- db/schema.rb
- db/migrate/*
- vendor/**/*
- node_modules/**/*
TargetRubyVersion: 2.6
DisabledByDefault: true
Layout/DotPosition:
EnforcedStyle: trailing
Layout/EmptyLineAfterGuardClause:
Enabled: true
Layout/IndentationConsistency:
Enabled: true
Layout/IndentationStyle:
Enabled: true
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Layout/SpaceBeforeBlockBraces:
Enabled: true
Layout/SpaceInsideBlockBraces:
Enabled: true
Layout/SpaceInsideHashLiteralBraces:
Enabled: true
Layout/TrailingEmptyLines:
Enabled: true
Lint:
Enabled: true
Lint/AmbiguousBlockAssociation:
Exclude:
- spec/**/*
Lint/BinaryOperatorWithIdenticalOperands:
Enabled: true
Lint/ConstantDefinitionInBlock:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/DuplicateElsifCondition:
Enabled: true
Lint/DuplicateRequire:
Enabled: true
Lint/DuplicateRescueException:
Enabled: true
Lint/EmptyConditionalBody:
Enabled: true
Lint/EmptyFile:
Enabled: true
Lint/FloatComparison:
Enabled: true
Lint/IdentityComparison:
Enabled: true
Lint/Loop:
Enabled: false
Lint/MissingSuper:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/OutOfRangeRegexpRef:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/SelfAssignment:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Lint/TopLevelReturnWithArgument:
Enabled: true
Lint/TrailingCommaInAttributeDeclaration:
Enabled: true
Lint/UnreachableLoop:
Enabled: true
Lint/UselessMethodDefinition:
Enabled: true
Lint/UselessTimes:
Enabled: true
Style/MutableConstant:
Enabled: true
Style/StringLiterals:
Enabled: true
Style/SymbolArray:
Enabled: true
Style/TrailingCommaInHashLiteral:
Enabled: true
Style/TrailingCommaInArguments:
Enabled: true
Style/WordArray:
Enabled: true
Security:
Enabled: true
Style/Semicolon:
Exclude:
- spec/**/*