govuk-lint 3.7.0 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/configs/rubocop/gds-ruby-styleguide.yml +11 -3
- data/lib/govuk/lint/version.rb +1 -1
- 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: fe76c8fc7cff5b730722fad61b37c66e8caddb5d7810933ce3c37c0c1a1c71b4
|
4
|
+
data.tar.gz: aa181b8f0c3d924c718150c16b91f767769b8a0597140fa460ca278b00372ab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d6c9841c0ca1c89f21717524fbf7724e2a01ad7071dca3ce0a0bc42592e8839c0656a89a7c327ee704f754b1bd130a402f2cf63665ec48e9cc0678997054cf7
|
7
|
+
data.tar.gz: ac838da71e1beb8777fafd692651626b480addcf4acef3f46b171a7cee07123721fc1b1f71c490e81cbd23288f81172c4e500903ee697cd94c80e81ca8285fa1
|
@@ -90,8 +90,13 @@ SpaceAfterComma:
|
|
90
90
|
Enabled: true
|
91
91
|
|
92
92
|
# Supports --auto-correct
|
93
|
-
|
94
|
-
Description: No spaces after [ or before ].
|
93
|
+
SpaceInsideReferenceBrackets:
|
94
|
+
Description: No spaces after array[ or before ].
|
95
|
+
Enabled: true
|
96
|
+
|
97
|
+
# Supports --auto-correct
|
98
|
+
SpaceInsideArrayLiteralBrackets:
|
99
|
+
Description: No spaces after array = [ or before ].
|
95
100
|
Enabled: true
|
96
101
|
|
97
102
|
# Supports --auto-correct
|
@@ -140,7 +145,10 @@ For:
|
|
140
145
|
IfUnlessModifier:
|
141
146
|
Description: Favor modifier if/unless usage when you have a single-line body.
|
142
147
|
Enabled: false
|
143
|
-
|
148
|
+
|
149
|
+
Metrics:
|
150
|
+
LineLength:
|
151
|
+
Max: 80
|
144
152
|
|
145
153
|
MethodCalledOnDoEndBlock:
|
146
154
|
Description: Avoid chaining a method call on a do...end block.
|
data/lib/govuk/lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Government Digital Service
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.52.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.52.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|