@bigbinary/eslint-plugin-neeto 1.0.49 → 1.0.50
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.
- package/dist/index.js +229 -93
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -53271,7 +53271,7 @@
|
|
|
53271
53271
|
|
|
53272
53272
|
function cov_11qsgbpkmq() {
|
|
53273
53273
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-neetoui-classes/index.js";
|
|
53274
|
-
var hash = "
|
|
53274
|
+
var hash = "e73f20ae0d356d49000c42f5bbb5a13424747ecb";
|
|
53275
53275
|
var global = new Function("return this")();
|
|
53276
53276
|
var gcv = "__coverage__";
|
|
53277
53277
|
var coverageData = {
|
|
@@ -53324,7 +53324,7 @@
|
|
|
53324
53324
|
},
|
|
53325
53325
|
end: {
|
|
53326
53326
|
line: 16,
|
|
53327
|
-
column:
|
|
53327
|
+
column: 71
|
|
53328
53328
|
}
|
|
53329
53329
|
},
|
|
53330
53330
|
"5": {
|
|
@@ -53543,7 +53543,7 @@
|
|
|
53543
53543
|
column: 38
|
|
53544
53544
|
},
|
|
53545
53545
|
end: {
|
|
53546
|
-
line:
|
|
53546
|
+
line: 96,
|
|
53547
53547
|
column: 1
|
|
53548
53548
|
}
|
|
53549
53549
|
},
|
|
@@ -53593,7 +53593,7 @@
|
|
|
53593
53593
|
column: 2
|
|
53594
53594
|
},
|
|
53595
53595
|
end: {
|
|
53596
|
-
line:
|
|
53596
|
+
line: 95,
|
|
53597
53597
|
column: 5
|
|
53598
53598
|
}
|
|
53599
53599
|
},
|
|
@@ -53669,121 +53669,151 @@
|
|
|
53669
53669
|
},
|
|
53670
53670
|
"39": {
|
|
53671
53671
|
start: {
|
|
53672
|
-
line:
|
|
53673
|
-
column:
|
|
53672
|
+
line: 63,
|
|
53673
|
+
column: 16
|
|
53674
53674
|
},
|
|
53675
53675
|
end: {
|
|
53676
|
-
line:
|
|
53677
|
-
column:
|
|
53676
|
+
line: 67,
|
|
53677
|
+
column: 6
|
|
53678
53678
|
}
|
|
53679
53679
|
},
|
|
53680
53680
|
"40": {
|
|
53681
53681
|
start: {
|
|
53682
|
-
line:
|
|
53683
|
-
column:
|
|
53682
|
+
line: 69,
|
|
53683
|
+
column: 33
|
|
53684
53684
|
},
|
|
53685
53685
|
end: {
|
|
53686
|
-
line:
|
|
53687
|
-
column:
|
|
53686
|
+
line: 69,
|
|
53687
|
+
column: 63
|
|
53688
53688
|
}
|
|
53689
53689
|
},
|
|
53690
53690
|
"41": {
|
|
53691
53691
|
start: {
|
|
53692
|
+
line: 70,
|
|
53693
|
+
column: 24
|
|
53694
|
+
},
|
|
53695
|
+
end: {
|
|
53696
|
+
line: 70,
|
|
53697
|
+
column: 74
|
|
53698
|
+
}
|
|
53699
|
+
},
|
|
53700
|
+
"42": {
|
|
53701
|
+
start: {
|
|
53702
|
+
line: 71,
|
|
53703
|
+
column: 26
|
|
53704
|
+
},
|
|
53705
|
+
end: {
|
|
53692
53706
|
line: 73,
|
|
53707
|
+
column: 16
|
|
53708
|
+
}
|
|
53709
|
+
},
|
|
53710
|
+
"43": {
|
|
53711
|
+
start: {
|
|
53712
|
+
line: 76,
|
|
53693
53713
|
column: 6
|
|
53694
53714
|
},
|
|
53695
53715
|
end: {
|
|
53696
|
-
line:
|
|
53716
|
+
line: 76,
|
|
53697
53717
|
column: 55
|
|
53698
53718
|
}
|
|
53699
53719
|
},
|
|
53700
|
-
"
|
|
53720
|
+
"44": {
|
|
53701
53721
|
start: {
|
|
53702
|
-
line:
|
|
53722
|
+
line: 78,
|
|
53703
53723
|
column: 4
|
|
53704
53724
|
},
|
|
53705
53725
|
end: {
|
|
53706
|
-
line:
|
|
53726
|
+
line: 94,
|
|
53707
53727
|
column: 5
|
|
53708
53728
|
}
|
|
53709
53729
|
},
|
|
53710
|
-
"
|
|
53730
|
+
"45": {
|
|
53711
53731
|
start: {
|
|
53712
|
-
line:
|
|
53732
|
+
line: 79,
|
|
53713
53733
|
column: 20
|
|
53714
53734
|
},
|
|
53715
53735
|
end: {
|
|
53716
|
-
line:
|
|
53736
|
+
line: 79,
|
|
53717
53737
|
column: 46
|
|
53718
53738
|
}
|
|
53719
53739
|
},
|
|
53720
|
-
"
|
|
53740
|
+
"46": {
|
|
53721
53741
|
start: {
|
|
53722
|
-
line:
|
|
53742
|
+
line: 80,
|
|
53723
53743
|
column: 27
|
|
53724
53744
|
},
|
|
53725
53745
|
end: {
|
|
53726
|
-
line:
|
|
53746
|
+
line: 80,
|
|
53727
53747
|
column: 54
|
|
53728
53748
|
}
|
|
53729
53749
|
},
|
|
53730
|
-
"
|
|
53750
|
+
"47": {
|
|
53731
53751
|
start: {
|
|
53732
|
-
line:
|
|
53733
|
-
column:
|
|
53752
|
+
line: 82,
|
|
53753
|
+
column: 18
|
|
53734
53754
|
},
|
|
53735
53755
|
end: {
|
|
53736
53756
|
line: 84,
|
|
53757
|
+
column: 22
|
|
53758
|
+
}
|
|
53759
|
+
},
|
|
53760
|
+
"48": {
|
|
53761
|
+
start: {
|
|
53762
|
+
line: 86,
|
|
53763
|
+
column: 6
|
|
53764
|
+
},
|
|
53765
|
+
end: {
|
|
53766
|
+
line: 91,
|
|
53737
53767
|
column: 9
|
|
53738
53768
|
}
|
|
53739
53769
|
},
|
|
53740
|
-
"
|
|
53770
|
+
"49": {
|
|
53741
53771
|
start: {
|
|
53742
|
-
line:
|
|
53772
|
+
line: 90,
|
|
53743
53773
|
column: 22
|
|
53744
53774
|
},
|
|
53745
53775
|
end: {
|
|
53746
|
-
line:
|
|
53747
|
-
column:
|
|
53776
|
+
line: 90,
|
|
53777
|
+
column: 56
|
|
53748
53778
|
}
|
|
53749
53779
|
},
|
|
53750
|
-
"
|
|
53780
|
+
"50": {
|
|
53751
53781
|
start: {
|
|
53752
|
-
line:
|
|
53782
|
+
line: 93,
|
|
53753
53783
|
column: 6
|
|
53754
53784
|
},
|
|
53755
53785
|
end: {
|
|
53756
|
-
line:
|
|
53786
|
+
line: 93,
|
|
53757
53787
|
column: 45
|
|
53758
53788
|
}
|
|
53759
53789
|
},
|
|
53760
|
-
"
|
|
53790
|
+
"51": {
|
|
53761
53791
|
start: {
|
|
53762
|
-
line:
|
|
53792
|
+
line: 108,
|
|
53763
53793
|
column: 22
|
|
53764
53794
|
},
|
|
53765
53795
|
end: {
|
|
53766
|
-
line:
|
|
53796
|
+
line: 115,
|
|
53767
53797
|
column: 3
|
|
53768
53798
|
}
|
|
53769
53799
|
},
|
|
53770
|
-
"
|
|
53800
|
+
"52": {
|
|
53771
53801
|
start: {
|
|
53772
|
-
line:
|
|
53802
|
+
line: 110,
|
|
53773
53803
|
column: 6
|
|
53774
53804
|
},
|
|
53775
53805
|
end: {
|
|
53776
|
-
line:
|
|
53806
|
+
line: 110,
|
|
53777
53807
|
column: 51
|
|
53778
53808
|
}
|
|
53779
53809
|
},
|
|
53780
|
-
"
|
|
53810
|
+
"53": {
|
|
53781
53811
|
start: {
|
|
53782
|
-
line:
|
|
53812
|
+
line: 113,
|
|
53783
53813
|
column: 6
|
|
53784
53814
|
},
|
|
53785
53815
|
end: {
|
|
53786
|
-
line:
|
|
53816
|
+
line: 113,
|
|
53787
53817
|
column: 51
|
|
53788
53818
|
}
|
|
53789
53819
|
}
|
|
@@ -53879,7 +53909,7 @@
|
|
|
53879
53909
|
column: 57
|
|
53880
53910
|
},
|
|
53881
53911
|
end: {
|
|
53882
|
-
line:
|
|
53912
|
+
line: 96,
|
|
53883
53913
|
column: 1
|
|
53884
53914
|
}
|
|
53885
53915
|
},
|
|
@@ -53903,7 +53933,7 @@
|
|
|
53903
53933
|
column: 33
|
|
53904
53934
|
},
|
|
53905
53935
|
end: {
|
|
53906
|
-
line:
|
|
53936
|
+
line: 95,
|
|
53907
53937
|
column: 3
|
|
53908
53938
|
}
|
|
53909
53939
|
},
|
|
@@ -53913,97 +53943,97 @@
|
|
|
53913
53943
|
name: "(anonymous_5)",
|
|
53914
53944
|
decl: {
|
|
53915
53945
|
start: {
|
|
53916
|
-
line:
|
|
53946
|
+
line: 90,
|
|
53917
53947
|
column: 13
|
|
53918
53948
|
},
|
|
53919
53949
|
end: {
|
|
53920
|
-
line:
|
|
53950
|
+
line: 90,
|
|
53921
53951
|
column: 14
|
|
53922
53952
|
}
|
|
53923
53953
|
},
|
|
53924
53954
|
loc: {
|
|
53925
53955
|
start: {
|
|
53926
|
-
line:
|
|
53956
|
+
line: 90,
|
|
53927
53957
|
column: 22
|
|
53928
53958
|
},
|
|
53929
53959
|
end: {
|
|
53930
|
-
line:
|
|
53931
|
-
column:
|
|
53960
|
+
line: 90,
|
|
53961
|
+
column: 56
|
|
53932
53962
|
}
|
|
53933
53963
|
},
|
|
53934
|
-
line:
|
|
53964
|
+
line: 90
|
|
53935
53965
|
},
|
|
53936
53966
|
"6": {
|
|
53937
53967
|
name: "(anonymous_6)",
|
|
53938
53968
|
decl: {
|
|
53939
53969
|
start: {
|
|
53940
|
-
line:
|
|
53970
|
+
line: 108,
|
|
53941
53971
|
column: 10
|
|
53942
53972
|
},
|
|
53943
53973
|
end: {
|
|
53944
|
-
line:
|
|
53974
|
+
line: 108,
|
|
53945
53975
|
column: 11
|
|
53946
53976
|
}
|
|
53947
53977
|
},
|
|
53948
53978
|
loc: {
|
|
53949
53979
|
start: {
|
|
53950
|
-
line:
|
|
53980
|
+
line: 108,
|
|
53951
53981
|
column: 22
|
|
53952
53982
|
},
|
|
53953
53983
|
end: {
|
|
53954
|
-
line:
|
|
53984
|
+
line: 115,
|
|
53955
53985
|
column: 3
|
|
53956
53986
|
}
|
|
53957
53987
|
},
|
|
53958
|
-
line:
|
|
53988
|
+
line: 108
|
|
53959
53989
|
},
|
|
53960
53990
|
"7": {
|
|
53961
53991
|
name: "(anonymous_7)",
|
|
53962
53992
|
decl: {
|
|
53963
53993
|
start: {
|
|
53964
|
-
line:
|
|
53994
|
+
line: 109,
|
|
53965
53995
|
column: 4
|
|
53966
53996
|
},
|
|
53967
53997
|
end: {
|
|
53968
|
-
line:
|
|
53998
|
+
line: 109,
|
|
53969
53999
|
column: 5
|
|
53970
54000
|
}
|
|
53971
54001
|
},
|
|
53972
54002
|
loc: {
|
|
53973
54003
|
start: {
|
|
53974
|
-
line:
|
|
54004
|
+
line: 109,
|
|
53975
54005
|
column: 18
|
|
53976
54006
|
},
|
|
53977
54007
|
end: {
|
|
53978
|
-
line:
|
|
54008
|
+
line: 111,
|
|
53979
54009
|
column: 5
|
|
53980
54010
|
}
|
|
53981
54011
|
},
|
|
53982
|
-
line:
|
|
54012
|
+
line: 109
|
|
53983
54013
|
},
|
|
53984
54014
|
"8": {
|
|
53985
54015
|
name: "(anonymous_8)",
|
|
53986
54016
|
decl: {
|
|
53987
54017
|
start: {
|
|
53988
|
-
line:
|
|
54018
|
+
line: 112,
|
|
53989
54019
|
column: 4
|
|
53990
54020
|
},
|
|
53991
54021
|
end: {
|
|
53992
|
-
line:
|
|
54022
|
+
line: 112,
|
|
53993
54023
|
column: 5
|
|
53994
54024
|
}
|
|
53995
54025
|
},
|
|
53996
54026
|
loc: {
|
|
53997
54027
|
start: {
|
|
53998
|
-
line:
|
|
54028
|
+
line: 112,
|
|
53999
54029
|
column: 26
|
|
54000
54030
|
},
|
|
54001
54031
|
end: {
|
|
54002
|
-
line:
|
|
54032
|
+
line: 114,
|
|
54003
54033
|
column: 5
|
|
54004
54034
|
}
|
|
54005
54035
|
},
|
|
54006
|
-
line:
|
|
54036
|
+
line: 112
|
|
54007
54037
|
}
|
|
54008
54038
|
},
|
|
54009
54039
|
branchMap: {
|
|
@@ -54340,35 +54370,134 @@
|
|
|
54340
54370
|
"10": {
|
|
54341
54371
|
loc: {
|
|
54342
54372
|
start: {
|
|
54343
|
-
line:
|
|
54373
|
+
line: 70,
|
|
54374
|
+
column: 24
|
|
54375
|
+
},
|
|
54376
|
+
end: {
|
|
54377
|
+
line: 70,
|
|
54378
|
+
column: 74
|
|
54379
|
+
}
|
|
54380
|
+
},
|
|
54381
|
+
type: "cond-expr",
|
|
54382
|
+
locations: [{
|
|
54383
|
+
start: {
|
|
54384
|
+
line: 70,
|
|
54385
|
+
column: 47
|
|
54386
|
+
},
|
|
54387
|
+
end: {
|
|
54388
|
+
line: 70,
|
|
54389
|
+
column: 69
|
|
54390
|
+
}
|
|
54391
|
+
}, {
|
|
54392
|
+
start: {
|
|
54393
|
+
line: 70,
|
|
54394
|
+
column: 72
|
|
54395
|
+
},
|
|
54396
|
+
end: {
|
|
54397
|
+
line: 70,
|
|
54398
|
+
column: 74
|
|
54399
|
+
}
|
|
54400
|
+
}],
|
|
54401
|
+
line: 70
|
|
54402
|
+
},
|
|
54403
|
+
"11": {
|
|
54404
|
+
loc: {
|
|
54405
|
+
start: {
|
|
54406
|
+
line: 71,
|
|
54407
|
+
column: 26
|
|
54408
|
+
},
|
|
54409
|
+
end: {
|
|
54410
|
+
line: 73,
|
|
54411
|
+
column: 16
|
|
54412
|
+
}
|
|
54413
|
+
},
|
|
54414
|
+
type: "cond-expr",
|
|
54415
|
+
locations: [{
|
|
54416
|
+
start: {
|
|
54417
|
+
line: 72,
|
|
54418
|
+
column: 8
|
|
54419
|
+
},
|
|
54420
|
+
end: {
|
|
54421
|
+
line: 72,
|
|
54422
|
+
column: 30
|
|
54423
|
+
}
|
|
54424
|
+
}, {
|
|
54425
|
+
start: {
|
|
54426
|
+
line: 73,
|
|
54427
|
+
column: 8
|
|
54428
|
+
},
|
|
54429
|
+
end: {
|
|
54430
|
+
line: 73,
|
|
54431
|
+
column: 16
|
|
54432
|
+
}
|
|
54433
|
+
}],
|
|
54434
|
+
line: 71
|
|
54435
|
+
},
|
|
54436
|
+
"12": {
|
|
54437
|
+
loc: {
|
|
54438
|
+
start: {
|
|
54439
|
+
line: 78,
|
|
54344
54440
|
column: 4
|
|
54345
54441
|
},
|
|
54346
54442
|
end: {
|
|
54347
|
-
line:
|
|
54443
|
+
line: 94,
|
|
54348
54444
|
column: 5
|
|
54349
54445
|
}
|
|
54350
54446
|
},
|
|
54351
54447
|
type: "if",
|
|
54352
54448
|
locations: [{
|
|
54353
54449
|
start: {
|
|
54354
|
-
line:
|
|
54450
|
+
line: 78,
|
|
54355
54451
|
column: 4
|
|
54356
54452
|
},
|
|
54357
54453
|
end: {
|
|
54358
|
-
line:
|
|
54454
|
+
line: 94,
|
|
54359
54455
|
column: 5
|
|
54360
54456
|
}
|
|
54361
54457
|
}, {
|
|
54362
54458
|
start: {
|
|
54363
|
-
line:
|
|
54459
|
+
line: 92,
|
|
54364
54460
|
column: 11
|
|
54365
54461
|
},
|
|
54366
54462
|
end: {
|
|
54367
|
-
line:
|
|
54463
|
+
line: 94,
|
|
54368
54464
|
column: 5
|
|
54369
54465
|
}
|
|
54370
54466
|
}],
|
|
54371
|
-
line:
|
|
54467
|
+
line: 78
|
|
54468
|
+
},
|
|
54469
|
+
"13": {
|
|
54470
|
+
loc: {
|
|
54471
|
+
start: {
|
|
54472
|
+
line: 82,
|
|
54473
|
+
column: 18
|
|
54474
|
+
},
|
|
54475
|
+
end: {
|
|
54476
|
+
line: 84,
|
|
54477
|
+
column: 22
|
|
54478
|
+
}
|
|
54479
|
+
},
|
|
54480
|
+
type: "cond-expr",
|
|
54481
|
+
locations: [{
|
|
54482
|
+
start: {
|
|
54483
|
+
line: 83,
|
|
54484
|
+
column: 10
|
|
54485
|
+
},
|
|
54486
|
+
end: {
|
|
54487
|
+
line: 83,
|
|
54488
|
+
column: 42
|
|
54489
|
+
}
|
|
54490
|
+
}, {
|
|
54491
|
+
start: {
|
|
54492
|
+
line: 84,
|
|
54493
|
+
column: 10
|
|
54494
|
+
},
|
|
54495
|
+
end: {
|
|
54496
|
+
line: 84,
|
|
54497
|
+
column: 22
|
|
54498
|
+
}
|
|
54499
|
+
}],
|
|
54500
|
+
line: 82
|
|
54372
54501
|
}
|
|
54373
54502
|
},
|
|
54374
54503
|
s: {
|
|
@@ -54422,7 +54551,10 @@
|
|
|
54422
54551
|
"47": 0,
|
|
54423
54552
|
"48": 0,
|
|
54424
54553
|
"49": 0,
|
|
54425
|
-
"50": 0
|
|
54554
|
+
"50": 0,
|
|
54555
|
+
"51": 0,
|
|
54556
|
+
"52": 0,
|
|
54557
|
+
"53": 0
|
|
54426
54558
|
},
|
|
54427
54559
|
f: {
|
|
54428
54560
|
"0": 0,
|
|
@@ -54446,10 +54578,13 @@
|
|
|
54446
54578
|
"7": [0, 0],
|
|
54447
54579
|
"8": [0, 0],
|
|
54448
54580
|
"9": [0, 0],
|
|
54449
|
-
"10": [0, 0]
|
|
54581
|
+
"10": [0, 0],
|
|
54582
|
+
"11": [0, 0],
|
|
54583
|
+
"12": [0, 0],
|
|
54584
|
+
"13": [0, 0]
|
|
54450
54585
|
},
|
|
54451
54586
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
54452
|
-
hash: "
|
|
54587
|
+
hash: "e73f20ae0d356d49000c42f5bbb5a13424747ecb"
|
|
54453
54588
|
};
|
|
54454
54589
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
54455
54590
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -54474,7 +54609,7 @@
|
|
|
54474
54609
|
var lines = (cov_11qsgbpkmq().s[1]++, nodeValue.split("\n"));
|
|
54475
54610
|
var lineIndex = (cov_11qsgbpkmq().s[2]++, lines.findIndex(ramda.includes(cssClass)));
|
|
54476
54611
|
var lineValue = (cov_11qsgbpkmq().s[3]++, lines[lineIndex]);
|
|
54477
|
-
var startCol = (cov_11qsgbpkmq().s[4]++, lineValue.
|
|
54612
|
+
var startCol = (cov_11qsgbpkmq().s[4]++, lineValue.search("(?<![\\w:-])".concat(cssClass, "(?![\\w:-])")));
|
|
54478
54613
|
cov_11qsgbpkmq().s[5]++;
|
|
54479
54614
|
if (lineIndex === 0) {
|
|
54480
54615
|
cov_11qsgbpkmq().b[0][0]++;
|
|
@@ -54590,37 +54725,38 @@
|
|
|
54590
54725
|
} else {
|
|
54591
54726
|
cov_11qsgbpkmq().b[9][1]++;
|
|
54592
54727
|
}
|
|
54593
|
-
|
|
54594
|
-
// This logic is to remove the pseudo-class if it is present.
|
|
54595
|
-
var tailwindClass = (cov_11qsgbpkmq().s[39]++, cssClass.split(":").reverse()[0]);
|
|
54596
|
-
var loc = (cov_11qsgbpkmq().s[40]++, getLocation({
|
|
54728
|
+
var loc = (cov_11qsgbpkmq().s[39]++, getLocation({
|
|
54597
54729
|
nodeValue: nodeValue,
|
|
54598
54730
|
nodeLoc: node.loc,
|
|
54599
|
-
cssClass:
|
|
54731
|
+
cssClass: cssClass
|
|
54600
54732
|
}));
|
|
54601
|
-
var
|
|
54602
|
-
cov_11qsgbpkmq().s[
|
|
54733
|
+
var isPseudoClassPresent = (cov_11qsgbpkmq().s[40]++, cssClass.split(":").length > 1);
|
|
54734
|
+
var pseudoClass = (cov_11qsgbpkmq().s[41]++, isPseudoClassPresent ? (cov_11qsgbpkmq().b[10][0]++, cssClass.split(":")[0]) : (cov_11qsgbpkmq().b[10][1]++, ""));
|
|
54735
|
+
var tailwindClass = (cov_11qsgbpkmq().s[42]++, isPseudoClassPresent ? (cov_11qsgbpkmq().b[11][0]++, cssClass.split(":")[1]) : (cov_11qsgbpkmq().b[11][1]++, cssClass));
|
|
54736
|
+
var isAutofixAvailable = (cov_11qsgbpkmq().s[43]++, AUTOFIX_AVAILABLE_CLASSES.includes(tailwindClass));
|
|
54737
|
+
cov_11qsgbpkmq().s[44]++;
|
|
54603
54738
|
if (isAutofixAvailable) {
|
|
54604
|
-
cov_11qsgbpkmq().b[
|
|
54605
|
-
var range = (cov_11qsgbpkmq().s[
|
|
54739
|
+
cov_11qsgbpkmq().b[12][0]++;
|
|
54740
|
+
var range = (cov_11qsgbpkmq().s[45]++, getRange({
|
|
54606
54741
|
context: context,
|
|
54607
54742
|
loc: loc
|
|
54608
54743
|
}));
|
|
54609
|
-
var neetoUIClass = (cov_11qsgbpkmq().s[
|
|
54610
|
-
cov_11qsgbpkmq().s[
|
|
54744
|
+
var neetoUIClass = (cov_11qsgbpkmq().s[46]++, "neeto-ui-".concat(tailwindClass));
|
|
54745
|
+
var _fix = (cov_11qsgbpkmq().s[47]++, isPseudoClassPresent ? (cov_11qsgbpkmq().b[13][0]++, "".concat(pseudoClass, ":").concat(neetoUIClass)) : (cov_11qsgbpkmq().b[13][1]++, neetoUIClass));
|
|
54746
|
+
cov_11qsgbpkmq().s[48]++;
|
|
54611
54747
|
context.report({
|
|
54612
54748
|
node: node,
|
|
54613
54749
|
loc: loc,
|
|
54614
54750
|
message: replaceTailwindClass(tailwindClass, neetoUIClass),
|
|
54615
54751
|
fix: function fix(fixer) {
|
|
54616
54752
|
cov_11qsgbpkmq().f[5]++;
|
|
54617
|
-
cov_11qsgbpkmq().s[
|
|
54618
|
-
return fixer.replaceTextRange(range,
|
|
54753
|
+
cov_11qsgbpkmq().s[49]++;
|
|
54754
|
+
return fixer.replaceTextRange(range, _fix);
|
|
54619
54755
|
}
|
|
54620
54756
|
});
|
|
54621
54757
|
} else {
|
|
54622
|
-
cov_11qsgbpkmq().b[
|
|
54623
|
-
cov_11qsgbpkmq().s[
|
|
54758
|
+
cov_11qsgbpkmq().b[12][1]++;
|
|
54759
|
+
cov_11qsgbpkmq().s[50]++;
|
|
54624
54760
|
context.report({
|
|
54625
54761
|
node: node,
|
|
54626
54762
|
loc: loc,
|
|
@@ -54640,16 +54776,16 @@
|
|
|
54640
54776
|
},
|
|
54641
54777
|
create: function create(context) {
|
|
54642
54778
|
cov_11qsgbpkmq().f[6]++;
|
|
54643
|
-
cov_11qsgbpkmq().s[
|
|
54779
|
+
cov_11qsgbpkmq().s[51]++;
|
|
54644
54780
|
return {
|
|
54645
54781
|
Literal: function Literal(node) {
|
|
54646
54782
|
cov_11qsgbpkmq().f[7]++;
|
|
54647
|
-
cov_11qsgbpkmq().s[
|
|
54783
|
+
cov_11qsgbpkmq().s[52]++;
|
|
54648
54784
|
checkAndReportTailwindClasses(context, node);
|
|
54649
54785
|
},
|
|
54650
54786
|
TemplateElement: function TemplateElement(node) {
|
|
54651
54787
|
cov_11qsgbpkmq().f[8]++;
|
|
54652
|
-
cov_11qsgbpkmq().s[
|
|
54788
|
+
cov_11qsgbpkmq().s[53]++;
|
|
54653
54789
|
checkAndReportTailwindClasses(context, node);
|
|
54654
54790
|
}
|
|
54655
54791
|
};
|