scss_lint 0.59.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/properties.txt +14 -0
- data/data/property-sort-orders/smacss.txt +4 -0
- data/lib/scss_lint/linter/chained_classes.rb +1 -1
- data/lib/scss_lint/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 570475ca333090a33a54d608ce015b5164c56b4b195d775cb96d4e01178a5c24
|
4
|
+
data.tar.gz: 02da18b960f297a62eb8f84736452bfd2aa0107cbac27ea532fbda399dfe0300
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed25ade8dbb9e0f16674924ecd7751a2a4d843ee08d1870e713623c569832c702f6a5308c31c069e71d5e8fa1e061d3469dce6995547d634a5294cb9061369a4
|
7
|
+
data.tar.gz: 5558c11fccfac36b82a6b2d20c741b9a7d2869893315da8957cde5168aa5c284ff1e2f7ad06ebcb838ef6b0d088afa1f533c5d93a5e27734379e6bfbe8192d56
|
data/data/properties.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
@keyframes
|
2
|
+
accent-color
|
2
3
|
align-content
|
3
4
|
align-items
|
4
5
|
align-self
|
@@ -203,6 +204,7 @@ font-variant
|
|
203
204
|
font-variant-ligatures
|
204
205
|
font-variant-numeric
|
205
206
|
font-weight
|
207
|
+
gap
|
206
208
|
glyph-orientation-horizontal
|
207
209
|
glyph-orientation-vertical
|
208
210
|
grid
|
@@ -395,6 +397,7 @@ perspective-origin-x
|
|
395
397
|
perspective-origin-y
|
396
398
|
phonemes
|
397
399
|
place-content
|
400
|
+
place-items
|
398
401
|
pointer-events
|
399
402
|
position
|
400
403
|
print-color-adjust
|
@@ -421,6 +424,16 @@ ruby-span
|
|
421
424
|
rx
|
422
425
|
ry
|
423
426
|
scroll-behavior
|
427
|
+
scroll-margin
|
428
|
+
scroll-margin-bottom
|
429
|
+
scroll-margin-left
|
430
|
+
scroll-margin-right
|
431
|
+
scroll-margin-top
|
432
|
+
scroll-padding
|
433
|
+
scroll-padding-bottom
|
434
|
+
scroll-padding-left
|
435
|
+
scroll-padding-right
|
436
|
+
scroll-padding-top
|
424
437
|
scrollbar-width
|
425
438
|
shape-image-threshold
|
426
439
|
shape-inside
|
@@ -489,6 +502,7 @@ text-stroke-width
|
|
489
502
|
text-transform
|
490
503
|
text-underline-color
|
491
504
|
text-underline-mode
|
505
|
+
text-underline-offset
|
492
506
|
text-underline-position
|
493
507
|
text-underline-style
|
494
508
|
text-underline-width
|
@@ -6,7 +6,7 @@ module SCSSLint
|
|
6
6
|
def visit_sequence(sequence)
|
7
7
|
line_offset = 0
|
8
8
|
sequence.members.each do |member|
|
9
|
-
line_offset += 1 if member =~ /\n/
|
9
|
+
line_offset += 1 if member.to_s =~ /\n/
|
10
10
|
next unless chained_class?(member)
|
11
11
|
add_lint(member.line + line_offset,
|
12
12
|
'Prefer using a distinct class over chained classes ' \
|
data/lib/scss_lint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scss_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.60.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:
|
11
|
+
date: 2023-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
|
-
rubygems_version: 3.
|
260
|
+
rubygems_version: 3.1.6
|
261
261
|
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: SCSS lint tool
|