rubocop-iknow 0.0.1 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +18 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6095d79bd2ef760088027a2d7b92e37af0cfedcdf9b70c120d88655302d0893c
|
4
|
+
data.tar.gz: ea4856a93e68e158a555c2ffa2c9241a570ab7055d31ea70880daeb8fd33ad27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d055e17e935cdd9a62a18cd577dfc6818ba119dce79be61034b39d3b2aa1a623fa27282ef04630b48c3e312c71a8c862eb77fbb07e9ad60dc62cb09c9a335616
|
7
|
+
data.tar.gz: 8b1a86a2a4896adaa565a857902eb64cd98a2d0654648493137b847df9c845a794d3f2f8ea4e0c9f3d61a7f71badb8efc069f9e3b8ffdb3d2f792d27e29cf9ea
|
data/rubocop.yml
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
---
|
2
2
|
AllCops:
|
3
3
|
TargetRubyVersion: 2.5
|
4
|
-
|
4
|
+
NewCops: enable
|
5
|
+
Layout/LineLength:
|
5
6
|
# Max: 100
|
6
7
|
Enabled: false # Potentially bring this back later
|
7
8
|
Metrics/BlockLength:
|
@@ -73,6 +74,10 @@ Lint/UnusedMethodArgument:
|
|
73
74
|
IgnoreEmptyMethods: true
|
74
75
|
Lint/EmptyWhen:
|
75
76
|
Enabled: false
|
77
|
+
Lint/RaiseException:
|
78
|
+
Enabled: true
|
79
|
+
Lint/StructNewOverride:
|
80
|
+
Enabled: false
|
76
81
|
Style/ClassAndModuleChildren:
|
77
82
|
Enabled: false
|
78
83
|
Style/NonNilCheck:
|
@@ -81,11 +86,13 @@ Style/HashSyntax:
|
|
81
86
|
# We explicitly choose to use rocket style syntax when the Hash is being used
|
82
87
|
# to represent some other sort of data structure (trees, pairs, etc).
|
83
88
|
Enabled: false
|
84
|
-
Style/
|
85
|
-
|
86
|
-
|
87
|
-
Enabled:
|
88
|
-
|
89
|
+
Style/HashEachMethods:
|
90
|
+
Enabled: true
|
91
|
+
Style/HashTransformKeys:
|
92
|
+
Enabled: true
|
93
|
+
Style/HashTransformValues:
|
94
|
+
Enabled: true
|
95
|
+
Layout/FirstArgumentIndentation:
|
89
96
|
# This forbids indentation relative to the expression
|
90
97
|
Enabled: false
|
91
98
|
Style/SafeNavigation:
|
@@ -114,18 +121,20 @@ Style/SymbolLiteral:
|
|
114
121
|
Enabled: false
|
115
122
|
Naming/AccessorMethodName:
|
116
123
|
Enabled: false
|
117
|
-
Naming/
|
124
|
+
Naming/MethodParameterName:
|
118
125
|
Enabled: false
|
119
126
|
Naming/VariableNumber:
|
120
127
|
Enabled: false
|
121
128
|
Naming/PredicateName:
|
122
129
|
NamePrefix: ['is_']
|
130
|
+
Naming/RescuedExceptionsVariableName:
|
131
|
+
Enabled: false
|
123
132
|
Style/SingleLineMethods:
|
124
133
|
Enabled: false
|
125
134
|
Style/CommentedKeyword:
|
126
135
|
Enabled: false
|
127
136
|
|
128
|
-
Layout/
|
137
|
+
Layout/HashAlignment:
|
129
138
|
EnforcedHashRocketStyle:
|
130
139
|
- table
|
131
140
|
- key
|
@@ -161,7 +170,7 @@ Layout/MultilineMethodCallBraceLayout:
|
|
161
170
|
Enabled: false
|
162
171
|
Layout/MultilineHashBraceLayout:
|
163
172
|
Enabled: false
|
164
|
-
Layout/
|
173
|
+
Layout/FirstHashElementIndentation:
|
165
174
|
# This one in particular forbids what Emacs does by default for multi-line
|
166
175
|
# hash entries
|
167
176
|
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-iknow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iKnow Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: edge@iknow.jp
|