slim_lint_standard 0.0.3.2 → 0.0.3.3
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 +1 -2
- data/lib/slim_lint/linter/redundant_div.rb +1 -1
- data/lib/slim_lint/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 020c7a7dd42f91e0463080ae9d45ecce0d3216ad317a12d76093678762bace4f
|
4
|
+
data.tar.gz: 9180c1ba47218144cb202ef1a8acb0a2966cc1a45e02337dd5fb9f97a940c89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb2df502ae13382a90efe4fbf26d58b8901b7a4e0f47da6ed25419ab48144816ab8e7fc5f2fc404838ba731a7d10684003ce74f6557501ba14dbe200642da7e1
|
7
|
+
data.tar.gz: 626cdfa7d36e80933d0f8e95266c3cf5421b8a28bf53f73a99e26afe8306aef35445e93a70f4a18e8fa2d39505e7043d9a1682b2c35e2ff8cfd002d7739a0a1a
|
data/config/default.yml
CHANGED
@@ -11,7 +11,7 @@ module SlimLint
|
|
11
11
|
EXPLICIT_MESSAGE = "explicit `div` is preferred over bare %s attribute"
|
12
12
|
|
13
13
|
on [:html, :tag, capture(:tag, anything), capture(:attrs, [:html, :attrs]), anything] do |sexp|
|
14
|
-
case @config["
|
14
|
+
case @config["style"]
|
15
15
|
when "implicit", :implicit
|
16
16
|
_, _, name, value = captures[:attrs][2]
|
17
17
|
next unless captures[:tag] == "div"
|
data/lib/slim_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slim_lint_standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.
|
4
|
+
version: 0.0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pieter van de Bruggen
|
8
8
|
- Shane da Silva
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2025-01-29 00:00:00.000000000 Z
|
@@ -224,7 +224,7 @@ homepage: https://github.com/pvande/slim-lint-standard
|
|
224
224
|
licenses:
|
225
225
|
- MIT
|
226
226
|
metadata: {}
|
227
|
-
post_install_message:
|
227
|
+
post_install_message:
|
228
228
|
rdoc_options: []
|
229
229
|
require_paths:
|
230
230
|
- lib
|
@@ -239,8 +239,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
- !ruby/object:Gem::Version
|
240
240
|
version: '0'
|
241
241
|
requirements: []
|
242
|
-
rubygems_version: 3.
|
243
|
-
signing_key:
|
242
|
+
rubygems_version: 3.0.3.1
|
243
|
+
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Linter for Slim templates
|
246
246
|
test_files: []
|