@@ -82,7 +82,11 @@ ruleTester.run('no-multi-spaces', rule, {
82
82
errors : [
83
83
{
84
84
message : "Multiple spaces found before '/>'." ,
85
- type : 'HTMLSelfClosingTagClose'
85
+ type : 'HTMLSelfClosingTagClose' ,
86
+ line : 1 ,
87
+ column : 15 ,
88
+ endLine : 1 ,
89
+ endColumn : 20
86
90
}
87
91
]
88
92
} ,
@@ -92,11 +96,19 @@ ruleTester.run('no-multi-spaces', rule, {
92
96
errors : [
93
97
{
94
98
message : "Multiple spaces found before 'class'." ,
95
- type : 'HTMLIdentifier'
99
+ type : 'HTMLIdentifier' ,
100
+ line : 1 ,
101
+ column : 15 ,
102
+ endLine : 1 ,
103
+ endColumn : 18
96
104
} ,
97
105
{
98
106
message : "Multiple spaces found before '/>'." ,
99
- type : 'HTMLSelfClosingTagClose'
107
+ type : 'HTMLSelfClosingTagClose' ,
108
+ line : 1 ,
109
+ column : 29 ,
110
+ endLine : 1 ,
111
+ endColumn : 31
100
112
}
101
113
]
102
114
} ,
@@ -106,11 +118,19 @@ ruleTester.run('no-multi-spaces', rule, {
106
118
errors : [
107
119
{
108
120
message : "Multiple spaces found before 'class'." ,
109
- type : 'HTMLIdentifier'
121
+ type : 'HTMLIdentifier' ,
122
+ line : 1 ,
123
+ column : 15 ,
124
+ endLine : 1 ,
125
+ endColumn : 17
110
126
} ,
111
127
{
112
128
message : "Multiple spaces found before '/>'." ,
113
- type : 'HTMLSelfClosingTagClose'
129
+ type : 'HTMLSelfClosingTagClose' ,
130
+ line : 1 ,
131
+ column : 28 ,
132
+ endLine : 1 ,
133
+ endColumn : 30
114
134
}
115
135
]
116
136
} ,
@@ -120,11 +140,19 @@ ruleTester.run('no-multi-spaces', rule, {
120
140
errors : [
121
141
{
122
142
message : "Multiple spaces found before ':'." ,
123
- type : 'Punctuator'
143
+ type : 'Punctuator' ,
144
+ line : 1 ,
145
+ column : 15 ,
146
+ endLine : 1 ,
147
+ endColumn : 18
124
148
} ,
125
149
{
126
150
message : "Multiple spaces found before '/>'." ,
127
- type : 'HTMLSelfClosingTagClose'
151
+ type : 'HTMLSelfClosingTagClose' ,
152
+ line : 1 ,
153
+ column : 30 ,
154
+ endLine : 1 ,
155
+ endColumn : 32
128
156
}
129
157
]
130
158
} ,
@@ -134,7 +162,11 @@ ruleTester.run('no-multi-spaces', rule, {
134
162
errors : [
135
163
{
136
164
message : "Multiple spaces found before '/>'." ,
137
- type : 'HTMLSelfClosingTagClose'
165
+ type : 'HTMLSelfClosingTagClose' ,
166
+ line : 1 ,
167
+ column : 35 ,
168
+ endLine : 1 ,
169
+ endColumn : 37
138
170
}
139
171
]
140
172
} ,
@@ -144,7 +176,11 @@ ruleTester.run('no-multi-spaces', rule, {
144
176
errors : [
145
177
{
146
178
message : "Multiple spaces found before '/>'." ,
147
- type : 'HTMLSelfClosingTagClose'
179
+ type : 'HTMLSelfClosingTagClose' ,
180
+ line : 1 ,
181
+ column : 34 ,
182
+ endLine : 1 ,
183
+ endColumn : 36
148
184
}
149
185
]
150
186
} ,
@@ -154,7 +190,11 @@ ruleTester.run('no-multi-spaces', rule, {
154
190
errors : [
155
191
{
156
192
message : "Multiple spaces found before '/>'." ,
157
- type : 'HTMLSelfClosingTagClose'
193
+ type : 'HTMLSelfClosingTagClose' ,
194
+ line : 1 ,
195
+ column : 36 ,
196
+ endLine : 1 ,
197
+ endColumn : 38
158
198
}
159
199
]
160
200
} ,
@@ -164,7 +204,11 @@ ruleTester.run('no-multi-spaces', rule, {
164
204
errors : [
165
205
{
166
206
message : "Multiple spaces found before '/>'." ,
167
- type : 'HTMLSelfClosingTagClose'
207
+ type : 'HTMLSelfClosingTagClose' ,
208
+ line : 2 ,
209
+ column : 21 ,
210
+ endLine : 2 ,
211
+ endColumn : 25
168
212
}
169
213
]
170
214
} ,
@@ -174,11 +218,19 @@ ruleTester.run('no-multi-spaces', rule, {
174
218
errors : [
175
219
{
176
220
message : "Multiple spaces found before 'test'." ,
177
- type : 'Identifier'
221
+ type : 'Identifier' ,
222
+ line : 1 ,
223
+ column : 18 ,
224
+ endLine : 1 ,
225
+ endColumn : 20
178
226
} ,
179
227
{
180
228
message : "Multiple spaces found before '}}'." ,
181
- type : 'VExpressionEnd'
229
+ type : 'VExpressionEnd' ,
230
+ line : 1 ,
231
+ column : 24 ,
232
+ endLine : 1 ,
233
+ endColumn : 26
182
234
}
183
235
]
184
236
} ,
@@ -188,7 +240,11 @@ ruleTester.run('no-multi-spaces', rule, {
188
240
errors : [
189
241
{
190
242
message : "Multiple spaces found before '>'." ,
191
- type : 'HTMLTagClose'
243
+ type : 'HTMLTagClose' ,
244
+ line : 1 ,
245
+ column : 15 ,
246
+ endLine : 1 ,
247
+ endColumn : 30
192
248
}
193
249
]
194
250
} ,
@@ -198,19 +254,35 @@ ruleTester.run('no-multi-spaces', rule, {
198
254
errors : [
199
255
{
200
256
message : "Multiple spaces found before 'i'." ,
201
- type : 'Identifier'
257
+ type : 'Identifier' ,
258
+ line : 1 ,
259
+ column : 23 ,
260
+ endLine : 1 ,
261
+ endColumn : 29
202
262
} ,
203
263
{
204
264
message : "Multiple spaces found before 'in'." ,
205
- type : 'Keyword'
265
+ type : 'Keyword' ,
266
+ line : 1 ,
267
+ column : 30 ,
268
+ endLine : 1 ,
269
+ endColumn : 34
206
270
} ,
207
271
{
208
272
message : "Multiple spaces found before 'b'." ,
209
- type : 'Identifier'
273
+ type : 'Identifier' ,
274
+ line : 1 ,
275
+ column : 36 ,
276
+ endLine : 1 ,
277
+ endColumn : 40
210
278
} ,
211
279
{
212
280
message : "Multiple spaces found before '\"'." ,
213
- type : 'Punctuator'
281
+ type : 'Punctuator' ,
282
+ line : 1 ,
283
+ column : 41 ,
284
+ endLine : 1 ,
285
+ endColumn : 48
214
286
}
215
287
]
216
288
} ,
@@ -238,7 +310,11 @@ ruleTester.run('no-multi-spaces', rule, {
238
310
errors : [
239
311
{
240
312
message : "Multiple spaces found before ':'." ,
241
- type : 'Punctuator'
313
+ type : 'Punctuator' ,
314
+ line : 5 ,
315
+ column : 26 ,
316
+ endLine : 5 ,
317
+ endColumn : 29
242
318
}
243
319
]
244
320
} ,
@@ -266,7 +342,11 @@ ruleTester.run('no-multi-spaces', rule, {
266
342
errors : [
267
343
{
268
344
message : "Multiple spaces found before 'isExpanded'." ,
269
- type : 'Identifier'
345
+ type : 'Identifier' ,
346
+ line : 5 ,
347
+ column : 27 ,
348
+ endLine : 5 ,
349
+ endColumn : 30
270
350
}
271
351
]
272
352
}
0 commit comments