ryu39cop 0.73.0.1 → 0.73.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rubocop.yml +17 -13
- data/lib/ryu39cop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb938b0c719392acba0788ef2c8e9869bf3b3c262ae906d3f8a94c2f9507bd3d
|
4
|
+
data.tar.gz: b40379e2a1287b0c4386fa71b4263d6004f6dc5877b0592afebc4ea55243681b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c0afb396f138ac3813b53efe389632fe2831ef3cec3fdb03afc127ae5b58836c57f8325bdf1bdb9c1c42491d0cdcfe0400f9821a9cdf215ac5445f4823fa768
|
7
|
+
data.tar.gz: 6756817bbca608e600562511e244939c824120e78eed7171669dfc1d0c10a7a2204885729d1562f5862f31da2c4e88ac236ae090dfd6734f4220c5aa4bd4a054
|
data/config/rubocop.yml
CHANGED
@@ -110,6 +110,18 @@ Metrics/ParameterLists:
|
|
110
110
|
Metrics/PerceivedComplexity:
|
111
111
|
Max: 8
|
112
112
|
|
113
|
+
## Naming
|
114
|
+
Naming/ConstantName:
|
115
|
+
Enabled: true
|
116
|
+
|
117
|
+
Naming/PredicateName:
|
118
|
+
NamePrefixBlacklist:
|
119
|
+
- 'is_'
|
120
|
+
- 'have_'
|
121
|
+
NamePrefix:
|
122
|
+
- 'is_'
|
123
|
+
- 'have_'
|
124
|
+
|
113
125
|
## Performance
|
114
126
|
# https://rubocop.readthedocs.io/en/latest/cops_performance/
|
115
127
|
|
@@ -158,9 +170,6 @@ Style/CollectionMethods:
|
|
158
170
|
inject: 'inject'
|
159
171
|
reduce: 'inject'
|
160
172
|
|
161
|
-
Style/ConstantName:
|
162
|
-
Enabled: true
|
163
|
-
|
164
173
|
# めんどくさい
|
165
174
|
Style/Documentation:
|
166
175
|
Enabled: false
|
@@ -220,14 +229,6 @@ Style/PercentLiteralDelimiters:
|
|
220
229
|
Style/PerlBackrefs:
|
221
230
|
AutoCorrect: false
|
222
231
|
|
223
|
-
Style/PredicateName:
|
224
|
-
NamePrefixBlacklist:
|
225
|
-
- 'is_'
|
226
|
-
- 'have_'
|
227
|
-
NamePrefix:
|
228
|
-
- 'is_'
|
229
|
-
- 'have_'
|
230
|
-
|
231
232
|
Style/PreferredHashMethods:
|
232
233
|
EnforcedStyle: verbose
|
233
234
|
|
@@ -253,8 +254,11 @@ Style/SymbolArray:
|
|
253
254
|
Style/TernaryParentheses:
|
254
255
|
EnforcedStyle: require_parentheses_when_complex
|
255
256
|
|
256
|
-
Style/
|
257
|
-
EnforcedStyleForMultiline:
|
257
|
+
Style/TrailingCommaInArrayLiteral:
|
258
|
+
EnforcedStyleForMultiline: consistent_comma
|
259
|
+
|
260
|
+
Style/TrailingCommaInHashLiteral:
|
261
|
+
EnforcedStyleForMultiline: consistent_comma
|
258
262
|
|
259
263
|
Style/WordArray:
|
260
264
|
Enabled: false
|
data/lib/ryu39cop/version.rb
CHANGED