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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +18 -9
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 742ac8922b93772fced03fbdd83cae0348f2fac90a78e508583a20a4890f616e
4
- data.tar.gz: 2e181d37ab4e143237e133b4439faf1ac0e750069ee8ff174cfd7d67aa0ea014
3
+ metadata.gz: 6095d79bd2ef760088027a2d7b92e37af0cfedcdf9b70c120d88655302d0893c
4
+ data.tar.gz: ea4856a93e68e158a555c2ffa2c9241a570ab7055d31ea70880daeb8fd33ad27
5
5
  SHA512:
6
- metadata.gz: 61976e486ab2beb4e6c2d47d451d4608e5f401979094d13a3eed7c00695bd2ef4cd163b919a74af1845297690dc1b6fe9e1b4b6584f985e7c482ebe5cab1a965
7
- data.tar.gz: ab0f10599c1674671ec74f725a577f4887c21cc08a50cafb7fa168419b4a50c93bd4205be9ce715889f82695b0c1b3dd00d6beca1e3d2b47d94adccba4581041
6
+ metadata.gz: d055e17e935cdd9a62a18cd577dfc6818ba119dce79be61034b39d3b2aa1a623fa27282ef04630b48c3e312c71a8c862eb77fbb07e9ad60dc62cb09c9a335616
7
+ data.tar.gz: 8b1a86a2a4896adaa565a857902eb64cd98a2d0654648493137b847df9c845a794d3f2f8ea4e0c9f3d61a7f71badb8efc069f9e3b8ffdb3d2f792d27e29cf9ea
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  AllCops:
3
3
  TargetRubyVersion: 2.5
4
- Metrics/LineLength:
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/BracesAroundHashParameters:
85
- # This rule prevents distinguishing between keyword arguments and a hash
86
- # parameter.
87
- Enabled: false
88
- Layout/IndentFirstArgument:
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/UncommunicativeMethodParamName:
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/AlignHash:
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/IndentFirstHashElement:
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.1
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: 2018-03-05 00:00:00.000000000 Z
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: edge@iknow.jp