rubocop-rootstrap 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +11 -14
- data/config/default_edge.yml +89 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3f1d838fb0e5452d3cc0a3dba469d86ae9ff0a9703dbbcdc503289a93257985
|
4
|
+
data.tar.gz: a64a31d6a8c9776a45ba70f30cf9c8a148e5231acc56f99a3d01dc3849a4cb76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91879051129c4b346e9d534fc5b0fdfbffbde8c228668da53248f83eda338e6b183c8314e1430475b0eae638299025c54d4d1e7b9b890879ec9a9f04c2857b35
|
7
|
+
data.tar.gz: f190f287453d4de28965525becdb40cc07d35d51c5ee530c0ad02412ccd3c2d1be01f80723be28e949b686643266a4939038aae1395b7c14fc2dc2beda762552
|
data/config/default.yml
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
Layout/LineLength:
|
2
|
+
Max: 100
|
3
|
+
# To make it possible to copy or click on URIs in the code, we allow lines
|
4
|
+
# containing a URI to be longer than Max.
|
5
|
+
AllowURI: true
|
6
|
+
URISchemes:
|
7
|
+
- http
|
8
|
+
- https
|
6
9
|
|
7
10
|
Lint/AmbiguousBlockAssociation:
|
8
11
|
Exclude:
|
@@ -36,15 +39,6 @@ Metrics/ModuleLength:
|
|
36
39
|
CountComments: false
|
37
40
|
Max: 200
|
38
41
|
|
39
|
-
Metrics/LineLength:
|
40
|
-
Max: 100
|
41
|
-
# To make it possible to copy or click on URIs in the code, we allow lines
|
42
|
-
# containing a URI to be longer than Max.
|
43
|
-
AllowURI: true
|
44
|
-
URISchemes:
|
45
|
-
- http
|
46
|
-
- https
|
47
|
-
|
48
42
|
Metrics/ParameterLists:
|
49
43
|
Max: 5
|
50
44
|
CountKeywordArgs: true
|
@@ -55,6 +49,9 @@ Metrics/PerceivedComplexity:
|
|
55
49
|
Style/BlockDelimiters:
|
56
50
|
EnforcedStyle: braces_for_chaining
|
57
51
|
|
52
|
+
Style/Documentation:
|
53
|
+
Enabled: false
|
54
|
+
|
58
55
|
Style/ExpandPathArguments:
|
59
56
|
Enabled: false
|
60
57
|
|
data/config/default_edge.yml
CHANGED
@@ -1,31 +1,118 @@
|
|
1
1
|
inherit_from: default.yml
|
2
2
|
|
3
|
+
Layout/ClassStructure:
|
4
|
+
Enabled: true
|
5
|
+
|
3
6
|
Layout/EmptyLinesAroundAttributeAccessor:
|
4
7
|
Enabled: true
|
5
8
|
|
6
9
|
Layout/SpaceAroundMethodCallOperator:
|
7
10
|
Enabled: true
|
8
11
|
|
12
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
13
|
+
Enabled: false
|
14
|
+
|
9
15
|
Lint/DeprecatedOpenSSLConstant:
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Lint/DuplicateElsifCondition:
|
19
|
+
Enabled: true
|
20
|
+
|
21
|
+
Lint/DuplicateRescueException:
|
22
|
+
Enabled: true
|
23
|
+
|
24
|
+
Lint/EmptyConditionalBody:
|
25
|
+
Enabled: true
|
26
|
+
|
27
|
+
Lint/FloatComparison:
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
Lint/MissingSuper:
|
10
31
|
Enabled: true
|
11
32
|
|
12
33
|
Lint/MixedRegexpCaptureTypes:
|
13
34
|
Enabled: true
|
14
35
|
|
36
|
+
Lint/OutOfRangeRegexpRef:
|
37
|
+
Enabled: true
|
38
|
+
|
15
39
|
Lint/RaiseException:
|
40
|
+
Enabled: false
|
41
|
+
|
42
|
+
Lint/SelfAssignment:
|
16
43
|
Enabled: true
|
17
44
|
|
18
45
|
Lint/StructNewOverride:
|
19
46
|
Enabled: true
|
20
47
|
|
48
|
+
Lint/TopLevelReturnWithArgument:
|
49
|
+
Enabled: true
|
50
|
+
|
51
|
+
Lint/UnreachableLoop:
|
52
|
+
Enabled: true
|
53
|
+
|
54
|
+
Style/AccessorGrouping:
|
55
|
+
Enabled: true
|
56
|
+
EnforcedStyle: grouped
|
57
|
+
|
58
|
+
Style/ArrayCoercion:
|
59
|
+
Enabled: true
|
60
|
+
|
61
|
+
Style/BisectedAttrAccessor:
|
62
|
+
Enabled: true
|
63
|
+
|
64
|
+
Style/CaseLikeIf:
|
65
|
+
Enabled: true
|
66
|
+
|
67
|
+
Style/ExplicitBlockArgument:
|
68
|
+
Enabled: true
|
69
|
+
|
21
70
|
Style/ExponentialNotation:
|
71
|
+
Enabled: true
|
72
|
+
EnforcedStyle: scientific
|
73
|
+
|
74
|
+
Style/GlobalStdStream:
|
22
75
|
Enabled: false
|
23
76
|
|
24
|
-
Style/
|
77
|
+
Style/HashAsLastArrayItem:
|
25
78
|
Enabled: true
|
26
79
|
|
27
|
-
Style/
|
80
|
+
Style/HashLikeCase:
|
81
|
+
Enabled: true
|
82
|
+
MinBranchesCount: 4
|
83
|
+
|
84
|
+
Style/HashEachMethods:
|
28
85
|
Enabled: false
|
29
86
|
|
87
|
+
Style/HashTransformKeys:
|
88
|
+
Enabled: false
|
89
|
+
|
90
|
+
Style/HashTransformValues:
|
91
|
+
Enabled: false
|
92
|
+
|
93
|
+
Style/OptionalBooleanParameter:
|
94
|
+
Enabled: true
|
95
|
+
|
96
|
+
Style/RedundantAssignment:
|
97
|
+
Enabled: true
|
98
|
+
|
99
|
+
Style/RedundantFetchBlock:
|
100
|
+
Enabled: false
|
101
|
+
|
102
|
+
Style/RedundantFileExtensionInRequire:
|
103
|
+
Enabled: false
|
104
|
+
|
105
|
+
Style/RedundantRegexpCharacterClass:
|
106
|
+
Enabled: false
|
107
|
+
|
108
|
+
Style/RedundantRegexpEscape:
|
109
|
+
Enabled: true
|
110
|
+
|
111
|
+
Style/SingleArgumentDig:
|
112
|
+
Enabled: true
|
113
|
+
|
30
114
|
Style/SlicingWithRange:
|
31
115
|
Enabled: false
|
116
|
+
|
117
|
+
Style/StringConcatenation:
|
118
|
+
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rootstrap
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07
|
11
|
+
date: 2020-08-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '0.72'
|
20
20
|
- - "<="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: 0.89.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '0.72'
|
30
30
|
- - "<="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: 0.89.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rake
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|