scss_lint 0.52.0 → 0.53.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19af5419180f80bdaad53ecffaa33992432af5e0
4
- data.tar.gz: ad403dc48c33f6658ff318dabcd8f4fb3b2f5ba0
3
+ metadata.gz: 28bb5edd241b1790563ffb57972f89f8a169f9af
4
+ data.tar.gz: c1a9b234a92f4729a7ec3353fd7e7c7d03fff662
5
5
  SHA512:
6
- metadata.gz: 1c4f46183c914ad9f99cd41fc63583413e08465ccc76ea60387d12c11bfae897fe91e5cbdb354795d6bc65f813f59fea7aa4024385acbe372206ab0ed7a629ea
7
- data.tar.gz: 45baee65c2f6a3d0268c3ff442e5ab93db4dcab3cafc3f73d29f0c756c9db6b76a21e6bd19d444ecba6e337e9741411eb6a5723b76ec3a689db743fb480ffb44
6
+ metadata.gz: d29131bc10b67067ad84e4ebc5aac6a8857a017ae963b26e54804338d50bad871756c373e7588929e1c0e5a43334b89d09f44788ace9ad9a79ef3586d4ac4229
7
+ data.tar.gz: e0aa4f037e09dde3fa7487dcab53802d8cd3f481ac083b19f201500d059d2cdf90c1c4d2e92d33c5f075b56849bf93f9913ed0191ade5d8e8135dd804e611954
@@ -33,6 +33,7 @@ float
33
33
  clear
34
34
 
35
35
  transform
36
+ transform-origin
36
37
  transition
37
38
 
38
39
  animation
@@ -1,15 +1,25 @@
1
- # SMACSS Property Order
1
+ # based on SMACSS Property Order
2
2
  # http://smacss.com/book/formatting
3
3
 
4
+ # Heading
5
+
6
+ content
7
+ quotes
8
+
4
9
  # Box
5
10
 
6
11
  display
12
+ visibility
13
+
7
14
  position
15
+ z-index
8
16
  top
9
17
  right
10
18
  bottom
11
19
  left
12
20
 
21
+ box-sizing
22
+
13
23
  flex
14
24
  flex-basis
15
25
  flex-direction
@@ -26,7 +36,6 @@ order
26
36
  width
27
37
  min-width
28
38
  max-width
29
-
30
39
  height
31
40
  min-height
32
41
  max-height
@@ -45,7 +54,13 @@ padding-left
45
54
 
46
55
  float
47
56
  clear
57
+
58
+ overflow
59
+ overflow-x
60
+ overflow-y
61
+
48
62
  clip
63
+ zoom
49
64
 
50
65
  columns
51
66
  column-gap
@@ -55,16 +70,39 @@ column-span
55
70
  column-count
56
71
  column-width
57
72
 
73
+ table-layout
74
+ empty-cells
75
+ caption-side
76
+ border-spacing
77
+ border-collapse
78
+ list-style
79
+ list-style-position
80
+ list-style-type
81
+ list-style-image
82
+
83
+ # Animation
84
+
58
85
  transform
59
- transform-box
60
86
  transform-origin
61
87
  transform-style
88
+ backface-visibility
89
+ perspective
90
+ perspective-origin
62
91
 
63
92
  transition
64
- transition-delay
65
- transition-duration
66
93
  transition-property
94
+ transition-duration
67
95
  transition-timing-function
96
+ transition-delay
97
+
98
+ animation
99
+ animation-name
100
+ animation-duration
101
+ animation-play-state
102
+ animation-timing-function
103
+ animation-delay
104
+ animation-iteration-count
105
+ animation-direction
68
106
 
69
107
  # Border
70
108
 
@@ -103,16 +141,24 @@ outline-offset
103
141
  outline-style
104
142
  outline-width
105
143
 
144
+ stroke-width
145
+ stroke-linecap
146
+ stroke-dasharray
147
+ stroke-dashoffset
148
+ stroke
149
+
106
150
  # Background
107
151
 
152
+ opacity
153
+
108
154
  background
109
- background-attachment
110
- background-clip
111
155
  background-color
112
156
  background-image
113
157
  background-repeat
114
158
  background-position
115
159
  background-size
160
+ box-shadow
161
+ fill
116
162
 
117
163
  # Text
118
164
 
@@ -121,41 +167,62 @@ color
121
167
  font
122
168
  font-family
123
169
  font-size
124
- font-smoothing
170
+ font-size-adjust
171
+ font-stretch
172
+ font-effect
125
173
  font-style
126
174
  font-variant
127
175
  font-weight
128
176
 
177
+ font-emphasize
178
+ font-emphasize-position
179
+ font-emphasize-style
180
+
129
181
  letter-spacing
130
182
  line-height
131
183
  list-style
184
+ word-spacing
132
185
 
133
186
  text-align
187
+ text-align-last
134
188
  text-decoration
135
189
  text-indent
190
+ text-justify
136
191
  text-overflow
192
+ text-overflow-ellipsis
193
+ text-overflow-mode
137
194
  text-rendering
195
+ text-outline
138
196
  text-shadow
139
197
  text-transform
140
198
  text-wrap
199
+ word-wrap
200
+ word-break
201
+
202
+ text-emphasis
203
+ text-emphasis-color
204
+ text-emphasis-style
205
+ text-emphasis-position
141
206
 
207
+ vertical-align
142
208
  white-space
143
209
  word-spacing
210
+ hyphens
211
+
212
+ src
144
213
 
145
214
  # Other
146
215
 
147
- border-collapse
148
- border-spacing
149
- box-shadow
150
- caption-side
151
- content
216
+ tab-size
217
+ counter-reset
218
+ counter-increment
219
+ resize
152
220
  cursor
153
- empty-cells
154
- opacity
155
- overflow
156
- quotes
221
+ pointer-events
157
222
  speak
158
- table-layout
159
- vertical-align
160
- visibility
161
- z-index
223
+ user-select
224
+ nav-index
225
+ nav-up
226
+ nav-right
227
+ nav-down
228
+ nav-left
@@ -43,7 +43,7 @@ module SCSSLint
43
43
  end
44
44
 
45
45
  def check_url(url, node)
46
- return if url.start_with?('data:')
46
+ return if url.start_with?('data:') || url.include?('${')
47
47
  uri = URI(url)
48
48
 
49
49
  if uri.scheme || uri.host
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Defines the gem version.
4
4
  module SCSSLint
5
- VERSION = '0.52.0'.freeze
5
+ VERSION = '0.53.0'.freeze
6
6
  end
@@ -31,6 +31,16 @@ describe SCSSLint::Linter::UrlFormat do
31
31
 
32
32
  it { should_not report_lint }
33
33
  end
34
+
35
+ context 'when URL contains a variable' do
36
+ let(:scss) { <<-SCSS }
37
+ .block {
38
+ background: url('${url}');
39
+ }
40
+ SCSS
41
+
42
+ it { should_not report_lint }
43
+ end
34
44
  end
35
45
 
36
46
  context 'when URL is enclosed in quotes' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scss_lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brigade Engineering
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-05 00:00:00.000000000 Z
12
+ date: 2017-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake