haml_lint 0.41.0 → 0.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haml_lint/adapter/haml_4.rb +2 -0
- data/lib/haml_lint/linter/rubocop.rb +2 -1
- data/lib/haml_lint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45d676ecd18fa32156a84c6f6d2c5a062a3a74fc8bacfc5ae6ec9e2b2c5436a7
|
4
|
+
data.tar.gz: '038b1f81556d35a4c6037b2ec5e08428465f8d09258d3c603a3ee7cbaf4f1f55'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e69de9bbae167b9f61818498b008dfb4789a41d7b9753b04035951c544385d160e69ccde08dee04ee2a7a786efc14f4657ed468935056ade34fcf0d185d82167
|
7
|
+
data.tar.gz: dc2e034a37c3fb7ede287d16d83b1cdbfbc1597ee5ba96c59571b9b975585112d36880a228d9ea35585a958694d7f322e965f4d927d95de167dd5399cf93417c
|
@@ -100,8 +100,9 @@ module HamlLint
|
|
100
100
|
#
|
101
101
|
# @return [Array<String>]
|
102
102
|
def rubocop_flags
|
103
|
+
config_file = ENV['HAML_LINT_RUBOCOP_CONF'] || config['config_file']
|
103
104
|
flags = %w[--format HamlLint::OffenseCollector]
|
104
|
-
flags += ['--config',
|
105
|
+
flags += ['--config', config_file] if config_file
|
105
106
|
flags += ['--stdin']
|
106
107
|
flags
|
107
108
|
end
|
data/lib/haml_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haml_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shane da Silva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml
|