@@ -5,93 +5,119 @@ require:
5
5
AllCops :
6
6
TargetRubyVersion : 2.3
7
7
8
- Layout/ArgumentAlignment :
9
- EnforcedStyle : with_fixed_indentation
10
-
11
- Layout/CaseIndentation :
12
- EnforcedStyle : end
13
-
14
- Layout/ParameterAlignment :
15
- EnforcedStyle : with_fixed_indentation
16
-
17
- Layout/EndAlignment :
18
- EnforcedStyleAlignWith : start_of_line
19
-
20
- Layout/FirstArgumentIndentation :
21
- EnforcedStyle : consistent
22
-
23
- Layout/FirstArrayElementIndentation :
24
- EnforcedStyle : consistent
25
-
26
- Layout/FirstHashElementIndentation :
27
- EnforcedStyle : consistent
28
-
29
- Layout/LineLength :
30
- Max : 120
31
-
32
- Layout/MultilineMethodCallIndentation :
33
- EnforcedStyle : indented
34
-
35
- Layout/RescueEnsureAlignment :
36
- Enabled : false
37
-
38
- Lint/RaiseException :
39
- Enabled : true
40
-
41
- Lint/StructNewOverride :
42
- Enabled : true
43
-
44
- RSpec/ExampleLength :
45
- Enabled : false
46
-
47
- RSpec/FilePath :
48
- Enabled : false
49
-
50
- RSpec/NamedSubject :
51
- Enabled : false
52
-
53
- RSpec/MessageSpies :
54
- Enabled : false
55
-
56
- RSpec/MultipleExpectations :
57
- Enabled : false
58
-
59
- RSpec/SubjectStub :
60
- Enabled : false
61
-
62
- Metrics/AbcSize :
63
- Max : 35
64
-
65
- Metrics/BlockLength :
66
- Enabled : false
67
-
68
- Metrics/MethodLength :
69
- Max : 30
70
-
71
- Naming/MethodParameterName :
72
- MinNameLength : 1
73
-
74
- Style/Documentation :
75
- Enabled : false
76
-
77
- Style/EmptyMethod :
78
- EnforcedStyle : expanded
79
-
80
- Style/FrozenStringLiteralComment :
81
- Enabled : true
82
- EnforcedStyle : always
83
-
84
- Style/GuardClause :
85
- Enabled : false
86
-
87
- Style/HashEachMethods :
88
- Enabled : true
89
-
90
- Style/HashTransformKeys :
91
- Enabled : false
92
-
93
- Style/HashTransformValues :
94
- Enabled : false
95
-
96
- Style/IfUnlessModifier :
97
- Enabled : false
8
+ Gemspec/DeprecatedAttributeAssignment : { Enabled: true }
9
+ Gemspec/RequireMFA : { Enabled: true }
10
+
11
+ Layout/ArgumentAlignment : { EnforcedStyle: with_fixed_indentation }
12
+ Layout/CaseIndentation : { EnforcedStyle: end }
13
+ Layout/EndAlignment : { EnforcedStyleAlignWith: start_of_line }
14
+ Layout/FirstArgumentIndentation : { EnforcedStyle: consistent }
15
+ Layout/FirstArrayElementIndentation : { EnforcedStyle: consistent }
16
+ Layout/FirstHashElementIndentation : { EnforcedStyle: consistent }
17
+ Layout/LineContinuationLeadingSpace : { Enabled: true }
18
+ Layout/LineContinuationSpacing : { Enabled: true }
19
+ Layout/LineEndStringConcatenationIndentation : { Enabled: true }
20
+ Layout/LineLength : { Max: 120 }
21
+ Layout/MultilineMethodCallIndentation : { EnforcedStyle: indented }
22
+ Layout/ParameterAlignment : { EnforcedStyle: with_fixed_indentation }
23
+ Layout/RescueEnsureAlignment : { Enabled: false }
24
+ Layout/SpaceBeforeBrackets : { Enabled: true }
25
+
26
+ Lint/AmbiguousAssignment : { Enabled: true }
27
+ Lint/AmbiguousOperatorPrecedence : { Enabled: true }
28
+ Lint/AmbiguousRange : { Enabled: true }
29
+ Lint/ConstantOverwrittenInRescue : { Enabled: true }
30
+ Lint/DeprecatedConstants : { Enabled: true }
31
+ Lint/DuplicateBranch : { Enabled: true }
32
+ Lint/DuplicateRegexpCharacterClassElement : { Enabled: true }
33
+ Lint/EmptyBlock : { Enabled: true }
34
+ Lint/EmptyClass : { Enabled: true }
35
+ Lint/EmptyInPattern : { Enabled: true }
36
+ Lint/IncompatibleIoSelectWithFiberScheduler : { Enabled: true }
37
+ Lint/LambdaWithoutLiteralBlock : { Enabled: true }
38
+ Lint/NoReturnInBeginEndBlocks : { Enabled: true }
39
+ Lint/NonAtomicFileOperation : { Enabled: true }
40
+ Lint/NumberedParameterAssignment : { Enabled: true }
41
+ Lint/OrAssignmentToConstant : { Enabled: true }
42
+ Lint/RaiseException : { Enabled: true }
43
+ Lint/RedundantDirGlobSort : { Enabled: true }
44
+ Lint/RefinementImportMethods : { Enabled: true }
45
+ Lint/RequireRangeParentheses : { Enabled: true }
46
+ Lint/RequireRelativeSelfPath : { Enabled: true }
47
+ Lint/StructNewOverride : { Enabled: true }
48
+ Lint/SymbolConversion : { Enabled: true }
49
+ Lint/ToEnumArguments : { Enabled: true }
50
+ Lint/TripleQuotes : { Enabled: true }
51
+ Lint/UnexpectedBlockArity : { Enabled: true }
52
+ Lint/UnmodifiedReduceAccumulator : { Enabled: true }
53
+ Lint/UselessRuby2Keywords : { Enabled: true }
54
+
55
+ RSpec/BeEq : { Enabled: true }
56
+ RSpec/BeNil : { Enabled: true }
57
+ RSpec/Capybara/SpecificMatcher : { Enabled: true }
58
+ RSpec/ChangeByZero : { Enabled: true }
59
+ RSpec/ExampleLength : { Enabled: false }
60
+ RSpec/ExcessiveDocstringSpacing : { Enabled: true }
61
+ RSpec/FactoryBot/SyntaxMethods : { Enabled: true }
62
+ RSpec/FilePath : { Enabled: false }
63
+ RSpec/IdenticalEqualityAssertion : { Enabled: true }
64
+ RSpec/MessageSpies : { Enabled: false }
65
+ RSpec/MultipleExpectations : { Enabled: false }
66
+ RSpec/MultipleMemoizedHelpers : { Enabled: false }
67
+ RSpec/NamedSubject : { Enabled: false }
68
+ RSpec/Rails/AvoidSetupHook : { Enabled: true }
69
+ RSpec/Rails/HaveHttpStatus : { Enabled: true }
70
+ RSpec/SubjectDeclaration : { Enabled: true }
71
+ RSpec/SubjectStub : { Enabled: false }
72
+ RSpec/VerifiedDoubleReference : { Enabled: true }
73
+
74
+ Metrics/AbcSize : { Max: 40 }
75
+ Metrics/BlockLength : { Enabled: false }
76
+ Metrics/CyclomaticComplexity : { Enabled: false }
77
+ Metrics/MethodLength : { Max: 30 }
78
+ Metrics/PerceivedComplexity : { Enabled: false }
79
+
80
+ Naming/BlockForwarding : { Enabled: true }
81
+ Naming/MethodParameterName : { MinNameLength: 1 }
82
+
83
+ Security/CompoundHash : { Enabled: true }
84
+ Security/IoMethods : { Enabled: true }
85
+
86
+ Style/ArgumentsForwarding : { Enabled: true }
87
+ Style/CollectionCompact : { Enabled: true }
88
+ Style/DocumentDynamicEvalDefinition : { Enabled: true }
89
+ Style/Documentation : { Enabled: false }
90
+ Style/EmptyHeredoc : { Enabled: true }
91
+ Style/EmptyMethod : { EnforcedStyle: expanded }
92
+ Style/EndlessMethod : { Enabled: true }
93
+ Style/EnvHome : { Enabled: true }
94
+ Style/FetchEnvVar : { Enabled: true }
95
+ Style/FileRead : { Enabled: true }
96
+ Style/FileWrite : { Enabled: true }
97
+ Style/FrozenStringLiteralComment : { Enabled: true, EnforcedStyle: always }
98
+ Style/GuardClause : { Enabled: false }
99
+ Style/HashConversion : { Enabled: true }
100
+ Style/HashEachMethods : { Enabled: true }
101
+ Style/HashExcept : { Enabled: true }
102
+ Style/HashTransformKeys : { Enabled: false }
103
+ Style/HashTransformValues : { Enabled: false }
104
+ Style/IfUnlessModifier : { Enabled: false }
105
+ Style/IfWithBooleanLiteralBranches : { Enabled: true }
106
+ Style/InPatternThen : { Enabled: true }
107
+ Style/MapCompactWithConditionalBlock : { Enabled: true }
108
+ Style/MapToHash : { Enabled: true }
109
+ Style/MultilineInPatternThen : { Enabled: true }
110
+ Style/NegatedIfElseCondition : { Enabled: true }
111
+ Style/NestedFileDirname : { Enabled: true }
112
+ Style/NilLambda : { Enabled: true }
113
+ Style/NumberedParameters : { Enabled: true }
114
+ Style/NumberedParametersLimit : { Enabled: true }
115
+ Style/ObjectThen : { Enabled: true }
116
+ Style/OpenStructUse : { Enabled: true }
117
+ Style/QuotedSymbols : { Enabled: true }
118
+ Style/RedundantArgument : { Enabled: true }
119
+ Style/RedundantInitialize : { Enabled: true }
120
+ Style/RedundantSelfAssignmentBranch : { Enabled: true }
121
+ Style/SelectByRegexp : { Enabled: true }
122
+ Style/StringChars : { Enabled: true }
123
+ Style/SwapValues : { Enabled: true }
0 commit comments