rubocop-intum 0.1.0 → 0.1.1
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/Gemfile +1 -0
- data/lib/rubocop/intum/version.rb +1 -1
- data/rubocop.yml +0 -102
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 799eea2e81a725548ce3fb7b80711cd12c3d884eec93097f070be69edbb5bee3
|
|
4
|
+
data.tar.gz: 5e354e97520f1fb4411022e494be1bf2ce4f5bc880b2837fc68dfc38a71c58f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8360d32e7d6cc102f4f8be3cc435ba6e82ffc146061d1401cea79bdf9d7dd28ae7f174f9c3ee1badf1c7fa62b2878f580934978aa161701eb939415cf7c1b012
|
|
7
|
+
data.tar.gz: 1f4995828e80be3d7ac699687a62e980b4bf4f91e3e79b279636375c8af5601f97330cc69d8fa14ed36eb0eb81dd75f25946abdd5ece5cd5d21f20bd1a493118
|
data/Gemfile
CHANGED
data/rubocop.yml
CHANGED
|
@@ -65,29 +65,6 @@ Layout/FirstHashElementIndentation:
|
|
|
65
65
|
# But it can be overridden by setting this parameter
|
|
66
66
|
IndentationWidth: ~
|
|
67
67
|
|
|
68
|
-
Layout/LineLength:
|
|
69
|
-
Description: 'Checks that line length does not exceed the configured limit.'
|
|
70
|
-
StyleGuide: '#max-line-length'
|
|
71
|
-
Enabled: true
|
|
72
|
-
VersionAdded: '0.25'
|
|
73
|
-
VersionChanged: '0.84'
|
|
74
|
-
AutoCorrect: false
|
|
75
|
-
Max: 130
|
|
76
|
-
# To make it possible to copy or click on URIs in the code, we allow lines
|
|
77
|
-
# containing a URI to be longer than Max.
|
|
78
|
-
AllowHeredoc: true
|
|
79
|
-
AllowURI: true
|
|
80
|
-
URISchemes:
|
|
81
|
-
- http
|
|
82
|
-
- https
|
|
83
|
-
# The IgnoreCopDirectives option causes the LineLength rule to ignore cop
|
|
84
|
-
# directives like '# rubocop: enable ...' when calculating a line's length.
|
|
85
|
-
IgnoreCopDirectives: true
|
|
86
|
-
# The IgnoredPatterns option is a list of !ruby/regexp and/or string
|
|
87
|
-
# elements. Strings will be converted to Regexp objects. A line that matches
|
|
88
|
-
# any regular expression listed in this option will be ignored by LineLength.
|
|
89
|
-
AllowedPatterns: ['(^\s*\#.*)|(.*\s\#.*)']
|
|
90
|
-
|
|
91
68
|
Layout/SpaceBeforeBlockBraces:
|
|
92
69
|
Description: >-
|
|
93
70
|
Checks that the left block brace has or doesn't have space
|
|
@@ -145,81 +122,6 @@ Metrics/AbcSize:
|
|
|
145
122
|
IgnoredMethods: []
|
|
146
123
|
Max: 50
|
|
147
124
|
|
|
148
|
-
Metrics/BlockLength:
|
|
149
|
-
Description: 'Avoid long blocks with many lines.'
|
|
150
|
-
Enabled: true
|
|
151
|
-
VersionAdded: '0.44'
|
|
152
|
-
VersionChanged: '0.87'
|
|
153
|
-
CountComments: false # count full line comments?
|
|
154
|
-
Max: 100
|
|
155
|
-
CountAsOne: []
|
|
156
|
-
IgnoredMethods:
|
|
157
|
-
# By default, exclude the `#refine` method, as it tends to have larger
|
|
158
|
-
# associated blocks.
|
|
159
|
-
- refine
|
|
160
|
-
Exclude:
|
|
161
|
-
- '**/*.gemspec'
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
Metrics/ClassLength:
|
|
165
|
-
Description: 'Avoid classes longer than 100 lines of code.'
|
|
166
|
-
Enabled: true
|
|
167
|
-
VersionAdded: '0.25'
|
|
168
|
-
VersionChanged: '0.87'
|
|
169
|
-
CountComments: false # count full line comments?
|
|
170
|
-
Max: 300
|
|
171
|
-
CountAsOne: []
|
|
172
|
-
|
|
173
|
-
Metrics/CyclomaticComplexity:
|
|
174
|
-
Description: >-
|
|
175
|
-
A complexity metric that is strongly correlated to the number
|
|
176
|
-
of test cases needed to validate a method.
|
|
177
|
-
Enabled: true
|
|
178
|
-
VersionAdded: '0.25'
|
|
179
|
-
VersionChanged: '0.81'
|
|
180
|
-
IgnoredMethods: []
|
|
181
|
-
Max: 15
|
|
182
|
-
|
|
183
|
-
Metrics/MethodLength:
|
|
184
|
-
Description: 'Avoid methods longer than 10 lines of code.'
|
|
185
|
-
StyleGuide: '#short-methods'
|
|
186
|
-
Enabled: true
|
|
187
|
-
VersionAdded: '0.25'
|
|
188
|
-
VersionChanged: '0.87'
|
|
189
|
-
CountComments: false # count full line comments?
|
|
190
|
-
Max: 100
|
|
191
|
-
CountAsOne: []
|
|
192
|
-
IgnoredMethods: []
|
|
193
|
-
|
|
194
|
-
Metrics/ModuleLength:
|
|
195
|
-
Description: 'Avoid modules longer than 100 lines of code.'
|
|
196
|
-
Enabled: true
|
|
197
|
-
VersionAdded: '0.31'
|
|
198
|
-
VersionChanged: '0.87'
|
|
199
|
-
CountComments: false # count full line comments?
|
|
200
|
-
Max: 400
|
|
201
|
-
CountAsOne: []
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
Metrics/ParameterLists:
|
|
205
|
-
Description: 'Avoid parameter lists longer than three or four parameters.'
|
|
206
|
-
StyleGuide: '#too-many-params'
|
|
207
|
-
Enabled: true
|
|
208
|
-
VersionAdded: '0.25'
|
|
209
|
-
Max: 7
|
|
210
|
-
CountKeywordArgs: true
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
Metrics/PerceivedComplexity:
|
|
214
|
-
Description: >-
|
|
215
|
-
A complexity metric geared towards measuring complexity for a
|
|
216
|
-
human reader.
|
|
217
|
-
Enabled: true
|
|
218
|
-
VersionAdded: '0.25'
|
|
219
|
-
VersionChanged: '0.81'
|
|
220
|
-
IgnoredMethods: []
|
|
221
|
-
Max: 20
|
|
222
|
-
|
|
223
125
|
|
|
224
126
|
Naming/AccessorMethodName:
|
|
225
127
|
Description: Check the naming of accessor methods for get_/set_.
|
|
@@ -227,7 +129,6 @@ Naming/AccessorMethodName:
|
|
|
227
129
|
Enabled: false
|
|
228
130
|
VersionAdded: '0.50'
|
|
229
131
|
|
|
230
|
-
|
|
231
132
|
Naming/PredicateName:
|
|
232
133
|
Description: 'Check the names of predicate methods.'
|
|
233
134
|
StyleGuide: '#bool-methods-qmark'
|
|
@@ -280,7 +181,6 @@ Style/AsciiComments:
|
|
|
280
181
|
VersionChanged: '0.52'
|
|
281
182
|
AllowedChars: []
|
|
282
183
|
|
|
283
|
-
|
|
284
184
|
Style/BlockDelimiters:
|
|
285
185
|
Description: >-
|
|
286
186
|
Avoid using {...} for multi-line blocks (multiline chaining is
|
|
@@ -393,7 +293,6 @@ Style/BlockDelimiters:
|
|
|
393
293
|
# the `line_count_based` style.
|
|
394
294
|
BracesRequiredMethods: []
|
|
395
295
|
|
|
396
|
-
|
|
397
296
|
Style/ClassAndModuleChildren:
|
|
398
297
|
Description: 'Checks style of children classes and modules.'
|
|
399
298
|
StyleGuide: '#namespace-definition'
|
|
@@ -867,7 +766,6 @@ Style/FetchEnvVar:
|
|
|
867
766
|
Layout/ParameterAlignment:
|
|
868
767
|
EnforcedStyle: with_fixed_indentation
|
|
869
768
|
|
|
870
|
-
|
|
871
769
|
Style/MethodCallWithArgsParentheses:
|
|
872
770
|
Enabled: false
|
|
873
771
|
# IgnoredMethods:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-intum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcin
|
|
@@ -9,7 +9,21 @@ autorequire:
|
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2022-08-03 00:00:00.000000000 Z
|
|
12
|
-
dependencies:
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rubocop-shopify
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '1.0'
|
|
13
27
|
description: Write a longer description or delete this line.
|
|
14
28
|
email:
|
|
15
29
|
- marcin@radgost.com
|