@@ -118,7 +118,10 @@ ruleTester.run('attribute-hyphenation', rule, {
118
118
{
119
119
message : "Attribute 'my-prop' can't be hyphenated." ,
120
120
type : 'VIdentifier' ,
121
- line : 1
121
+ line : 1 ,
122
+ column : 24 ,
123
+ endLine : 1 ,
124
+ endColumn : 37
122
125
}
123
126
]
124
127
} ,
@@ -131,7 +134,10 @@ ruleTester.run('attribute-hyphenation', rule, {
131
134
{
132
135
message : "Attribute 'MyProp' must be hyphenated." ,
133
136
type : 'VIdentifier' ,
134
- line : 1
137
+ line : 1 ,
138
+ column : 24 ,
139
+ endLine : 1 ,
140
+ endColumn : 36
135
141
}
136
142
]
137
143
} ,
@@ -145,7 +151,10 @@ ruleTester.run('attribute-hyphenation', rule, {
145
151
{
146
152
message : "Attribute ':my-prop' can't be hyphenated." ,
147
153
type : 'VDirectiveKey' ,
148
- line : 1
154
+ line : 1 ,
155
+ column : 24 ,
156
+ endLine : 1 ,
157
+ endColumn : 39
149
158
}
150
159
]
151
160
} ,
@@ -158,7 +167,10 @@ ruleTester.run('attribute-hyphenation', rule, {
158
167
{
159
168
message : "Attribute ':MyProp' must be hyphenated." ,
160
169
type : 'VDirectiveKey' ,
161
- line : 1
170
+ line : 1 ,
171
+ column : 24 ,
172
+ endLine : 1 ,
173
+ endColumn : 38
162
174
}
163
175
]
164
176
} ,
@@ -172,7 +184,10 @@ ruleTester.run('attribute-hyphenation', rule, {
172
184
{
173
185
message : "Attribute 'v-bind:my-prop' can't be hyphenated." ,
174
186
type : 'VDirectiveKey' ,
175
- line : 1
187
+ line : 1 ,
188
+ column : 24 ,
189
+ endLine : 1 ,
190
+ endColumn : 45
176
191
}
177
192
]
178
193
} ,
@@ -185,7 +200,10 @@ ruleTester.run('attribute-hyphenation', rule, {
185
200
{
186
201
message : "Attribute 'v-bind:MyProp' must be hyphenated." ,
187
202
type : 'VDirectiveKey' ,
188
- line : 1
203
+ line : 1 ,
204
+ column : 24 ,
205
+ endLine : 1 ,
206
+ endColumn : 44
189
207
}
190
208
]
191
209
} ,
@@ -198,7 +216,10 @@ ruleTester.run('attribute-hyphenation', rule, {
198
216
{
199
217
message : "Attribute 'v-bind:MyProp' must be hyphenated." ,
200
218
type : 'VDirectiveKey' ,
201
- line : 1
219
+ line : 1 ,
220
+ column : 24 ,
221
+ endLine : 1 ,
222
+ endColumn : 44
202
223
}
203
224
]
204
225
} ,
@@ -212,7 +233,10 @@ ruleTester.run('attribute-hyphenation', rule, {
212
233
{
213
234
message : "Attribute ':second-prop' can't be hyphenated." ,
214
235
type : 'VDirectiveKey' ,
215
- line : 1
236
+ line : 1 ,
237
+ column : 46 ,
238
+ endLine : 1 ,
239
+ endColumn : 65
216
240
}
217
241
]
218
242
} ,
@@ -226,7 +250,10 @@ ruleTester.run('attribute-hyphenation', rule, {
226
250
{
227
251
message : "Attribute 'v-bind:myProp' must be hyphenated." ,
228
252
type : 'VDirectiveKey' ,
229
- line : 1
253
+ line : 1 ,
254
+ column : 24 ,
255
+ endLine : 1 ,
256
+ endColumn : 44
230
257
}
231
258
]
232
259
} ,
@@ -240,7 +267,10 @@ ruleTester.run('attribute-hyphenation', rule, {
240
267
{
241
268
message : "Attribute 'v-bind:propID' must be hyphenated." ,
242
269
type : 'VDirectiveKey' ,
243
- line : 1
270
+ line : 1 ,
271
+ column : 24 ,
272
+ endLine : 1 ,
273
+ endColumn : 44
244
274
}
245
275
]
246
276
} ,
@@ -255,7 +285,10 @@ ruleTester.run('attribute-hyphenation', rule, {
255
285
{
256
286
message : "Attribute 'v-model:my-prop' can't be hyphenated." ,
257
287
type : 'VDirectiveKey' ,
258
- line : 1
288
+ line : 1 ,
289
+ column : 24 ,
290
+ endLine : 1 ,
291
+ endColumn : 46
259
292
}
260
293
]
261
294
} ,
@@ -269,7 +302,10 @@ ruleTester.run('attribute-hyphenation', rule, {
269
302
{
270
303
message : "Attribute 'v-model:myProp' must be hyphenated." ,
271
304
type : 'VDirectiveKey' ,
272
- line : 1
305
+ line : 1 ,
306
+ column : 24 ,
307
+ endLine : 1 ,
308
+ endColumn : 45
273
309
}
274
310
]
275
311
} ,
@@ -282,7 +318,10 @@ ruleTester.run('attribute-hyphenation', rule, {
282
318
{
283
319
message : "Attribute 'v-model:MyProp' must be hyphenated." ,
284
320
type : 'VDirectiveKey' ,
285
- line : 1
321
+ line : 1 ,
322
+ column : 24 ,
323
+ endLine : 1 ,
324
+ endColumn : 45
286
325
}
287
326
]
288
327
} ,
@@ -307,7 +346,10 @@ ruleTester.run('attribute-hyphenation', rule, {
307
346
{
308
347
message : "Attribute 'third-custom' can't be hyphenated." ,
309
348
type : 'VIdentifier' ,
310
- line : 3
349
+ line : 3 ,
350
+ column : 111 ,
351
+ endLine : 3 ,
352
+ endColumn : 129
311
353
}
312
354
]
313
355
} ,
@@ -332,12 +374,18 @@ ruleTester.run('attribute-hyphenation', rule, {
332
374
{
333
375
message : "Attribute 'custom-hyphen' can't be hyphenated." ,
334
376
type : 'VIdentifier' ,
335
- line : 3
377
+ line : 3 ,
378
+ column : 71 ,
379
+ endLine : 3 ,
380
+ endColumn : 90
336
381
} ,
337
382
{
338
383
message : "Attribute 'second-custom' can't be hyphenated." ,
339
384
type : 'VIdentifier' ,
340
- line : 3
385
+ line : 3 ,
386
+ column : 91 ,
387
+ endLine : 3 ,
388
+ endColumn : 110
341
389
}
342
390
]
343
391
} ,
@@ -350,7 +398,10 @@ ruleTester.run('attribute-hyphenation', rule, {
350
398
{
351
399
message : "Attribute 'my-prop' can't be hyphenated." ,
352
400
type : 'VIdentifier' ,
353
- line : 1
401
+ line : 1 ,
402
+ column : 22 ,
403
+ endLine : 1 ,
404
+ endColumn : 35
354
405
}
355
406
]
356
407
} ,
@@ -363,7 +414,10 @@ ruleTester.run('attribute-hyphenation', rule, {
363
414
{
364
415
message : "Attribute 'MyProp' must be hyphenated." ,
365
416
type : 'VIdentifier' ,
366
- line : 1
417
+ line : 1 ,
418
+ column : 22 ,
419
+ endLine : 1 ,
420
+ endColumn : 34
367
421
}
368
422
]
369
423
} ,
@@ -376,7 +430,10 @@ ruleTester.run('attribute-hyphenation', rule, {
376
430
{
377
431
message : "Attribute ':attr_Gg' must be hyphenated." ,
378
432
type : 'VDirectiveKey' ,
379
- line : 1
433
+ line : 1 ,
434
+ column : 24 ,
435
+ endLine : 1 ,
436
+ endColumn : 39
380
437
}
381
438
]
382
439
} ,
@@ -389,7 +446,10 @@ ruleTester.run('attribute-hyphenation', rule, {
389
446
{
390
447
message : "Attribute ':Attr_Hh' must be hyphenated." ,
391
448
type : 'VDirectiveKey' ,
392
- line : 1
449
+ line : 1 ,
450
+ column : 24 ,
451
+ endLine : 1 ,
452
+ endColumn : 39
393
453
}
394
454
]
395
455
} ,
@@ -402,7 +462,10 @@ ruleTester.run('attribute-hyphenation', rule, {
402
462
{
403
463
message : "Attribute ':_attr_Jj' must be hyphenated." ,
404
464
type : 'VDirectiveKey' ,
405
- line : 1
465
+ line : 1 ,
466
+ column : 24 ,
467
+ endLine : 1 ,
468
+ endColumn : 40
406
469
}
407
470
]
408
471
} ,
@@ -415,7 +478,10 @@ ruleTester.run('attribute-hyphenation', rule, {
415
478
{
416
479
message : "Attribute ':_attrKk' must be hyphenated." ,
417
480
type : 'VDirectiveKey' ,
418
- line : 1
481
+ line : 1 ,
482
+ column : 24 ,
483
+ endLine : 1 ,
484
+ endColumn : 39
419
485
}
420
486
]
421
487
} ,
@@ -428,7 +494,10 @@ ruleTester.run('attribute-hyphenation', rule, {
428
494
{
429
495
message : "Attribute ':_AttrLl' must be hyphenated." ,
430
496
type : 'VDirectiveKey' ,
431
- line : 1
497
+ line : 1 ,
498
+ column : 24 ,
499
+ endLine : 1 ,
500
+ endColumn : 39
432
501
}
433
502
]
434
503
} ,
@@ -441,7 +510,10 @@ ruleTester.run('attribute-hyphenation', rule, {
441
510
{
442
511
message : "Attribute ':my-custom_prop' can't be hyphenated." ,
443
512
type : 'VDirectiveKey' ,
444
- line : 1
513
+ line : 1 ,
514
+ column : 24 ,
515
+ endLine : 1 ,
516
+ endColumn : 46
445
517
}
446
518
]
447
519
} ,
@@ -454,7 +526,10 @@ ruleTester.run('attribute-hyphenation', rule, {
454
526
{
455
527
message : "Attribute ':myAge.sync' must be hyphenated." ,
456
528
type : 'VDirectiveKey' ,
457
- line : 1
529
+ line : 1 ,
530
+ column : 24 ,
531
+ endLine : 1 ,
532
+ endColumn : 42
458
533
}
459
534
]
460
535
} ,
@@ -467,7 +542,10 @@ ruleTester.run('attribute-hyphenation', rule, {
467
542
{
468
543
message : "Attribute ':my-age.sync' can't be hyphenated." ,
469
544
type : 'VDirectiveKey' ,
470
- line : 1
545
+ line : 1 ,
546
+ column : 24 ,
547
+ endLine : 1 ,
548
+ endColumn : 43
471
549
}
472
550
]
473
551
} ,
@@ -490,7 +568,9 @@ ruleTester.run('attribute-hyphenation', rule, {
490
568
message : "Attribute 'my-prop' can't be hyphenated." ,
491
569
type : 'VIdentifier' ,
492
570
line : 3 ,
493
- column : 17
571
+ column : 17 ,
572
+ endLine : 3 ,
573
+ endColumn : 24
494
574
}
495
575
]
496
576
} ,
@@ -513,7 +593,9 @@ ruleTester.run('attribute-hyphenation', rule, {
513
593
message : "Attribute 'myProp' must be hyphenated." ,
514
594
type : 'VIdentifier' ,
515
595
line : 3 ,
516
- column : 17
596
+ column : 17 ,
597
+ endLine : 3 ,
598
+ endColumn : 23
517
599
}
518
600
]
519
601
}
0 commit comments