talkable-style 1.2022.0131 → 1.2022.0701

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcf951cb9161fca8567a8c794153ec4909ded291dda6ae801f389283a3cffd4b
4
- data.tar.gz: d87f3d67f8d1d17e08c7e8061612e25c64a82c9b08a7888855955aeb9d155075
3
+ metadata.gz: 0b3c20c79af99115219a982907e6476a796303b4bf7b787b529a2223ae5f2deb
4
+ data.tar.gz: dcb0535fb5938dca5d7aada5848284682086e044b3cdfbc1acd85a370824b307
5
5
  SHA512:
6
- metadata.gz: 0df99663e92abe314398544c0475d2a686ff65d422d697279b2a248b5fc07f2997191d736bae9acd8ccb37463bef1c121c4c3b67952247249ff88a4b1b915dbd
7
- data.tar.gz: e32dd99c83057d5973ff92afe8a26e7482172502b5874bb057ba60ea1854d62b17e321c8896659f11e1340e42298afde835b892b24b74273d79f2af6d663cff5
6
+ metadata.gz: 4a11fe377420be92c39ef1e5ed4b4cb122f2d2b04d41cc25a08a968a30c6f8753ad221c3d04e242a5c1d9c46d6d10527bf21a5416c1e9d52474ba879cbc0e05e
7
+ data.tar.gz: 5415664eb61b7560c0ac250c6d99720e7703b03c025b7cd65ba3baef95535c9ca59499334259950aec036cf193db59a172e2b0d5282751ca26ff7b2aeaecf924
@@ -0,0 +1,4 @@
1
+ Bundler/DuplicatedGem:
2
+ Enabled: true
3
+ Bundler/InsecureProtocolSource:
4
+ Enabled: true
@@ -0,0 +1,8 @@
1
+ require: rubocop-discourse
2
+
3
+ Discourse/NoJsonParseResponse:
4
+ Enabled: true
5
+ Discourse/NoTimeNewWithoutArgs:
6
+ Enabled: true
7
+ Discourse/NoURIEscapeEncode:
8
+ Enabled: true
@@ -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
@@ -0,0 +1,11 @@
1
+ require: rubocop-graphql
2
+
3
+ inherit_gem:
4
+ rubocop-graphql: config/default.yml
5
+
6
+ GraphQL/ArgumentDescription:
7
+ Enabled: false
8
+ GraphQL/FieldDescription:
9
+ Enabled: false
10
+ GraphQL/ObjectDescription:
11
+ Enabled: false
data/config/layout.yml ADDED
@@ -0,0 +1,128 @@
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/LineContinuationLeadingSpace:
64
+ Enabled: true
65
+ Layout/LineContinuationSpacing:
66
+ Enabled: true
67
+ Layout/MultilineAssignmentLayout:
68
+ Enabled: true
69
+ EnforcedStyle: same_line
70
+ Layout/MultilineBlockLayout:
71
+ Enabled: true
72
+ Exclude:
73
+ - spec/**/*
74
+ Layout/MultilineMethodCallIndentation:
75
+ Enabled: true
76
+ EnforcedStyle: indented
77
+ Exclude:
78
+ - spec/**/*
79
+ Layout/MultilineMethodDefinitionBraceLayout:
80
+ Enabled: true
81
+ Layout/MultilineOperationIndentation:
82
+ Enabled: true
83
+ Layout/RescueEnsureAlignment:
84
+ Enabled: true
85
+ Layout/SpaceAfterColon:
86
+ Enabled: true
87
+ Layout/SpaceAfterComma:
88
+ Enabled: true
89
+ Layout/SpaceAfterMethodName:
90
+ Enabled: true
91
+ Layout/SpaceAfterNot:
92
+ Enabled: true
93
+ Layout/SpaceAfterSemicolon:
94
+ Enabled: true
95
+ Layout/SpaceAroundBlockParameters:
96
+ Enabled: true
97
+ Layout/SpaceAroundEqualsInParameterDefault:
98
+ Enabled: true
99
+ Layout/SpaceAroundKeyword:
100
+ Enabled: true
101
+ Layout/SpaceAroundMethodCallOperator:
102
+ Enabled: true
103
+ Layout/SpaceAroundOperators:
104
+ Enabled: true
105
+ Layout/SpaceBeforeBrackets:
106
+ Enabled: true
107
+ Layout/SpaceBeforeComma:
108
+ Enabled: true
109
+ Layout/SpaceBeforeComment:
110
+ Enabled: true
111
+ Layout/SpaceBeforeFirstArg:
112
+ Enabled: true
113
+ Layout/SpaceBeforeSemicolon:
114
+ Enabled: true
115
+ Layout/SpaceInLambdaLiteral:
116
+ Enabled: true
117
+ Layout/SpaceInsideArrayPercentLiteral:
118
+ Enabled: true
119
+ Layout/SpaceInsideParens:
120
+ Enabled: true
121
+ Layout/SpaceInsidePercentLiteralDelimiters:
122
+ Enabled: true
123
+ Layout/SpaceInsideRangeLiteral:
124
+ Enabled: true
125
+ Layout/TrailingEmptyLines:
126
+ Enabled: true
127
+ Layout/TrailingWhitespace:
128
+ Enabled: true
data/config/lint.yml ADDED
@@ -0,0 +1,234 @@
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/ConstantOverwrittenInRescue:
22
+ Enabled: true
23
+ Lint/Debugger:
24
+ Enabled: true
25
+ Lint/DeprecatedClassMethods:
26
+ Enabled: true
27
+ Lint/DeprecatedConstants:
28
+ Enabled: true
29
+ Lint/DeprecatedOpenSSLConstant:
30
+ Enabled: true
31
+ Lint/DisjunctiveAssignmentInConstructor:
32
+ Enabled: true
33
+ Lint/DuplicateBranch:
34
+ Enabled: true
35
+ Lint/DuplicateCaseCondition:
36
+ Enabled: true
37
+ Lint/DuplicateElsifCondition:
38
+ Enabled: true
39
+ Lint/DuplicateHashKey:
40
+ Enabled: true
41
+ Lint/DuplicateMethods:
42
+ Enabled: true
43
+ Lint/DuplicateRegexpCharacterClassElement:
44
+ Enabled: true
45
+ Lint/DuplicateRequire:
46
+ Enabled: true
47
+ Lint/DuplicateRescueException:
48
+ Enabled: true
49
+ Lint/EachWithObjectArgument:
50
+ Enabled: true
51
+ Lint/ElseLayout:
52
+ Enabled: true
53
+ Lint/EmptyBlock:
54
+ Enabled: true
55
+ Lint/EmptyClass:
56
+ Enabled: true
57
+ Lint/EmptyConditionalBody:
58
+ Enabled: true
59
+ Lint/EmptyEnsure:
60
+ Enabled: true
61
+ Lint/EmptyExpression:
62
+ Enabled: true
63
+ Lint/EmptyFile:
64
+ Enabled: true
65
+ Lint/EmptyInPattern:
66
+ Enabled: true
67
+ Lint/EmptyInterpolation:
68
+ Enabled: true
69
+ Lint/EmptyWhen:
70
+ Enabled: true
71
+ Lint/EnsureReturn:
72
+ Enabled: true
73
+ Lint/FlipFlop:
74
+ Enabled: true
75
+ Lint/FloatComparison:
76
+ Enabled: true
77
+ Lint/FloatOutOfRange:
78
+ Enabled: true
79
+ Lint/FormatParameterMismatch:
80
+ Enabled: true
81
+ Lint/HashCompareByIdentity:
82
+ Enabled: true
83
+ Lint/HeredocMethodCallPosition:
84
+ Enabled: true
85
+ Lint/IdentityComparison:
86
+ Enabled: true
87
+ Lint/ImplicitStringConcatenation:
88
+ Enabled: true
89
+ Lint/IncompatibleIoSelectWithFiberScheduler:
90
+ Enabled: true
91
+ Lint/IneffectiveAccessModifier:
92
+ Enabled: true
93
+ Lint/InheritException:
94
+ Enabled: true
95
+ EnforcedStyle: standard_error
96
+ Lint/LiteralAsCondition:
97
+ Enabled: true
98
+ Lint/LiteralInInterpolation:
99
+ Enabled: true
100
+ Lint/Loop:
101
+ Enabled: true
102
+ Lint/MissingCopEnableDirective:
103
+ Enabled: true
104
+ Lint/MissingSuper:
105
+ Enabled: true
106
+ Lint/MixedRegexpCaptureTypes:
107
+ Enabled: true
108
+ Lint/MultipleComparison:
109
+ Enabled: true
110
+ Lint/NestedMethodDefinition:
111
+ Enabled: true
112
+ Lint/NextWithoutAccumulator:
113
+ Enabled: true
114
+ Lint/NonAtomicFileOperation:
115
+ Enabled: true
116
+ Lint/NonDeterministicRequireOrder:
117
+ Enabled: true
118
+ Lint/NonLocalExitFromIterator:
119
+ Enabled: true
120
+ Lint/NumberedParameterAssignment:
121
+ Enabled: true
122
+ Lint/OrAssignmentToConstant:
123
+ Enabled: true
124
+ Lint/OutOfRangeRegexpRef:
125
+ Enabled: true
126
+ Lint/ParenthesesAsGroupedExpression:
127
+ Enabled: true
128
+ Lint/PercentStringArray:
129
+ Enabled: true
130
+ Lint/PercentSymbolArray:
131
+ Enabled: true
132
+ Lint/RaiseException:
133
+ Enabled: true
134
+ Lint/RandOne:
135
+ Enabled: true
136
+ Lint/RedundantCopDisableDirective:
137
+ Enabled: true
138
+ Lint/RedundantCopEnableDirective:
139
+ Enabled: true
140
+ Lint/RedundantDirGlobSort:
141
+ Enabled: true
142
+ Lint/RedundantRequireStatement:
143
+ Enabled: true
144
+ Lint/RedundantSafeNavigation:
145
+ Enabled: true
146
+ Lint/RedundantSplatExpansion:
147
+ Enabled: true
148
+ Lint/RedundantStringCoercion:
149
+ Enabled: true
150
+ Lint/RedundantWithIndex:
151
+ Enabled: true
152
+ Lint/RedundantWithObject:
153
+ Enabled: true
154
+ Lint/RefinementImportMethods:
155
+ Enabled: true
156
+ Lint/RegexpAsCondition:
157
+ Enabled: true
158
+ Lint/RequireParentheses:
159
+ Enabled: true
160
+ Lint/RequireRelativeSelfPath:
161
+ Enabled: true
162
+ Lint/RescueException:
163
+ Enabled: true
164
+ Lint/RescueType:
165
+ Enabled: true
166
+ Lint/ReturnInVoidContext:
167
+ Enabled: true
168
+ Lint/SafeNavigationChain:
169
+ Enabled: true
170
+ AllowedMethods:
171
+ - present?
172
+ - blank?
173
+ - presence
174
+ - try
175
+ - try!
176
+ - to_bool
177
+ - to_liquid
178
+ - in?
179
+ Lint/SafeNavigationWithEmpty:
180
+ Enabled: true
181
+ Lint/ScriptPermission:
182
+ Enabled: true
183
+ Lint/SelfAssignment:
184
+ Enabled: true
185
+ Lint/SendWithMixinArgument:
186
+ Enabled: true
187
+ Lint/ShadowedException:
188
+ Enabled: true
189
+ Lint/StructNewOverride:
190
+ Enabled: true
191
+ Lint/SymbolConversion:
192
+ Enabled: true
193
+ Lint/ToEnumArguments:
194
+ Enabled: true
195
+ Lint/ToJSON:
196
+ Enabled: true
197
+ Lint/TopLevelReturnWithArgument:
198
+ Enabled: true
199
+ Lint/TrailingCommaInAttributeDeclaration:
200
+ Enabled: true
201
+ Lint/TripleQuotes:
202
+ Enabled: true
203
+ Lint/UnexpectedBlockArity:
204
+ Enabled: true
205
+ Lint/UnifiedInteger:
206
+ Enabled: true
207
+ Lint/UnmodifiedReduceAccumulator:
208
+ Enabled: true
209
+ Lint/UnreachableCode:
210
+ Enabled: true
211
+ Lint/UnreachableLoop:
212
+ Enabled: true
213
+ Lint/UnusedBlockArgument:
214
+ Enabled: true
215
+ Lint/UnusedMethodArgument:
216
+ Enabled: true
217
+ Lint/UriEscapeUnescape:
218
+ Enabled: true
219
+ Lint/UriRegexp:
220
+ Enabled: true
221
+ Lint/UselessAccessModifier:
222
+ Enabled: true
223
+ Lint/UselessAssignment:
224
+ Enabled: true
225
+ Lint/UselessMethodDefinition:
226
+ Enabled: true
227
+ Lint/UselessRuby2Keywords:
228
+ Enabled: true
229
+ Lint/UselessSetterCall:
230
+ Enabled: true
231
+ Lint/UselessTimes:
232
+ Enabled: true
233
+ Lint/Void:
234
+ Enabled: true
@@ -0,0 +1,2 @@
1
+ Metrics/BlockNesting:
2
+ Enabled: true
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