talkable-style 1.2022.0131 → 1.2022.0201
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/bundler.yml +4 -0
- data/config/discourse.yml +8 -0
- data/config/gitlab-security.yml +12 -0
- data/config/graphql.yml +4 -0
- data/config/layout.yml +124 -0
- data/config/lint.yml +230 -0
- data/config/metrics.yml +2 -0
- data/config/naming.yml +26 -0
- data/config/performance.yml +88 -0
- data/config/rails.yml +186 -0
- data/config/rake.yml +12 -0
- data/config/rspec.yml +136 -0
- data/config/security.yml +12 -0
- data/config/style.yml +329 -0
- data/default.yml +19 -1156
- data/lib/talkable/style/version.rb +1 -1
- data/talkable-style.gemspec +3 -0
- metadata +58 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 636da9a5acd43b025c2a343bf6937a96c2b415c47661e3d12582c367d93cd259
|
4
|
+
data.tar.gz: f790f2094222970def68a709457f34f0a8e5f791cadbb3ef4b6d16b1ea8057c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9541a37a59782571817e883b5bd77796fcc976f6a46a7a591504aa0f4eedd7a8b90890ed8214916999376efdf681ff8d191ff2504139119b0a865434fb7bcac6
|
7
|
+
data.tar.gz: 512d5e3a61e7fcd38754a2965596cc36afd3f5e07228c9c1a1f2d19ccd7700a7cd5095e28bd88b3e0b50665675c0fee49594cbe655753c65c191ae2b66b12e22
|
data/config/bundler.yml
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require: rubocop-gitlab-security
|
2
|
+
|
3
|
+
GitlabSecurity/DeepMunge:
|
4
|
+
Enabled: true
|
5
|
+
GitlabSecurity/RedirectToParamsUpdate:
|
6
|
+
Enabled: true
|
7
|
+
GitlabSecurity/SendFileParams:
|
8
|
+
Enabled: true
|
9
|
+
GitlabSecurity/SqlInjection:
|
10
|
+
Enabled: true
|
11
|
+
GitlabSecurity/SystemCommandInjection:
|
12
|
+
Enabled: true
|
data/config/graphql.yml
ADDED
data/config/layout.yml
ADDED
@@ -0,0 +1,124 @@
|
|
1
|
+
Layout/AccessModifierIndentation:
|
2
|
+
Enabled: true
|
3
|
+
Layout/ArrayAlignment:
|
4
|
+
Enabled: true
|
5
|
+
Layout/AssignmentIndentation:
|
6
|
+
Enabled: true
|
7
|
+
Layout/BeginEndAlignment:
|
8
|
+
Enabled: true
|
9
|
+
Layout/BlockAlignment:
|
10
|
+
Enabled: true
|
11
|
+
Layout/BlockEndNewline:
|
12
|
+
Enabled: true
|
13
|
+
Layout/ClosingHeredocIndentation:
|
14
|
+
Enabled: true
|
15
|
+
Layout/CommentIndentation:
|
16
|
+
Enabled: true
|
17
|
+
Layout/ConditionPosition:
|
18
|
+
Enabled: true
|
19
|
+
Layout/DefEndAlignment:
|
20
|
+
Enabled: true
|
21
|
+
Layout/EmptyComment:
|
22
|
+
Enabled: true
|
23
|
+
Layout/EmptyLineBetweenDefs:
|
24
|
+
Enabled: true
|
25
|
+
Layout/EmptyLines:
|
26
|
+
Enabled: true
|
27
|
+
Layout/EmptyLinesAroundAccessModifier:
|
28
|
+
Enabled: true
|
29
|
+
Layout/EmptyLinesAroundBeginBody:
|
30
|
+
Enabled: true
|
31
|
+
Layout/EmptyLinesAroundBlockBody:
|
32
|
+
Enabled: true
|
33
|
+
Layout/EmptyLinesAroundClassBody:
|
34
|
+
Enabled: true
|
35
|
+
Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
36
|
+
Enabled: true
|
37
|
+
Layout/EmptyLinesAroundMethodBody:
|
38
|
+
Enabled: true
|
39
|
+
Layout/EmptyLinesAroundModuleBody:
|
40
|
+
Enabled: true
|
41
|
+
Layout/EndOfLine:
|
42
|
+
Enabled: true
|
43
|
+
Layout/ExtraSpacing:
|
44
|
+
Enabled: true
|
45
|
+
Layout/FirstArrayElementIndentation:
|
46
|
+
Enabled: true
|
47
|
+
EnforcedStyle: consistent
|
48
|
+
Layout/FirstHashElementIndentation:
|
49
|
+
Enabled: true
|
50
|
+
EnforcedStyle: consistent
|
51
|
+
Layout/HeredocIndentation:
|
52
|
+
Enabled: true
|
53
|
+
Layout/IndentationConsistency:
|
54
|
+
Enabled: true
|
55
|
+
Layout/IndentationStyle:
|
56
|
+
Enabled: true
|
57
|
+
Layout/InitialIndentation:
|
58
|
+
Enabled: true
|
59
|
+
Layout/LeadingCommentSpace:
|
60
|
+
Enabled: true
|
61
|
+
Layout/LeadingEmptyLines:
|
62
|
+
Enabled: true
|
63
|
+
Layout/MultilineAssignmentLayout:
|
64
|
+
Enabled: true
|
65
|
+
EnforcedStyle: same_line
|
66
|
+
Layout/MultilineBlockLayout:
|
67
|
+
Enabled: true
|
68
|
+
Exclude:
|
69
|
+
- spec/**/*
|
70
|
+
Layout/MultilineMethodCallIndentation:
|
71
|
+
Enabled: true
|
72
|
+
EnforcedStyle: indented
|
73
|
+
Exclude:
|
74
|
+
- spec/**/*
|
75
|
+
Layout/MultilineMethodDefinitionBraceLayout:
|
76
|
+
Enabled: true
|
77
|
+
Layout/MultilineOperationIndentation:
|
78
|
+
Enabled: true
|
79
|
+
Layout/RescueEnsureAlignment:
|
80
|
+
Enabled: true
|
81
|
+
Layout/SpaceAfterColon:
|
82
|
+
Enabled: true
|
83
|
+
Layout/SpaceAfterComma:
|
84
|
+
Enabled: true
|
85
|
+
Layout/SpaceAfterMethodName:
|
86
|
+
Enabled: true
|
87
|
+
Layout/SpaceAfterNot:
|
88
|
+
Enabled: true
|
89
|
+
Layout/SpaceAfterSemicolon:
|
90
|
+
Enabled: true
|
91
|
+
Layout/SpaceAroundBlockParameters:
|
92
|
+
Enabled: true
|
93
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
94
|
+
Enabled: true
|
95
|
+
Layout/SpaceAroundKeyword:
|
96
|
+
Enabled: true
|
97
|
+
Layout/SpaceAroundMethodCallOperator:
|
98
|
+
Enabled: true
|
99
|
+
Layout/SpaceAroundOperators:
|
100
|
+
Enabled: true
|
101
|
+
Layout/SpaceBeforeBrackets:
|
102
|
+
Enabled: true
|
103
|
+
Layout/SpaceBeforeComma:
|
104
|
+
Enabled: true
|
105
|
+
Layout/SpaceBeforeComment:
|
106
|
+
Enabled: true
|
107
|
+
Layout/SpaceBeforeFirstArg:
|
108
|
+
Enabled: true
|
109
|
+
Layout/SpaceBeforeSemicolon:
|
110
|
+
Enabled: true
|
111
|
+
Layout/SpaceInLambdaLiteral:
|
112
|
+
Enabled: true
|
113
|
+
Layout/SpaceInsideArrayPercentLiteral:
|
114
|
+
Enabled: true
|
115
|
+
Layout/SpaceInsideParens:
|
116
|
+
Enabled: true
|
117
|
+
Layout/SpaceInsidePercentLiteralDelimiters:
|
118
|
+
Enabled: true
|
119
|
+
Layout/SpaceInsideRangeLiteral:
|
120
|
+
Enabled: true
|
121
|
+
Layout/TrailingEmptyLines:
|
122
|
+
Enabled: true
|
123
|
+
Layout/TrailingWhitespace:
|
124
|
+
Enabled: true
|
data/config/lint.yml
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
Lint/AmbiguousAssignment:
|
2
|
+
Enabled: true
|
3
|
+
Lint/AmbiguousOperator:
|
4
|
+
Enabled: true
|
5
|
+
Lint/AmbiguousOperatorPrecedence:
|
6
|
+
Enabled: true
|
7
|
+
Lint/AmbiguousRange:
|
8
|
+
Enabled: true
|
9
|
+
Lint/AmbiguousRegexpLiteral:
|
10
|
+
Enabled: true
|
11
|
+
Lint/BigDecimalNew:
|
12
|
+
Enabled: true
|
13
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
14
|
+
Enabled: true
|
15
|
+
Lint/BooleanSymbol:
|
16
|
+
Enabled: true
|
17
|
+
Lint/CircularArgumentReference:
|
18
|
+
Enabled: true
|
19
|
+
Lint/ConstantDefinitionInBlock:
|
20
|
+
Enabled: true
|
21
|
+
Lint/Debugger:
|
22
|
+
Enabled: true
|
23
|
+
Lint/DeprecatedClassMethods:
|
24
|
+
Enabled: true
|
25
|
+
Lint/DeprecatedConstants:
|
26
|
+
Enabled: true
|
27
|
+
Lint/DeprecatedOpenSSLConstant:
|
28
|
+
Enabled: true
|
29
|
+
Lint/DisjunctiveAssignmentInConstructor:
|
30
|
+
Enabled: true
|
31
|
+
Lint/DuplicateBranch:
|
32
|
+
Enabled: true
|
33
|
+
Lint/DuplicateCaseCondition:
|
34
|
+
Enabled: true
|
35
|
+
Lint/DuplicateElsifCondition:
|
36
|
+
Enabled: true
|
37
|
+
Lint/DuplicateHashKey:
|
38
|
+
Enabled: true
|
39
|
+
Lint/DuplicateMethods:
|
40
|
+
Enabled: true
|
41
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
42
|
+
Enabled: true
|
43
|
+
Lint/DuplicateRequire:
|
44
|
+
Enabled: true
|
45
|
+
Lint/DuplicateRescueException:
|
46
|
+
Enabled: true
|
47
|
+
Lint/EachWithObjectArgument:
|
48
|
+
Enabled: true
|
49
|
+
Lint/ElseLayout:
|
50
|
+
Enabled: true
|
51
|
+
Lint/EmptyBlock:
|
52
|
+
Enabled: true
|
53
|
+
Lint/EmptyClass:
|
54
|
+
Enabled: true
|
55
|
+
Lint/EmptyConditionalBody:
|
56
|
+
Enabled: true
|
57
|
+
Lint/EmptyEnsure:
|
58
|
+
Enabled: true
|
59
|
+
Lint/EmptyExpression:
|
60
|
+
Enabled: true
|
61
|
+
Lint/EmptyFile:
|
62
|
+
Enabled: true
|
63
|
+
Lint/EmptyInPattern:
|
64
|
+
Enabled: true
|
65
|
+
Lint/EmptyInterpolation:
|
66
|
+
Enabled: true
|
67
|
+
Lint/EmptyWhen:
|
68
|
+
Enabled: true
|
69
|
+
Lint/EnsureReturn:
|
70
|
+
Enabled: true
|
71
|
+
Lint/FlipFlop:
|
72
|
+
Enabled: true
|
73
|
+
Lint/FloatComparison:
|
74
|
+
Enabled: true
|
75
|
+
Lint/FloatOutOfRange:
|
76
|
+
Enabled: true
|
77
|
+
Lint/FormatParameterMismatch:
|
78
|
+
Enabled: true
|
79
|
+
Lint/HashCompareByIdentity:
|
80
|
+
Enabled: true
|
81
|
+
Lint/HeredocMethodCallPosition:
|
82
|
+
Enabled: true
|
83
|
+
Lint/IdentityComparison:
|
84
|
+
Enabled: true
|
85
|
+
Lint/ImplicitStringConcatenation:
|
86
|
+
Enabled: true
|
87
|
+
Lint/IncompatibleIoSelectWithFiberScheduler:
|
88
|
+
Enabled: true
|
89
|
+
Lint/IneffectiveAccessModifier:
|
90
|
+
Enabled: true
|
91
|
+
Lint/InheritException:
|
92
|
+
Enabled: true
|
93
|
+
EnforcedStyle: standard_error
|
94
|
+
Lint/LiteralAsCondition:
|
95
|
+
Enabled: true
|
96
|
+
Lint/LiteralInInterpolation:
|
97
|
+
Enabled: true
|
98
|
+
Lint/Loop:
|
99
|
+
Enabled: true
|
100
|
+
Lint/MissingCopEnableDirective:
|
101
|
+
Enabled: true
|
102
|
+
Lint/MissingSuper:
|
103
|
+
Enabled: true
|
104
|
+
Lint/MixedRegexpCaptureTypes:
|
105
|
+
Enabled: true
|
106
|
+
Lint/MultipleComparison:
|
107
|
+
Enabled: true
|
108
|
+
Lint/NestedMethodDefinition:
|
109
|
+
Enabled: true
|
110
|
+
Lint/NextWithoutAccumulator:
|
111
|
+
Enabled: true
|
112
|
+
Lint/NonDeterministicRequireOrder:
|
113
|
+
Enabled: true
|
114
|
+
Lint/NonLocalExitFromIterator:
|
115
|
+
Enabled: true
|
116
|
+
Lint/NumberedParameterAssignment:
|
117
|
+
Enabled: true
|
118
|
+
Lint/OrAssignmentToConstant:
|
119
|
+
Enabled: true
|
120
|
+
Lint/OutOfRangeRegexpRef:
|
121
|
+
Enabled: true
|
122
|
+
Lint/ParenthesesAsGroupedExpression:
|
123
|
+
Enabled: true
|
124
|
+
Lint/PercentStringArray:
|
125
|
+
Enabled: true
|
126
|
+
Lint/PercentSymbolArray:
|
127
|
+
Enabled: true
|
128
|
+
Lint/RaiseException:
|
129
|
+
Enabled: true
|
130
|
+
Lint/RandOne:
|
131
|
+
Enabled: true
|
132
|
+
Lint/RedundantCopDisableDirective:
|
133
|
+
Enabled: true
|
134
|
+
Lint/RedundantCopEnableDirective:
|
135
|
+
Enabled: true
|
136
|
+
Lint/RedundantDirGlobSort:
|
137
|
+
Enabled: true
|
138
|
+
Lint/RedundantRequireStatement:
|
139
|
+
Enabled: true
|
140
|
+
Lint/RedundantSafeNavigation:
|
141
|
+
Enabled: true
|
142
|
+
Lint/RedundantSplatExpansion:
|
143
|
+
Enabled: true
|
144
|
+
Lint/RedundantStringCoercion:
|
145
|
+
Enabled: true
|
146
|
+
Lint/RedundantWithIndex:
|
147
|
+
Enabled: true
|
148
|
+
Lint/RedundantWithObject:
|
149
|
+
Enabled: true
|
150
|
+
Lint/RegexpAsCondition:
|
151
|
+
Enabled: true
|
152
|
+
Lint/RequireParentheses:
|
153
|
+
Enabled: true
|
154
|
+
Lint/RequireRelativeSelfPath:
|
155
|
+
Enabled: true
|
156
|
+
Lint/RescueException:
|
157
|
+
Enabled: true
|
158
|
+
Lint/RescueType:
|
159
|
+
Enabled: true
|
160
|
+
Lint/ReturnInVoidContext:
|
161
|
+
Enabled: true
|
162
|
+
Lint/SafeNavigationChain:
|
163
|
+
Enabled: true
|
164
|
+
AllowedMethods:
|
165
|
+
- present?
|
166
|
+
- blank?
|
167
|
+
- presence
|
168
|
+
- try
|
169
|
+
- try!
|
170
|
+
- to_bool
|
171
|
+
- to_liquid
|
172
|
+
- in?
|
173
|
+
Lint/SafeNavigationWithEmpty:
|
174
|
+
Enabled: true
|
175
|
+
Lint/ScriptPermission:
|
176
|
+
Enabled: true
|
177
|
+
Lint/SelfAssignment:
|
178
|
+
Enabled: true
|
179
|
+
Lint/SendWithMixinArgument:
|
180
|
+
Enabled: true
|
181
|
+
Lint/ShadowedException:
|
182
|
+
Enabled: true
|
183
|
+
Lint/StructNewOverride:
|
184
|
+
Enabled: true
|
185
|
+
Lint/SymbolConversion:
|
186
|
+
Enabled: true
|
187
|
+
Lint/ToEnumArguments:
|
188
|
+
Enabled: true
|
189
|
+
Lint/ToJSON:
|
190
|
+
Enabled: true
|
191
|
+
Lint/TopLevelReturnWithArgument:
|
192
|
+
Enabled: true
|
193
|
+
Lint/TrailingCommaInAttributeDeclaration:
|
194
|
+
Enabled: true
|
195
|
+
Lint/TripleQuotes:
|
196
|
+
Enabled: true
|
197
|
+
Lint/UnexpectedBlockArity:
|
198
|
+
Enabled: true
|
199
|
+
Lint/UnifiedInteger:
|
200
|
+
Enabled: true
|
201
|
+
Lint/UnmodifiedReduceAccumulator:
|
202
|
+
Enabled: true
|
203
|
+
Lint/UnreachableCode:
|
204
|
+
Enabled: true
|
205
|
+
Lint/UnreachableLoop:
|
206
|
+
Enabled: true
|
207
|
+
Lint/UnusedBlockArgument:
|
208
|
+
Enabled: true
|
209
|
+
Lint/UnusedMethodArgument:
|
210
|
+
Enabled: true
|
211
|
+
Lint/UriEscapeUnescape:
|
212
|
+
Enabled: true
|
213
|
+
Lint/UriRegexp:
|
214
|
+
Enabled: true
|
215
|
+
Lint/UselessAccessModifier:
|
216
|
+
Enabled: true
|
217
|
+
Lint/UselessAssignment:
|
218
|
+
Enabled: true
|
219
|
+
Lint/UselessElseWithoutRescue:
|
220
|
+
Enabled: true
|
221
|
+
Lint/UselessMethodDefinition:
|
222
|
+
Enabled: true
|
223
|
+
Lint/UselessRuby2Keywords:
|
224
|
+
Enabled: true
|
225
|
+
Lint/UselessSetterCall:
|
226
|
+
Enabled: true
|
227
|
+
Lint/UselessTimes:
|
228
|
+
Enabled: true
|
229
|
+
Lint/Void:
|
230
|
+
Enabled: true
|
data/config/metrics.yml
ADDED
data/config/naming.yml
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
Naming/AsciiIdentifiers:
|
2
|
+
Enabled: true
|
3
|
+
Naming/BlockForwarding:
|
4
|
+
Enabled: true
|
5
|
+
Naming/ClassAndModuleCamelCase:
|
6
|
+
Enabled: true
|
7
|
+
Naming/ConstantName:
|
8
|
+
Enabled: true
|
9
|
+
Naming/FileName:
|
10
|
+
Enabled: true
|
11
|
+
Naming/InclusiveLanguage:
|
12
|
+
Enabled: true
|
13
|
+
Naming/MemoizedInstanceVariableName:
|
14
|
+
Enabled: true
|
15
|
+
Naming/MethodName:
|
16
|
+
Enabled: true
|
17
|
+
Naming/PredicateName:
|
18
|
+
Enabled: true
|
19
|
+
NamePrefix:
|
20
|
+
- is_
|
21
|
+
ForbiddenPrefixes:
|
22
|
+
- is_
|
23
|
+
Naming/RescuedExceptionsVariableName:
|
24
|
+
Enabled: true
|
25
|
+
Naming/VariableName:
|
26
|
+
Enabled: true
|
@@ -0,0 +1,88 @@
|
|
1
|
+
require: rubocop-performance
|
2
|
+
|
3
|
+
Performance/AncestorsInclude:
|
4
|
+
Enabled: true
|
5
|
+
Performance/BigDecimalWithNumericArgument:
|
6
|
+
Enabled: true
|
7
|
+
Performance/BindCall:
|
8
|
+
Enabled: true
|
9
|
+
Performance/BlockGivenWithExplicitBlock:
|
10
|
+
Enabled: true
|
11
|
+
Performance/Caller:
|
12
|
+
Enabled: true
|
13
|
+
Performance/CaseWhenSplat:
|
14
|
+
Enabled: true
|
15
|
+
Performance/Casecmp:
|
16
|
+
Enabled: true
|
17
|
+
Performance/CollectionLiteralInLoop:
|
18
|
+
Enabled: true
|
19
|
+
Performance/CompareWithBlock:
|
20
|
+
Enabled: true
|
21
|
+
Performance/ConstantRegexp:
|
22
|
+
Enabled: true
|
23
|
+
Performance/Count:
|
24
|
+
Enabled: true
|
25
|
+
Performance/DeletePrefix:
|
26
|
+
Enabled: true
|
27
|
+
Performance/DeleteSuffix:
|
28
|
+
Enabled: true
|
29
|
+
Performance/Detect:
|
30
|
+
Enabled: true
|
31
|
+
Performance/DoubleStartEndWith:
|
32
|
+
Enabled: true
|
33
|
+
Performance/EndWith:
|
34
|
+
Enabled: true
|
35
|
+
Performance/FixedSize:
|
36
|
+
Enabled: true
|
37
|
+
Performance/FlatMap:
|
38
|
+
Enabled: true
|
39
|
+
Performance/InefficientHashSearch:
|
40
|
+
Enabled: true
|
41
|
+
Performance/IoReadlines:
|
42
|
+
Enabled: true
|
43
|
+
Performance/MapCompact:
|
44
|
+
Enabled: true
|
45
|
+
Performance/RangeInclude:
|
46
|
+
Enabled: true
|
47
|
+
Performance/RedundantBlockCall:
|
48
|
+
Enabled: true
|
49
|
+
Performance/RedundantEqualityComparisonBlock:
|
50
|
+
Enabled: true
|
51
|
+
Performance/RedundantMatch:
|
52
|
+
Enabled: true
|
53
|
+
Performance/RedundantMerge:
|
54
|
+
Enabled: true
|
55
|
+
Performance/RedundantSortBlock:
|
56
|
+
Enabled: true
|
57
|
+
Performance/RedundantSplitRegexpArgument:
|
58
|
+
Enabled: true
|
59
|
+
Performance/RedundantStringChars:
|
60
|
+
Enabled: true
|
61
|
+
Performance/RegexpMatch:
|
62
|
+
Enabled: true
|
63
|
+
Performance/ReverseEach:
|
64
|
+
Enabled: true
|
65
|
+
Performance/ReverseFirst:
|
66
|
+
Enabled: true
|
67
|
+
Performance/Size:
|
68
|
+
Enabled: true
|
69
|
+
Performance/SortReverse:
|
70
|
+
Enabled: true
|
71
|
+
Performance/Squeeze:
|
72
|
+
Enabled: true
|
73
|
+
Performance/StartWith:
|
74
|
+
Enabled: true
|
75
|
+
Performance/StringIdentifierArgument:
|
76
|
+
Enabled: true
|
77
|
+
Performance/StringInclude:
|
78
|
+
Enabled: true
|
79
|
+
Performance/StringReplacement:
|
80
|
+
Enabled: true
|
81
|
+
Performance/Sum:
|
82
|
+
Enabled: true
|
83
|
+
Performance/TimesMap:
|
84
|
+
Enabled: true
|
85
|
+
Performance/UnfreezeString:
|
86
|
+
Enabled: true
|
87
|
+
Performance/UriDefaultParser:
|
88
|
+
Enabled: true
|
data/config/rails.yml
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
require: rubocop-rails
|
2
|
+
|
3
|
+
Rails/ActionFilter:
|
4
|
+
Enabled: true
|
5
|
+
Rails/ActiveRecordAliases:
|
6
|
+
Enabled: true
|
7
|
+
Rails/ActiveRecordCallbacksOrder:
|
8
|
+
Enabled: true
|
9
|
+
Rails/ActiveRecordOverride:
|
10
|
+
Enabled: true
|
11
|
+
Rails/ActiveSupportAliases:
|
12
|
+
Enabled: true
|
13
|
+
Rails/AddColumnIndex:
|
14
|
+
Enabled: true
|
15
|
+
Rails/AfterCommitOverride:
|
16
|
+
Enabled: true
|
17
|
+
Rails/ApplicationController:
|
18
|
+
Enabled: true
|
19
|
+
Rails/ApplicationJob:
|
20
|
+
Enabled: true
|
21
|
+
Rails/ApplicationMailer:
|
22
|
+
Enabled: true
|
23
|
+
Rails/ApplicationRecord:
|
24
|
+
Enabled: true
|
25
|
+
Rails/ArelStar:
|
26
|
+
Enabled: true
|
27
|
+
Rails/AttributeDefaultBlockValue:
|
28
|
+
Enabled: true
|
29
|
+
Rails/BelongsTo:
|
30
|
+
Enabled: true
|
31
|
+
Rails/Blank:
|
32
|
+
Enabled: true
|
33
|
+
NilOrEmpty: false
|
34
|
+
NotPresent: true
|
35
|
+
UnlessPresent: true
|
36
|
+
Rails/BulkChangeTable:
|
37
|
+
Enabled: true
|
38
|
+
Rails/CreateTableWithTimestamps:
|
39
|
+
Enabled: true
|
40
|
+
Rails/Date:
|
41
|
+
Enabled: true
|
42
|
+
Rails/DelegateAllowBlank:
|
43
|
+
Enabled: true
|
44
|
+
Rails/DurationArithmetic:
|
45
|
+
Enabled: true
|
46
|
+
Rails/DynamicFindBy:
|
47
|
+
Enabled: true
|
48
|
+
Rails/EnumHash:
|
49
|
+
Enabled: true
|
50
|
+
Rails/EnumUniqueness:
|
51
|
+
Enabled: true
|
52
|
+
Rails/EnvironmentComparison:
|
53
|
+
Enabled: true
|
54
|
+
Rails/Exit:
|
55
|
+
Enabled: true
|
56
|
+
Rails/ExpandedDateRange:
|
57
|
+
Enabled: true
|
58
|
+
Rails/FindBy:
|
59
|
+
Enabled: true
|
60
|
+
Rails/FindById:
|
61
|
+
Enabled: true
|
62
|
+
Rails/FindEach:
|
63
|
+
Enabled: true
|
64
|
+
Rails/HasAndBelongsToMany:
|
65
|
+
Enabled: true
|
66
|
+
Rails/HelperInstanceVariable:
|
67
|
+
Enabled: true
|
68
|
+
Rails/HttpPositionalArguments:
|
69
|
+
Enabled: true
|
70
|
+
Rails/HttpStatus:
|
71
|
+
Enabled: true
|
72
|
+
Rails/IgnoredSkipActionFilterOption:
|
73
|
+
Enabled: true
|
74
|
+
Rails/IndexBy:
|
75
|
+
Enabled: true
|
76
|
+
Rails/IndexWith:
|
77
|
+
Enabled: true
|
78
|
+
Rails/InverseOf:
|
79
|
+
Enabled: true
|
80
|
+
Rails/LexicallyScopedActionFilter:
|
81
|
+
Enabled: true
|
82
|
+
Rails/LinkToBlank:
|
83
|
+
Enabled: true
|
84
|
+
Rails/MailerName:
|
85
|
+
Enabled: true
|
86
|
+
Rails/MatchRoute:
|
87
|
+
Enabled: true
|
88
|
+
Rails/NegateInclude:
|
89
|
+
Enabled: true
|
90
|
+
Rails/NotNullColumn:
|
91
|
+
Enabled: true
|
92
|
+
Rails/OrderById:
|
93
|
+
Enabled: true
|
94
|
+
Rails/PluckId:
|
95
|
+
Enabled: true
|
96
|
+
Rails/PluckInWhere:
|
97
|
+
Enabled: true
|
98
|
+
Rails/PluralizationGrammar:
|
99
|
+
Enabled: true
|
100
|
+
Rails/Presence:
|
101
|
+
Enabled: true
|
102
|
+
Rails/Present:
|
103
|
+
Enabled: true
|
104
|
+
NotNilAndNotEmpty: false
|
105
|
+
NotBlank: true
|
106
|
+
UnlessBlank: true
|
107
|
+
Rails/RakeEnvironment:
|
108
|
+
Enabled: true
|
109
|
+
Rails/ReadWriteAttribute:
|
110
|
+
Enabled: true
|
111
|
+
Rails/RedundantAllowNil:
|
112
|
+
Enabled: true
|
113
|
+
Rails/RedundantPresenceValidationOnBelongsTo:
|
114
|
+
Enabled: true
|
115
|
+
Rails/RedundantReceiverInWithOptions:
|
116
|
+
Enabled: true
|
117
|
+
Rails/RedundantTravelBack:
|
118
|
+
Enabled: true
|
119
|
+
Rails/ReflectionClassName:
|
120
|
+
Enabled: true
|
121
|
+
Rails/RelativeDateConstant:
|
122
|
+
Enabled: true
|
123
|
+
Rails/RenderInline:
|
124
|
+
Enabled: true
|
125
|
+
Rails/RenderPlainText:
|
126
|
+
Enabled: true
|
127
|
+
Rails/RequestReferer:
|
128
|
+
Enabled: true
|
129
|
+
Rails/RequireDependency:
|
130
|
+
Enabled: true
|
131
|
+
Rails/ReversibleMigration:
|
132
|
+
Enabled: true
|
133
|
+
Include:
|
134
|
+
- db/migrate/*.rb
|
135
|
+
- db/sharded_migrate/*.rb
|
136
|
+
Rails/ReversibleMigrationMethodDefinition:
|
137
|
+
Enabled: true
|
138
|
+
Include:
|
139
|
+
- db/migrate/*.rb
|
140
|
+
- db/sharded_migrate/*.rb
|
141
|
+
Rails/RootJoinChain:
|
142
|
+
Enabled: true
|
143
|
+
Rails/SafeNavigation:
|
144
|
+
Enabled: true
|
145
|
+
Rails/SafeNavigationWithBlank:
|
146
|
+
Enabled: true
|
147
|
+
Rails/SaveBang:
|
148
|
+
Enabled: true
|
149
|
+
Exclude:
|
150
|
+
- spec/**/*
|
151
|
+
Rails/ScopeArgs:
|
152
|
+
Enabled: true
|
153
|
+
Rails/ShortI18n:
|
154
|
+
Enabled: true
|
155
|
+
Rails/SkipsModelValidations:
|
156
|
+
Enabled: true
|
157
|
+
Exclude:
|
158
|
+
- db/**/*
|
159
|
+
- spec/**/*
|
160
|
+
Rails/SquishedSQLHeredocs:
|
161
|
+
Enabled: true
|
162
|
+
Rails/TimeZone:
|
163
|
+
Enabled: true
|
164
|
+
Rails/TimeZoneAssignment:
|
165
|
+
Enabled: true
|
166
|
+
Rails/UniqBeforePluck:
|
167
|
+
Enabled: true
|
168
|
+
Rails/UniqueValidationWithoutIndex:
|
169
|
+
Enabled: true
|
170
|
+
Rails/UnknownEnv:
|
171
|
+
Enabled: true
|
172
|
+
Environments:
|
173
|
+
- development
|
174
|
+
- production
|
175
|
+
- staging
|
176
|
+
- test
|
177
|
+
Rails/UnusedIgnoredColumns:
|
178
|
+
Enabled: true
|
179
|
+
Rails/Validation:
|
180
|
+
Enabled: true
|
181
|
+
Rails/WhereEquals:
|
182
|
+
Enabled: true
|
183
|
+
Rails/WhereExists:
|
184
|
+
Enabled: true
|
185
|
+
Rails/WhereNot:
|
186
|
+
Enabled: true
|