reinteractive-style 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/default.yml +36 -16
- data/lib/reinteractive/style/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: b1faa8b80b0fcb344a504433a3dd2bf7eb576c9f642a79cc22cef9e871f8270a
|
|
4
|
+
data.tar.gz: 8b31116e1bc4f1498904c70348bd31a18786760c69437a136d8d14170826ad14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '033088888aa806868c3fa82d68484b92f3ccf1492d1863c713d028e8690c786be8658ce528faee7706030ccea9dabdf4dd189964b75a2d0c10969075ac13ed1c'
|
|
7
|
+
data.tar.gz: 3fbd1638069ac0f1be91373d4de363f7e74e19741c1613ebe23dd05a431e3928754bc4980625242d43dcec45a9c85286f65edd246c5b0f21617c88ae85cc17eb
|
data/default.yml
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
require: rubocop-rspec
|
|
2
2
|
|
|
3
3
|
AllCops:
|
|
4
|
+
DisplayCopNames: true
|
|
4
5
|
Include:
|
|
5
6
|
- "**/**/*.rake"
|
|
6
7
|
- "**/Gemfile"
|
|
7
8
|
- "**/Rakefile"
|
|
9
|
+
- '**/config.ru'
|
|
8
10
|
Exclude:
|
|
9
11
|
- "vendor/**/*"
|
|
10
12
|
- "db/**/*"
|
|
@@ -277,22 +279,40 @@ Style/SymbolProc:
|
|
|
277
279
|
Enabled: true
|
|
278
280
|
IgnoredMethods:
|
|
279
281
|
- respond_to
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
282
|
+
|
|
283
|
+
Style/TrailingCommaInArguments:
|
|
284
|
+
# If `comma`, the cop requires a comma after the last argument, but only for
|
|
285
|
+
# parenthesized method calls where each argument is on its own line.
|
|
286
|
+
# If `consistent_comma`, the cop requires a comma after the last argument,
|
|
287
|
+
# for all parenthesized method calls with arguments.
|
|
284
288
|
EnforcedStyleForMultiline: comma
|
|
285
289
|
SupportedStylesForMultiline:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
- comma
|
|
291
|
+
- consistent_comma
|
|
292
|
+
- no_comma
|
|
293
|
+
|
|
294
|
+
Style/TrailingCommaInArrayLiteral:
|
|
295
|
+
# If `comma`, the cop requires a comma after the last item in an array,
|
|
296
|
+
# but only when each item is on its own line.
|
|
297
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
|
298
|
+
# non-empty array literals.
|
|
292
299
|
EnforcedStyleForMultiline: comma
|
|
293
300
|
SupportedStylesForMultiline:
|
|
294
|
-
|
|
295
|
-
|
|
301
|
+
- comma
|
|
302
|
+
- consistent_comma
|
|
303
|
+
- no_comma
|
|
304
|
+
|
|
305
|
+
Style/TrailingCommaInHashLiteral:
|
|
306
|
+
# If `comma`, the cop requires a comma after the last item in a hash,
|
|
307
|
+
# but only when each item is on its own line.
|
|
308
|
+
# If `consistent_comma`, the cop requires a comma after the last item of all
|
|
309
|
+
# non-empty hash literals.
|
|
310
|
+
EnforcedStyleForMultiline: comma
|
|
311
|
+
SupportedStylesForMultiline:
|
|
312
|
+
- comma
|
|
313
|
+
- consistent_comma
|
|
314
|
+
- no_comma
|
|
315
|
+
|
|
296
316
|
Style/TrivialAccessors:
|
|
297
317
|
Description: Prefer attr_* methods to trivial readers/writers.
|
|
298
318
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
|
|
@@ -392,14 +412,14 @@ Lint/AssignmentInCondition:
|
|
|
392
412
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
|
|
393
413
|
Enabled: false
|
|
394
414
|
AllowSafeAssignment: true
|
|
395
|
-
|
|
415
|
+
Layout/EndAlignment:
|
|
396
416
|
Description: Align ends correctly.
|
|
397
417
|
Enabled: true
|
|
398
418
|
EnforcedStyleAlignWith: keyword
|
|
399
419
|
SupportedStylesAlignWith:
|
|
400
420
|
- keyword
|
|
401
421
|
- variable
|
|
402
|
-
|
|
422
|
+
Layout/DefEndAlignment:
|
|
403
423
|
Description: Align ends corresponding to defs correctly.
|
|
404
424
|
Enabled: true
|
|
405
425
|
EnforcedStyleAlignWith: start_of_line
|
|
@@ -966,10 +986,10 @@ Lint/AmbiguousRegexpLiteral:
|
|
|
966
986
|
Description: Checks for ambiguous regexp literals in the first argument of a method
|
|
967
987
|
invocation without parenthesis.
|
|
968
988
|
Enabled: false
|
|
969
|
-
|
|
989
|
+
Layout/BlockAlignment:
|
|
970
990
|
Description: Align block ends correctly.
|
|
971
991
|
Enabled: true
|
|
972
|
-
|
|
992
|
+
Layout/ConditionPosition:
|
|
973
993
|
Description: Checks for condition placed in a confusing position relative to the
|
|
974
994
|
keyword.
|
|
975
995
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
|