fablicop 0.2.0 → 0.3.0
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 +37 -1
- data/lib/fablicop/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 808665dd1fd52440df98197ff67cb531693e9c27
|
4
|
+
data.tar.gz: af16195d542741208f63bb618006f3b81dc24400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62f86c8caf26512cb542e38d0fc2cae13715905ebb8014602bd7452ec83e99fd739c3e2bdbb59fe30924e4789fdacbad6371cd416ee8ec78cdc7f2cd3466354c
|
7
|
+
data.tar.gz: 0b12ea3ac2c94ec0cca0307d9bed9dc01a0e0860c1c7fb28d767a762bb6238429e0c77f94841b21b4231d4c9905dabe830243c053475f249f66c6fb0a79c2463
|
data/config/.rubocop.yml
CHANGED
@@ -21,7 +21,7 @@ Rails/HttpPositionalArguments:
|
|
21
21
|
Style/AsciiComments:
|
22
22
|
Enabled: false
|
23
23
|
|
24
|
-
#
|
24
|
+
# 複数行の場合は末尾にカンマを入れる
|
25
25
|
Style/TrailingCommaInLiteral:
|
26
26
|
EnforcedStyleForMultiline: comma
|
27
27
|
Style/TrailingCommaInArguments:
|
@@ -59,11 +59,47 @@ Style/MultilineBlockChain:
|
|
59
59
|
Enabled: false
|
60
60
|
Style/EmptyMethod:
|
61
61
|
Enabled: false
|
62
|
+
# 引数の書き方の多様性を許可
|
63
|
+
# foo(a,
|
64
|
+
# b
|
65
|
+
# )
|
66
|
+
# foo(
|
67
|
+
# a,
|
68
|
+
# b)
|
69
|
+
# foo(
|
70
|
+
# a,
|
71
|
+
# b
|
72
|
+
# )
|
73
|
+
# foo(a,
|
74
|
+
# b)
|
62
75
|
Style/MultilineMethodCallBraceLayout:
|
63
76
|
Enabled: false
|
77
|
+
# メソッド指定の多様性を許可
|
78
|
+
# while a
|
79
|
+
# .b
|
80
|
+
# something
|
81
|
+
# end
|
82
|
+
# while a
|
83
|
+
# .b
|
84
|
+
# something
|
85
|
+
# end
|
86
|
+
# Thing.a
|
87
|
+
# .b
|
88
|
+
# .c
|
89
|
+
# while a
|
90
|
+
# .b
|
91
|
+
# something
|
92
|
+
# end
|
64
93
|
Style/MultilineMethodCallIndentation:
|
65
94
|
Enabled: false
|
66
95
|
|
96
|
+
# aaa(bbb(
|
97
|
+
# ccc
|
98
|
+
# ))
|
99
|
+
# 的なのができないのは不便すぎるのでdisable
|
100
|
+
Style/FirstParameterIndentation:
|
101
|
+
Enabled: false
|
102
|
+
|
67
103
|
##################### Layout ##################################
|
68
104
|
# 引数前のスペースは複数許可
|
69
105
|
Layout/SpaceBeforeFirstArg:
|
data/lib/fablicop/version.rb
CHANGED