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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ca9440e19522da0a0267682f9d09b4cabe462f7995f068c82fd496d83b17fe1
4
- data.tar.gz: 522e9076370ca0ec938bf9492228d2743a4318772d4dc2a359571e5e07168564
3
+ metadata.gz: fe76c8fc7cff5b730722fad61b37c66e8caddb5d7810933ce3c37c0c1a1c71b4
4
+ data.tar.gz: aa181b8f0c3d924c718150c16b91f767769b8a0597140fa460ca278b00372ab6
5
5
  SHA512:
6
- metadata.gz: 28c4cdd7e92f2b3c3f2bd2a24a9991a5da8d3969bc9f8796590242c817498186374cea2323a0703d5d9763e22daf1e1092970444e4f59f7328d392208a5de35e
7
- data.tar.gz: 1f9028be637d6608cb68d2f460ddf584a0179f8f5c05f69d2b45acf9dca4dec5617158fc906fba7fb04cbe541a5b4483626c4ec4b85e38d8c1442c0a4319ef58
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
- SpaceInsideBrackets:
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
- MaxLineLength: 80
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.
@@ -1,5 +1,5 @@
1
1
  module Govuk
2
2
  module Lint
3
- VERSION = "3.7.0".freeze
3
+ VERSION = "3.8.0".freeze
4
4
  end
5
5
  end
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.7.0
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-03-13 00:00:00.000000000 Z
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.51.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.51.0
68
+ version: 0.52.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement