govuk-lint 2.0.0 → 2.1.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/other-lint.yml +4 -0
- data/configs/rubocop/other-style.yml +6 -0
- data/lib/govuk/lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 128758e256d17b31eed912c0dfdee087081a33d4
|
4
|
+
data.tar.gz: efaccad03407955a9a549ae595a572feee871050
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f557a7cbabe0d3285302ea25e460fe3bcb095223dc857d9f81664abdbde68074e40d6fcb7aee5a5143fbd6d7ad4470e68e8f5baf5b85b12fea532032a74a6036
|
7
|
+
data.tar.gz: 28693e469940e429b5546f1158b3996a05ccb1ba9fe8b8772a3f738489a6097bf60e40c9b468fd4a903e98df02f00f75583bc66ba9a6b2bf76e3a1f12c2d2893
|
@@ -76,6 +76,10 @@ ParenthesesAsGroupedExpression:
|
|
76
76
|
parenthesis.
|
77
77
|
Enabled: true
|
78
78
|
|
79
|
+
PercentStringArray:
|
80
|
+
Description: Checks for unwanted commas and quotes in %w/%W literals eg %w('foo', “bar”).
|
81
|
+
Enabled: true
|
82
|
+
|
79
83
|
RequireParentheses:
|
80
84
|
Description: >-
|
81
85
|
Use parentheses in the method call to avoid confusion
|
@@ -297,6 +297,12 @@ RescueModifier:
|
|
297
297
|
Description: 'Avoid using rescue in its modifier form.'
|
298
298
|
Enabled: false
|
299
299
|
|
300
|
+
Style/SafeNavigation:
|
301
|
+
Description: >-
|
302
|
+
This cop transforms usages of a method call safeguarded by a check for the
|
303
|
+
existance of the object to safe navigation (`&.`).
|
304
|
+
Enabled: false
|
305
|
+
|
300
306
|
SelfAssignment:
|
301
307
|
Description: 'Checks for places where self-assignment shorthand should have been used.'
|
302
308
|
Enabled: false
|
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: 2.
|
4
|
+
version: 2.1.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: 2017-
|
11
|
+
date: 2017-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|