@bigbinary/eslint-plugin-neeto 1.0.47 → 1.0.48
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 +1263 -593
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
|
|
882
882
|
function cov_2kvndqkrrx() {
|
|
883
883
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/constants.js";
|
|
884
|
-
var hash = "
|
|
884
|
+
var hash = "ec9796ef11052ddba09515c007230c769242a7b0";
|
|
885
885
|
var global = new Function("return this")();
|
|
886
886
|
var gcv = "__coverage__";
|
|
887
887
|
var coverageData = {
|
|
@@ -943,57 +943,57 @@
|
|
|
943
943
|
column: 21
|
|
944
944
|
},
|
|
945
945
|
end: {
|
|
946
|
-
line:
|
|
946
|
+
line: 63,
|
|
947
947
|
column: 1
|
|
948
948
|
}
|
|
949
949
|
},
|
|
950
950
|
"6": {
|
|
951
951
|
start: {
|
|
952
|
-
line:
|
|
952
|
+
line: 65,
|
|
953
953
|
column: 34
|
|
954
954
|
},
|
|
955
955
|
end: {
|
|
956
|
-
line:
|
|
956
|
+
line: 69,
|
|
957
957
|
column: 1
|
|
958
958
|
}
|
|
959
959
|
},
|
|
960
960
|
"7": {
|
|
961
961
|
start: {
|
|
962
|
-
line:
|
|
962
|
+
line: 71,
|
|
963
963
|
column: 32
|
|
964
964
|
},
|
|
965
965
|
end: {
|
|
966
|
-
line:
|
|
966
|
+
line: 71,
|
|
967
967
|
column: 53
|
|
968
968
|
}
|
|
969
969
|
},
|
|
970
970
|
"8": {
|
|
971
971
|
start: {
|
|
972
|
-
line:
|
|
972
|
+
line: 73,
|
|
973
973
|
column: 35
|
|
974
974
|
},
|
|
975
975
|
end: {
|
|
976
|
-
line:
|
|
976
|
+
line: 73,
|
|
977
977
|
column: 49
|
|
978
978
|
}
|
|
979
979
|
},
|
|
980
980
|
"9": {
|
|
981
981
|
start: {
|
|
982
|
-
line:
|
|
982
|
+
line: 75,
|
|
983
983
|
column: 33
|
|
984
984
|
},
|
|
985
985
|
end: {
|
|
986
|
-
line:
|
|
986
|
+
line: 75,
|
|
987
987
|
column: 63
|
|
988
988
|
}
|
|
989
989
|
},
|
|
990
990
|
"10": {
|
|
991
991
|
start: {
|
|
992
|
-
line:
|
|
992
|
+
line: 77,
|
|
993
993
|
column: 32
|
|
994
994
|
},
|
|
995
995
|
end: {
|
|
996
|
-
line:
|
|
996
|
+
line: 77,
|
|
997
997
|
column: 46
|
|
998
998
|
}
|
|
999
999
|
}
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
f: {},
|
|
1017
1017
|
b: {},
|
|
1018
1018
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
1019
|
-
hash: "
|
|
1019
|
+
hash: "ec9796ef11052ddba09515c007230c769242a7b0"
|
|
1020
1020
|
};
|
|
1021
1021
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
1022
1022
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -1064,6 +1064,7 @@
|
|
|
1064
1064
|
JSX_EXPRESSION_CONTAINER: "JSXExpressionContainer",
|
|
1065
1065
|
JSX_IDENTIFIER: "JSXIdentifier",
|
|
1066
1066
|
JSX_OPENING_ELEMENT: "JSXOpeningElement",
|
|
1067
|
+
JSX_SPREAD_ATTRIBUTE: "JSXSpreadAttribute",
|
|
1067
1068
|
JSX_TEXT: "JSXText",
|
|
1068
1069
|
LITERAL: "Literal",
|
|
1069
1070
|
LOGICAL_EXPRESSION: "LogicalExpression",
|
|
@@ -3977,7 +3978,7 @@
|
|
|
3977
3978
|
|
|
3978
3979
|
function cov_26237ygvis() {
|
|
3979
3980
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/utils/messages.js";
|
|
3980
|
-
var hash = "
|
|
3981
|
+
var hash = "ba564cae5becc8a4054cc100b372d8bfa4340197";
|
|
3981
3982
|
var global = new Function("return this")();
|
|
3982
3983
|
var gcv = "__coverage__";
|
|
3983
3984
|
var coverageData = {
|
|
@@ -4204,502 +4205,532 @@
|
|
|
4204
4205
|
}
|
|
4205
4206
|
},
|
|
4206
4207
|
"22": {
|
|
4208
|
+
start: {
|
|
4209
|
+
line: 37,
|
|
4210
|
+
column: 36
|
|
4211
|
+
},
|
|
4212
|
+
end: {
|
|
4213
|
+
line: 38,
|
|
4214
|
+
column: 87
|
|
4215
|
+
}
|
|
4216
|
+
},
|
|
4217
|
+
"23": {
|
|
4207
4218
|
start: {
|
|
4208
4219
|
line: 38,
|
|
4209
4220
|
column: 2
|
|
4210
4221
|
},
|
|
4211
4222
|
end: {
|
|
4212
4223
|
line: 38,
|
|
4213
|
-
column:
|
|
4224
|
+
column: 87
|
|
4214
4225
|
}
|
|
4215
4226
|
},
|
|
4216
|
-
"
|
|
4227
|
+
"24": {
|
|
4217
4228
|
start: {
|
|
4218
4229
|
line: 41,
|
|
4219
4230
|
column: 2
|
|
4220
4231
|
},
|
|
4221
4232
|
end: {
|
|
4222
4233
|
line: 41,
|
|
4223
|
-
column:
|
|
4234
|
+
column: 68
|
|
4224
4235
|
}
|
|
4225
4236
|
},
|
|
4226
|
-
"
|
|
4237
|
+
"25": {
|
|
4227
4238
|
start: {
|
|
4228
4239
|
line: 44,
|
|
4229
4240
|
column: 2
|
|
4230
4241
|
},
|
|
4231
4242
|
end: {
|
|
4232
4243
|
line: 44,
|
|
4233
|
-
column:
|
|
4244
|
+
column: 87
|
|
4234
4245
|
}
|
|
4235
4246
|
},
|
|
4236
|
-
"
|
|
4247
|
+
"26": {
|
|
4237
4248
|
start: {
|
|
4238
4249
|
line: 47,
|
|
4239
4250
|
column: 2
|
|
4240
4251
|
},
|
|
4241
4252
|
end: {
|
|
4242
4253
|
line: 47,
|
|
4243
|
-
column:
|
|
4254
|
+
column: 62
|
|
4244
4255
|
}
|
|
4245
4256
|
},
|
|
4246
|
-
"
|
|
4257
|
+
"27": {
|
|
4247
4258
|
start: {
|
|
4248
4259
|
line: 50,
|
|
4249
4260
|
column: 2
|
|
4250
4261
|
},
|
|
4251
4262
|
end: {
|
|
4252
4263
|
line: 50,
|
|
4253
|
-
column:
|
|
4264
|
+
column: 46
|
|
4254
4265
|
}
|
|
4255
4266
|
},
|
|
4256
|
-
"
|
|
4267
|
+
"28": {
|
|
4257
4268
|
start: {
|
|
4258
4269
|
line: 53,
|
|
4259
4270
|
column: 2
|
|
4260
4271
|
},
|
|
4261
4272
|
end: {
|
|
4262
4273
|
line: 53,
|
|
4263
|
-
column:
|
|
4274
|
+
column: 57
|
|
4264
4275
|
}
|
|
4265
4276
|
},
|
|
4266
|
-
"
|
|
4277
|
+
"29": {
|
|
4267
4278
|
start: {
|
|
4268
4279
|
line: 56,
|
|
4269
4280
|
column: 2
|
|
4270
4281
|
},
|
|
4271
4282
|
end: {
|
|
4272
4283
|
line: 56,
|
|
4273
|
-
column:
|
|
4284
|
+
column: 78
|
|
4274
4285
|
}
|
|
4275
4286
|
},
|
|
4276
|
-
"
|
|
4287
|
+
"30": {
|
|
4277
4288
|
start: {
|
|
4278
4289
|
line: 59,
|
|
4279
4290
|
column: 2
|
|
4280
4291
|
},
|
|
4281
4292
|
end: {
|
|
4282
4293
|
line: 59,
|
|
4283
|
-
column:
|
|
4294
|
+
column: 54
|
|
4284
4295
|
}
|
|
4285
4296
|
},
|
|
4286
|
-
"
|
|
4297
|
+
"31": {
|
|
4287
4298
|
start: {
|
|
4288
|
-
line:
|
|
4289
|
-
column:
|
|
4299
|
+
line: 62,
|
|
4300
|
+
column: 2
|
|
4290
4301
|
},
|
|
4291
4302
|
end: {
|
|
4292
|
-
line:
|
|
4293
|
-
column:
|
|
4303
|
+
line: 62,
|
|
4304
|
+
column: 92
|
|
4294
4305
|
}
|
|
4295
4306
|
},
|
|
4296
|
-
"
|
|
4307
|
+
"32": {
|
|
4297
4308
|
start: {
|
|
4298
|
-
line:
|
|
4299
|
-
column:
|
|
4309
|
+
line: 64,
|
|
4310
|
+
column: 54
|
|
4300
4311
|
},
|
|
4301
4312
|
end: {
|
|
4302
|
-
line:
|
|
4303
|
-
column:
|
|
4313
|
+
line: 64,
|
|
4314
|
+
column: 150
|
|
4304
4315
|
}
|
|
4305
4316
|
},
|
|
4306
|
-
"
|
|
4317
|
+
"33": {
|
|
4307
4318
|
start: {
|
|
4308
4319
|
line: 66,
|
|
4309
|
-
column:
|
|
4320
|
+
column: 52
|
|
4310
4321
|
},
|
|
4311
4322
|
end: {
|
|
4312
4323
|
line: 66,
|
|
4313
|
-
column:
|
|
4324
|
+
column: 134
|
|
4314
4325
|
}
|
|
4315
4326
|
},
|
|
4316
|
-
"
|
|
4327
|
+
"34": {
|
|
4317
4328
|
start: {
|
|
4318
4329
|
line: 69,
|
|
4319
4330
|
column: 2
|
|
4320
4331
|
},
|
|
4321
4332
|
end: {
|
|
4322
4333
|
line: 69,
|
|
4323
|
-
column:
|
|
4334
|
+
column: 67
|
|
4324
4335
|
}
|
|
4325
4336
|
},
|
|
4326
|
-
"
|
|
4337
|
+
"35": {
|
|
4327
4338
|
start: {
|
|
4328
4339
|
line: 72,
|
|
4329
4340
|
column: 2
|
|
4330
4341
|
},
|
|
4331
4342
|
end: {
|
|
4332
4343
|
line: 72,
|
|
4333
|
-
column:
|
|
4344
|
+
column: 80
|
|
4334
4345
|
}
|
|
4335
4346
|
},
|
|
4336
|
-
"
|
|
4347
|
+
"36": {
|
|
4337
4348
|
start: {
|
|
4338
4349
|
line: 75,
|
|
4339
4350
|
column: 2
|
|
4340
4351
|
},
|
|
4341
4352
|
end: {
|
|
4342
4353
|
line: 75,
|
|
4343
|
-
column:
|
|
4354
|
+
column: 64
|
|
4344
4355
|
}
|
|
4345
4356
|
},
|
|
4346
|
-
"
|
|
4357
|
+
"37": {
|
|
4347
4358
|
start: {
|
|
4348
4359
|
line: 78,
|
|
4349
4360
|
column: 2
|
|
4350
4361
|
},
|
|
4351
4362
|
end: {
|
|
4352
4363
|
line: 78,
|
|
4353
|
-
column:
|
|
4364
|
+
column: 57
|
|
4354
4365
|
}
|
|
4355
4366
|
},
|
|
4356
|
-
"
|
|
4367
|
+
"38": {
|
|
4357
4368
|
start: {
|
|
4358
4369
|
line: 81,
|
|
4359
4370
|
column: 2
|
|
4360
4371
|
},
|
|
4361
4372
|
end: {
|
|
4362
4373
|
line: 81,
|
|
4363
|
-
column:
|
|
4374
|
+
column: 88
|
|
4364
4375
|
}
|
|
4365
4376
|
},
|
|
4366
|
-
"
|
|
4377
|
+
"39": {
|
|
4367
4378
|
start: {
|
|
4368
4379
|
line: 84,
|
|
4369
4380
|
column: 2
|
|
4370
4381
|
},
|
|
4371
4382
|
end: {
|
|
4372
4383
|
line: 84,
|
|
4373
|
-
column:
|
|
4384
|
+
column: 41
|
|
4374
4385
|
}
|
|
4375
4386
|
},
|
|
4376
|
-
"
|
|
4387
|
+
"40": {
|
|
4377
4388
|
start: {
|
|
4378
4389
|
line: 87,
|
|
4379
4390
|
column: 2
|
|
4380
4391
|
},
|
|
4381
4392
|
end: {
|
|
4382
4393
|
line: 87,
|
|
4383
|
-
column:
|
|
4394
|
+
column: 43
|
|
4384
4395
|
}
|
|
4385
4396
|
},
|
|
4386
|
-
"
|
|
4397
|
+
"41": {
|
|
4387
4398
|
start: {
|
|
4388
4399
|
line: 90,
|
|
4389
4400
|
column: 2
|
|
4390
4401
|
},
|
|
4391
4402
|
end: {
|
|
4392
4403
|
line: 90,
|
|
4393
|
-
column:
|
|
4404
|
+
column: 51
|
|
4394
4405
|
}
|
|
4395
4406
|
},
|
|
4396
|
-
"
|
|
4407
|
+
"42": {
|
|
4397
4408
|
start: {
|
|
4398
4409
|
line: 93,
|
|
4399
4410
|
column: 2
|
|
4400
4411
|
},
|
|
4401
4412
|
end: {
|
|
4402
4413
|
line: 93,
|
|
4403
|
-
column:
|
|
4414
|
+
column: 49
|
|
4404
4415
|
}
|
|
4405
4416
|
},
|
|
4406
|
-
"
|
|
4417
|
+
"43": {
|
|
4407
4418
|
start: {
|
|
4408
4419
|
line: 96,
|
|
4409
4420
|
column: 2
|
|
4410
4421
|
},
|
|
4411
4422
|
end: {
|
|
4412
4423
|
line: 96,
|
|
4413
|
-
column:
|
|
4424
|
+
column: 72
|
|
4414
4425
|
}
|
|
4415
4426
|
},
|
|
4416
|
-
"
|
|
4427
|
+
"44": {
|
|
4417
4428
|
start: {
|
|
4418
4429
|
line: 99,
|
|
4419
4430
|
column: 2
|
|
4420
4431
|
},
|
|
4421
4432
|
end: {
|
|
4422
4433
|
line: 99,
|
|
4423
|
-
column:
|
|
4434
|
+
column: 64
|
|
4424
4435
|
}
|
|
4425
4436
|
},
|
|
4426
|
-
"
|
|
4437
|
+
"45": {
|
|
4427
4438
|
start: {
|
|
4428
4439
|
line: 102,
|
|
4429
4440
|
column: 2
|
|
4430
4441
|
},
|
|
4431
4442
|
end: {
|
|
4432
4443
|
line: 102,
|
|
4433
|
-
column:
|
|
4444
|
+
column: 158
|
|
4434
4445
|
}
|
|
4435
4446
|
},
|
|
4436
|
-
"
|
|
4447
|
+
"46": {
|
|
4437
4448
|
start: {
|
|
4438
4449
|
line: 105,
|
|
4439
4450
|
column: 2
|
|
4440
4451
|
},
|
|
4441
4452
|
end: {
|
|
4442
4453
|
line: 105,
|
|
4443
|
-
column:
|
|
4454
|
+
column: 75
|
|
4444
4455
|
}
|
|
4445
4456
|
},
|
|
4446
|
-
"
|
|
4457
|
+
"47": {
|
|
4447
4458
|
start: {
|
|
4448
4459
|
line: 108,
|
|
4449
4460
|
column: 2
|
|
4450
4461
|
},
|
|
4451
4462
|
end: {
|
|
4452
4463
|
line: 108,
|
|
4453
|
-
column:
|
|
4464
|
+
column: 56
|
|
4454
4465
|
}
|
|
4455
4466
|
},
|
|
4456
|
-
"
|
|
4467
|
+
"48": {
|
|
4457
4468
|
start: {
|
|
4458
4469
|
line: 111,
|
|
4459
4470
|
column: 2
|
|
4460
4471
|
},
|
|
4461
4472
|
end: {
|
|
4462
4473
|
line: 111,
|
|
4463
|
-
column:
|
|
4474
|
+
column: 105
|
|
4464
4475
|
}
|
|
4465
4476
|
},
|
|
4466
|
-
"
|
|
4477
|
+
"49": {
|
|
4467
4478
|
start: {
|
|
4468
4479
|
line: 114,
|
|
4469
4480
|
column: 2
|
|
4470
4481
|
},
|
|
4471
4482
|
end: {
|
|
4472
4483
|
line: 114,
|
|
4473
|
-
column:
|
|
4484
|
+
column: 76
|
|
4474
4485
|
}
|
|
4475
4486
|
},
|
|
4476
|
-
"
|
|
4487
|
+
"50": {
|
|
4477
4488
|
start: {
|
|
4478
4489
|
line: 117,
|
|
4479
4490
|
column: 2
|
|
4480
4491
|
},
|
|
4481
4492
|
end: {
|
|
4482
4493
|
line: 117,
|
|
4483
|
-
column:
|
|
4494
|
+
column: 96
|
|
4484
4495
|
}
|
|
4485
4496
|
},
|
|
4486
|
-
"
|
|
4497
|
+
"51": {
|
|
4487
4498
|
start: {
|
|
4488
4499
|
line: 120,
|
|
4489
4500
|
column: 2
|
|
4490
4501
|
},
|
|
4491
4502
|
end: {
|
|
4492
4503
|
line: 120,
|
|
4493
|
-
column:
|
|
4504
|
+
column: 100
|
|
4494
4505
|
}
|
|
4495
4506
|
},
|
|
4496
|
-
"
|
|
4507
|
+
"52": {
|
|
4497
4508
|
start: {
|
|
4498
4509
|
line: 123,
|
|
4499
4510
|
column: 2
|
|
4500
4511
|
},
|
|
4501
4512
|
end: {
|
|
4502
4513
|
line: 123,
|
|
4503
|
-
column:
|
|
4514
|
+
column: 45
|
|
4504
4515
|
}
|
|
4505
4516
|
},
|
|
4506
|
-
"
|
|
4517
|
+
"53": {
|
|
4507
4518
|
start: {
|
|
4508
4519
|
line: 126,
|
|
4509
4520
|
column: 2
|
|
4510
4521
|
},
|
|
4511
4522
|
end: {
|
|
4512
4523
|
line: 126,
|
|
4513
|
-
column:
|
|
4524
|
+
column: 91
|
|
4514
4525
|
}
|
|
4515
4526
|
},
|
|
4516
|
-
"
|
|
4527
|
+
"54": {
|
|
4517
4528
|
start: {
|
|
4518
4529
|
line: 129,
|
|
4519
4530
|
column: 2
|
|
4520
4531
|
},
|
|
4521
4532
|
end: {
|
|
4522
4533
|
line: 129,
|
|
4523
|
-
column:
|
|
4534
|
+
column: 92
|
|
4524
4535
|
}
|
|
4525
4536
|
},
|
|
4526
|
-
"
|
|
4537
|
+
"55": {
|
|
4527
4538
|
start: {
|
|
4528
4539
|
line: 132,
|
|
4529
4540
|
column: 2
|
|
4530
4541
|
},
|
|
4531
4542
|
end: {
|
|
4532
4543
|
line: 132,
|
|
4533
|
-
column:
|
|
4544
|
+
column: 90
|
|
4534
4545
|
}
|
|
4535
4546
|
},
|
|
4536
|
-
"
|
|
4547
|
+
"56": {
|
|
4537
4548
|
start: {
|
|
4538
4549
|
line: 135,
|
|
4539
4550
|
column: 2
|
|
4540
4551
|
},
|
|
4541
4552
|
end: {
|
|
4542
4553
|
line: 135,
|
|
4543
|
-
column:
|
|
4554
|
+
column: 86
|
|
4544
4555
|
}
|
|
4545
4556
|
},
|
|
4546
|
-
"
|
|
4557
|
+
"57": {
|
|
4547
4558
|
start: {
|
|
4548
4559
|
line: 138,
|
|
4549
4560
|
column: 2
|
|
4550
4561
|
},
|
|
4551
4562
|
end: {
|
|
4552
4563
|
line: 138,
|
|
4553
|
-
column:
|
|
4564
|
+
column: 98
|
|
4554
4565
|
}
|
|
4555
4566
|
},
|
|
4556
|
-
"
|
|
4567
|
+
"58": {
|
|
4557
4568
|
start: {
|
|
4558
4569
|
line: 141,
|
|
4559
4570
|
column: 2
|
|
4560
4571
|
},
|
|
4561
4572
|
end: {
|
|
4562
4573
|
line: 141,
|
|
4563
|
-
column:
|
|
4574
|
+
column: 92
|
|
4564
4575
|
}
|
|
4565
4576
|
},
|
|
4566
|
-
"
|
|
4577
|
+
"59": {
|
|
4567
4578
|
start: {
|
|
4568
|
-
line:
|
|
4569
|
-
column:
|
|
4579
|
+
line: 144,
|
|
4580
|
+
column: 2
|
|
4570
4581
|
},
|
|
4571
4582
|
end: {
|
|
4572
|
-
line:
|
|
4573
|
-
column:
|
|
4583
|
+
line: 144,
|
|
4584
|
+
column: 71
|
|
4574
4585
|
}
|
|
4575
4586
|
},
|
|
4576
|
-
"
|
|
4587
|
+
"60": {
|
|
4577
4588
|
start: {
|
|
4578
|
-
line:
|
|
4589
|
+
line: 147,
|
|
4579
4590
|
column: 2
|
|
4580
4591
|
},
|
|
4581
4592
|
end: {
|
|
4582
|
-
line:
|
|
4583
|
-
column:
|
|
4593
|
+
line: 147,
|
|
4594
|
+
column: 53
|
|
4584
4595
|
}
|
|
4585
4596
|
},
|
|
4586
|
-
"
|
|
4597
|
+
"61": {
|
|
4587
4598
|
start: {
|
|
4588
|
-
line:
|
|
4589
|
-
column:
|
|
4599
|
+
line: 149,
|
|
4600
|
+
column: 56
|
|
4590
4601
|
},
|
|
4591
4602
|
end: {
|
|
4592
4603
|
line: 153,
|
|
4593
|
-
column:
|
|
4604
|
+
column: 1
|
|
4594
4605
|
}
|
|
4595
4606
|
},
|
|
4596
|
-
"
|
|
4607
|
+
"62": {
|
|
4597
4608
|
start: {
|
|
4598
4609
|
line: 156,
|
|
4599
4610
|
column: 2
|
|
4600
4611
|
},
|
|
4601
4612
|
end: {
|
|
4602
4613
|
line: 156,
|
|
4603
|
-
column:
|
|
4614
|
+
column: 49
|
|
4604
4615
|
}
|
|
4605
4616
|
},
|
|
4606
|
-
"
|
|
4617
|
+
"63": {
|
|
4607
4618
|
start: {
|
|
4608
4619
|
line: 159,
|
|
4609
4620
|
column: 2
|
|
4610
4621
|
},
|
|
4611
4622
|
end: {
|
|
4612
4623
|
line: 159,
|
|
4613
|
-
column:
|
|
4624
|
+
column: 54
|
|
4614
4625
|
}
|
|
4615
4626
|
},
|
|
4616
|
-
"
|
|
4627
|
+
"64": {
|
|
4617
4628
|
start: {
|
|
4618
4629
|
line: 162,
|
|
4619
4630
|
column: 2
|
|
4620
4631
|
},
|
|
4621
4632
|
end: {
|
|
4622
4633
|
line: 162,
|
|
4623
|
-
column:
|
|
4634
|
+
column: 43
|
|
4624
4635
|
}
|
|
4625
4636
|
},
|
|
4626
|
-
"
|
|
4637
|
+
"65": {
|
|
4627
4638
|
start: {
|
|
4628
4639
|
line: 165,
|
|
4629
4640
|
column: 2
|
|
4630
4641
|
},
|
|
4631
4642
|
end: {
|
|
4632
4643
|
line: 165,
|
|
4633
|
-
column:
|
|
4644
|
+
column: 178
|
|
4634
4645
|
}
|
|
4635
4646
|
},
|
|
4636
|
-
"
|
|
4647
|
+
"66": {
|
|
4637
4648
|
start: {
|
|
4638
4649
|
line: 168,
|
|
4639
4650
|
column: 2
|
|
4640
4651
|
},
|
|
4641
4652
|
end: {
|
|
4642
4653
|
line: 168,
|
|
4643
|
-
column:
|
|
4654
|
+
column: 184
|
|
4644
4655
|
}
|
|
4645
4656
|
},
|
|
4646
|
-
"
|
|
4657
|
+
"67": {
|
|
4647
4658
|
start: {
|
|
4648
4659
|
line: 171,
|
|
4649
4660
|
column: 2
|
|
4650
4661
|
},
|
|
4651
4662
|
end: {
|
|
4652
4663
|
line: 171,
|
|
4653
|
-
column:
|
|
4664
|
+
column: 193
|
|
4654
4665
|
}
|
|
4655
4666
|
},
|
|
4656
|
-
"
|
|
4667
|
+
"68": {
|
|
4657
4668
|
start: {
|
|
4658
4669
|
line: 174,
|
|
4659
4670
|
column: 2
|
|
4660
4671
|
},
|
|
4661
4672
|
end: {
|
|
4662
4673
|
line: 174,
|
|
4663
|
-
column:
|
|
4674
|
+
column: 72
|
|
4664
4675
|
}
|
|
4665
4676
|
},
|
|
4666
|
-
"
|
|
4677
|
+
"69": {
|
|
4667
4678
|
start: {
|
|
4668
4679
|
line: 177,
|
|
4669
4680
|
column: 2
|
|
4670
4681
|
},
|
|
4671
4682
|
end: {
|
|
4672
4683
|
line: 177,
|
|
4673
|
-
column:
|
|
4684
|
+
column: 111
|
|
4674
4685
|
}
|
|
4675
4686
|
},
|
|
4676
|
-
"
|
|
4687
|
+
"70": {
|
|
4677
4688
|
start: {
|
|
4678
4689
|
line: 180,
|
|
4679
4690
|
column: 2
|
|
4680
4691
|
},
|
|
4681
4692
|
end: {
|
|
4682
4693
|
line: 180,
|
|
4683
|
-
column:
|
|
4694
|
+
column: 115
|
|
4684
4695
|
}
|
|
4685
4696
|
},
|
|
4686
|
-
"
|
|
4697
|
+
"71": {
|
|
4687
4698
|
start: {
|
|
4688
4699
|
line: 183,
|
|
4689
4700
|
column: 2
|
|
4690
4701
|
},
|
|
4691
4702
|
end: {
|
|
4692
4703
|
line: 183,
|
|
4693
|
-
column:
|
|
4704
|
+
column: 85
|
|
4694
4705
|
}
|
|
4695
4706
|
},
|
|
4696
|
-
"
|
|
4707
|
+
"72": {
|
|
4697
4708
|
start: {
|
|
4698
4709
|
line: 186,
|
|
4699
4710
|
column: 2
|
|
4700
4711
|
},
|
|
4701
4712
|
end: {
|
|
4702
4713
|
line: 186,
|
|
4714
|
+
column: 132
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4717
|
+
"73": {
|
|
4718
|
+
start: {
|
|
4719
|
+
line: 189,
|
|
4720
|
+
column: 2
|
|
4721
|
+
},
|
|
4722
|
+
end: {
|
|
4723
|
+
line: 189,
|
|
4724
|
+
column: 132
|
|
4725
|
+
}
|
|
4726
|
+
},
|
|
4727
|
+
"74": {
|
|
4728
|
+
start: {
|
|
4729
|
+
line: 192,
|
|
4730
|
+
column: 2
|
|
4731
|
+
},
|
|
4732
|
+
end: {
|
|
4733
|
+
line: 192,
|
|
4703
4734
|
column: 41
|
|
4704
4735
|
}
|
|
4705
4736
|
}
|
|
@@ -4968,6 +4999,30 @@
|
|
|
4968
4999
|
}
|
|
4969
5000
|
},
|
|
4970
5001
|
line: 35
|
|
5002
|
+
},
|
|
5003
|
+
"11": {
|
|
5004
|
+
name: "(anonymous_11)",
|
|
5005
|
+
decl: {
|
|
5006
|
+
start: {
|
|
5007
|
+
line: 37,
|
|
5008
|
+
column: 36
|
|
5009
|
+
},
|
|
5010
|
+
end: {
|
|
5011
|
+
line: 37,
|
|
5012
|
+
column: 37
|
|
5013
|
+
}
|
|
5014
|
+
},
|
|
5015
|
+
loc: {
|
|
5016
|
+
start: {
|
|
5017
|
+
line: 38,
|
|
5018
|
+
column: 2
|
|
5019
|
+
},
|
|
5020
|
+
end: {
|
|
5021
|
+
line: 38,
|
|
5022
|
+
column: 87
|
|
5023
|
+
}
|
|
5024
|
+
},
|
|
5025
|
+
line: 38
|
|
4971
5026
|
}
|
|
4972
5027
|
},
|
|
4973
5028
|
branchMap: {},
|
|
@@ -5043,7 +5098,10 @@
|
|
|
5043
5098
|
"68": 0,
|
|
5044
5099
|
"69": 0,
|
|
5045
5100
|
"70": 0,
|
|
5046
|
-
"71": 0
|
|
5101
|
+
"71": 0,
|
|
5102
|
+
"72": 0,
|
|
5103
|
+
"73": 0,
|
|
5104
|
+
"74": 0
|
|
5047
5105
|
},
|
|
5048
5106
|
f: {
|
|
5049
5107
|
"0": 0,
|
|
@@ -5056,11 +5114,12 @@
|
|
|
5056
5114
|
"7": 0,
|
|
5057
5115
|
"8": 0,
|
|
5058
5116
|
"9": 0,
|
|
5059
|
-
"10": 0
|
|
5117
|
+
"10": 0,
|
|
5118
|
+
"11": 0
|
|
5060
5119
|
},
|
|
5061
5120
|
b: {},
|
|
5062
5121
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
5063
|
-
hash: "
|
|
5122
|
+
hash: "ba564cae5becc8a4054cc100b372d8bfa4340197"
|
|
5064
5123
|
};
|
|
5065
5124
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
5066
5125
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -5144,56 +5203,63 @@
|
|
|
5144
5203
|
cov_26237ygvis().s[21]++;
|
|
5145
5204
|
return "Zustand has deprecated the use of default exports for its functions. Replace this with: ".concat(fix);
|
|
5146
5205
|
};
|
|
5147
|
-
|
|
5148
|
-
var
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
var
|
|
5154
|
-
var
|
|
5155
|
-
var
|
|
5156
|
-
var
|
|
5157
|
-
var
|
|
5158
|
-
var
|
|
5159
|
-
var
|
|
5160
|
-
var
|
|
5161
|
-
var
|
|
5162
|
-
var
|
|
5163
|
-
var
|
|
5164
|
-
var
|
|
5165
|
-
var
|
|
5166
|
-
var
|
|
5167
|
-
var
|
|
5168
|
-
var
|
|
5169
|
-
var
|
|
5170
|
-
var
|
|
5171
|
-
var
|
|
5172
|
-
var
|
|
5173
|
-
var
|
|
5174
|
-
var
|
|
5175
|
-
var
|
|
5176
|
-
var
|
|
5177
|
-
var
|
|
5178
|
-
var
|
|
5179
|
-
var
|
|
5180
|
-
var
|
|
5181
|
-
var
|
|
5182
|
-
var
|
|
5183
|
-
var
|
|
5184
|
-
var
|
|
5185
|
-
var
|
|
5186
|
-
|
|
5187
|
-
var
|
|
5188
|
-
var
|
|
5189
|
-
var
|
|
5190
|
-
var
|
|
5191
|
-
var
|
|
5192
|
-
var
|
|
5193
|
-
var
|
|
5194
|
-
var
|
|
5195
|
-
var
|
|
5196
|
-
var
|
|
5206
|
+
cov_26237ygvis().s[22]++;
|
|
5207
|
+
var replaceTailwindClass = function replaceTailwindClass(tailwindClass, neetoUIClass) {
|
|
5208
|
+
cov_26237ygvis().f[11]++;
|
|
5209
|
+
cov_26237ygvis().s[23]++;
|
|
5210
|
+
return "Replace the class \"".concat(tailwindClass, "\" with its neetoui alternative \"").concat(neetoUIClass, "\"");
|
|
5211
|
+
};
|
|
5212
|
+
var API_CONNECTOR_SHOULD_USE_DEFAULT_EXPORT_MESSAGE = (cov_26237ygvis().s[24]++, "API Connector should be exported using the default export method");
|
|
5213
|
+
var CAN_BE_REPLACED_WITH_HANDLE_META_CLICK = (cov_26237ygvis().s[25]++, "Can be replaced with handleMetaClick function. Refer https://bit.ly/handleMetaClick");
|
|
5214
|
+
var COMBINE_MULTIPLE_INDEPENDENT_AWAITS_MESSAGE = (cov_26237ygvis().s[26]++, "Combine independent awaits to a single `Promise.all` call.");
|
|
5215
|
+
var EXPORTED_OBJECT_AND_FILENAME_SHOULD_MATCH_MESSAGE = (cov_26237ygvis().s[27]++, "Exported object and filename should match.");
|
|
5216
|
+
var GLOBALPROPS_NO_ASSIGNMENT_MESSAGE = (cov_26237ygvis().s[28]++, "globalProps should not be assigned to other variables");
|
|
5217
|
+
var NESTED_GLOBALPROPS_NO_ASSIGNMENT_MESSAGE = (cov_26237ygvis().s[29]++, "Nested properties of globalProps should not be assigned to other variables");
|
|
5218
|
+
var NO_AXIOS_IMPORT_OUTSIDE_APIS_MESSAGE = (cov_26237ygvis().s[30]++, "Do not use axios outside `app/javascript/src/apis`");
|
|
5219
|
+
var NO_CONDITIONAL_RENDER_OF_OVERLAYS = (cov_26237ygvis().s[31]++, "Overlay components should not be rendered conditionally. Use `isOpen` attribute instead.");
|
|
5220
|
+
var NO_EXCESS_API_ACTION_ARGUMENTS_MESSAGE = (cov_26237ygvis().s[32]++, "API actions should use named parameters for more than ".concat(API_ACTIONS_ARGUMENT_LIMIT, " parameters"));
|
|
5221
|
+
var NO_EXCESS_FUNCTION_ARGUMENTS_MESSAGE = (cov_26237ygvis().s[33]++, "Functions should use named parameters for more than ".concat(ARGUMENT_LIMIT, " parameters"));
|
|
5222
|
+
var NO_GLOBALPROPS_REASSIGNMENT_MESSAGE = (cov_26237ygvis().s[34]++, "globalProps or its nested properties should not be re-assigned.");
|
|
5223
|
+
var NO_ROUTES_ASSIGNMENT = (cov_26237ygvis().s[35]++, "`routes` or its nested properties should not be assigned to other variables.");
|
|
5224
|
+
var NO_ROUTES_REASSIGNMENT = (cov_26237ygvis().s[36]++, "`routes` or its nested properties should not be re-assigned.");
|
|
5225
|
+
var NO_NAMESPACE_SPECIFIER_IMPORT_FOR_RAMDA_MESSAGE = (cov_26237ygvis().s[37]++, 'Use `import { methodsToImport } from "ramda"` instead');
|
|
5226
|
+
var PREFIX_NEETO_UI_IMPORT_ALIAS_MESSAGE = (cov_26237ygvis().s[38]++, "Aliases for anything imported from neetoUI or neetoIcons should start with `NeetoUI`");
|
|
5227
|
+
var REPLACE_WITH_HANDLE_META_CLICK = (cov_26237ygvis().s[39]++, "Replace with handleMetaClick function");
|
|
5228
|
+
var ROUTE_SHOULD_BE_A_STRING = (cov_26237ygvis().s[40]++, "Route should be a plain string literal.");
|
|
5229
|
+
var ROUTE_SHOULD_MATCH_OBJECT_PATH = (cov_26237ygvis().s[41]++, "Route string should match with its object path.");
|
|
5230
|
+
var ROUTES_HAS_ALREADY_BEEN_DECLARED = (cov_26237ygvis().s[42]++, "Identifier `routes` has already been declared");
|
|
5231
|
+
var ROUTES_CONSTANT_SHOULD_BE_DECLARED = (cov_26237ygvis().s[43]++, "A constant object named `routes` should be declared inside routes.js");
|
|
5232
|
+
var ROUTES_SHOULD_USE_DEFAULT_EXPORT = (cov_26237ygvis().s[44]++, "`routes` should be exported using the default export method.");
|
|
5233
|
+
var USE_ARRAY_METHODS = (cov_26237ygvis().s[45]++, "Use array methods (forEach, map, filter, reduce, etc) instead of 'for' loop. Refer 'Advanced Array Methods' section in https://bit.ly/array-methods-page-1");
|
|
5234
|
+
var USE_AXIOS_CONFIG_FOR_PASSING_QUERY_PARAMETERS_MESSAGE = (cov_26237ygvis().s[46]++, "Use 'params attribute in axios configuration' to pass query parameters.");
|
|
5235
|
+
var USE_INLINE_SVG_FOR_RENDER = (cov_26237ygvis().s[47]++, "Use inline SVG instead of img tag for rendering SVGs");
|
|
5236
|
+
var USE_LINK_FOR_NAVIGATION = (cov_26237ygvis().s[48]++, "Use Link or NavLink component from 'react-router-dom' for click-navigation instead of onClick handler");
|
|
5237
|
+
var USE_ANCHOR_FOR_NAVIGATION = (cov_26237ygvis().s[49]++, "Use Anchor element (<a>) for click-navigation instead of onClick handler");
|
|
5238
|
+
var USE_BUTTON_TO_FOR_LINK_NAVIGATION = (cov_26237ygvis().s[50]++, "Use `to` prop of Button (<Button to='path'>) for click-navigation instead of onClick handler");
|
|
5239
|
+
var USE_BUTTON_TO_FOR_ANCHOR_NAVIGATION = (cov_26237ygvis().s[51]++, "Use `href` prop of Button (<Button href='path'>) for click-navigation instead of onClick handler");
|
|
5240
|
+
var USE_NEETO_SMALLER_CASE = (cov_26237ygvis().s[52]++, "Use 'neeto' instead of 'Neeto' in strings");
|
|
5241
|
+
var USE_NEETOUI_BORDER_COLOR = (cov_26237ygvis().s[53]++, "Use neetoUI border color. Refer https://bit.ly/neeto-ui-border-colors for more details.");
|
|
5242
|
+
var USE_NEETOUI_BORDER_RADIUS = (cov_26237ygvis().s[54]++, "Use neetoUI border radius. Refer https://bit.ly/neeto-ui-border-radius for more details.");
|
|
5243
|
+
var USE_NEETOUI_BOX_SHADOW = (cov_26237ygvis().s[55]++, "Use neetoUI border shadow. Refer https://bit.ly/neeto-ui-box-shadows for more details.");
|
|
5244
|
+
var USE_NEETOUI_TEXT_COLOR = (cov_26237ygvis().s[56]++, "Use neetoUI text color. Refer https://bit.ly/neeto-ui-text-color for more details.");
|
|
5245
|
+
(cov_26237ygvis().s[57]++, "Use neetoUI background color. Refer https://bit.ly/neeto-ui-background-color for more details.");
|
|
5246
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_SELECTOR = (cov_26237ygvis().s[58]++, "Don't use zustand store hook without a selector function. It will impact the performance");
|
|
5247
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_COMPARATOR_FUNCTION = (cov_26237ygvis().s[59]++, "Don't pick multiple zustand state items without comparator function");
|
|
5248
|
+
var USE_PROP_FOR_PICKING_SINGLE_ITEM = (cov_26237ygvis().s[60]++, "Use prop instead of pick when picking single item");
|
|
5249
|
+
var ENSURE_ZUSTAND_STORES_ARE_TYPE_ANNOTATED = (cov_26237ygvis().s[61]++, "\n Zustand stores should be type annotated like this:\n /** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\n const useUserStore = create(...)\n");
|
|
5250
|
+
var USE_REACT_QUERY_FOR_MANAGING_REMOTE_DATA = (cov_26237ygvis().s[62]++, "API calls should be managed using React Query");
|
|
5251
|
+
var FILES_INSIDE_REACT_QUERY_FOLDER_SHOULD_END_WITH_API = (cov_26237ygvis().s[63]++, "Files inside reactQuery folder should end with Api");
|
|
5252
|
+
var USE_ZUSTAND_FOR_GLOBAL_STATE_MANAGEMENT = (cov_26237ygvis().s[64]++, "Use zustand for global state management");
|
|
5253
|
+
var AVOID_T_FUNCTIONS_IN_STRING_INTERPOLATION = (cov_26237ygvis().s[65]++, "Translation function should not be used in string interpolation. Instead use a single translation key for the entire string. Refer: https://bit.ly/localization-best-practices");
|
|
5254
|
+
var AVOID_MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_26237ygvis().s[66]++, "Avoid using multiple translation functions under the same JSX parent. Instead use a single translation function with a single key. Refer: https://bit.ly/localization-best-practices");
|
|
5255
|
+
var USE_TRANS_COMPONENTS_AND_VALUES_PROPS = (cov_26237ygvis().s[67]++, "Instead of using numbered tags in translation string use `components` and `values` props of `Trans` to use named tag in translation string. Refer: https://bit.ly/localization-best-practices");
|
|
5256
|
+
var USE_TRANSLATION_HOOK_IN_COMPONENTS = (cov_26237ygvis().s[68]++, "Use translation function from `useTranslation()` hook in components.");
|
|
5257
|
+
var USE_COMPONENTS_CHILDREN_PROP_IN_TRANS = (cov_26237ygvis().s[69]++, "Use components children prop instead of label prop in `Trans` component to avoid multiple translation keys.");
|
|
5258
|
+
var USE_I18NEXT_PLURALS = (cov_26237ygvis().s[70]++, "Use plurals that comes with the `i18next` package for hard-coded strings. Refer: https://bit.ly/i18next-plurals");
|
|
5259
|
+
var USE_PLURALIZE_PACKAGE = (cov_26237ygvis().s[71]++, "Use `pluralize` package for dynamic values. Refer: https://bit.ly/i18next-plurals");
|
|
5260
|
+
var USE_COPY_TO_CLIPBOARD_FROM_NEETO_COMMONS = (cov_26237ygvis().s[72]++, "Use `copyToClipboard` from `@bigbinary/neeto-commons-frontend` package. Refer: https://bit.ly/copy-to-clipboard-utility-function");
|
|
5261
|
+
var USE_ZUSTAND_PICK_TRANSFORMER = (cov_26237ygvis().s[73]++, "Replace the boilerplate with zustand-pick syntax offered by babel-preset-neeto. Refer: https://bit.ly/zustand-pick-transform-doc");
|
|
5262
|
+
var HARD_CODED_STRING_SHOULD_BE_LOCALIZED = (cov_26237ygvis().s[74]++, "Hard-coded string should be localized");
|
|
5197
5263
|
|
|
5198
5264
|
function cov_22o2x8aeul() {
|
|
5199
5265
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/api-connector-name-should-match-filename.js";
|
|
@@ -36792,7 +36858,7 @@
|
|
|
36792
36858
|
|
|
36793
36859
|
function cov_j50r6pk3i() {
|
|
36794
36860
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-conditional-overlays/constants.js";
|
|
36795
|
-
var hash = "
|
|
36861
|
+
var hash = "03d9b87daf2ac25e75742311efe7b11fb937afee";
|
|
36796
36862
|
var global = new Function("return this")();
|
|
36797
36863
|
var gcv = "__coverage__";
|
|
36798
36864
|
var coverageData = {
|
|
@@ -36841,20 +36907,40 @@
|
|
|
36841
36907
|
"4": {
|
|
36842
36908
|
start: {
|
|
36843
36909
|
line: 25,
|
|
36844
|
-
column:
|
|
36910
|
+
column: 46
|
|
36845
36911
|
},
|
|
36846
36912
|
end: {
|
|
36847
|
-
line:
|
|
36913
|
+
line: 28,
|
|
36848
36914
|
column: 1
|
|
36849
36915
|
}
|
|
36850
36916
|
},
|
|
36851
36917
|
"5": {
|
|
36852
36918
|
start: {
|
|
36853
|
-
line:
|
|
36919
|
+
line: 30,
|
|
36920
|
+
column: 57
|
|
36921
|
+
},
|
|
36922
|
+
end: {
|
|
36923
|
+
line: 39,
|
|
36924
|
+
column: 1
|
|
36925
|
+
}
|
|
36926
|
+
},
|
|
36927
|
+
"6": {
|
|
36928
|
+
start: {
|
|
36929
|
+
line: 41,
|
|
36930
|
+
column: 50
|
|
36931
|
+
},
|
|
36932
|
+
end: {
|
|
36933
|
+
line: 55,
|
|
36934
|
+
column: 1
|
|
36935
|
+
}
|
|
36936
|
+
},
|
|
36937
|
+
"7": {
|
|
36938
|
+
start: {
|
|
36939
|
+
line: 50,
|
|
36854
36940
|
column: 12
|
|
36855
36941
|
},
|
|
36856
36942
|
end: {
|
|
36857
|
-
line:
|
|
36943
|
+
line: 50,
|
|
36858
36944
|
column: 73
|
|
36859
36945
|
}
|
|
36860
36946
|
}
|
|
@@ -36864,60 +36950,60 @@
|
|
|
36864
36950
|
name: "(anonymous_0)",
|
|
36865
36951
|
decl: {
|
|
36866
36952
|
start: {
|
|
36867
|
-
line:
|
|
36953
|
+
line: 49,
|
|
36868
36954
|
column: 16
|
|
36869
36955
|
},
|
|
36870
36956
|
end: {
|
|
36871
|
-
line:
|
|
36957
|
+
line: 49,
|
|
36872
36958
|
column: 17
|
|
36873
36959
|
}
|
|
36874
36960
|
},
|
|
36875
36961
|
loc: {
|
|
36876
36962
|
start: {
|
|
36877
|
-
line:
|
|
36963
|
+
line: 50,
|
|
36878
36964
|
column: 12
|
|
36879
36965
|
},
|
|
36880
36966
|
end: {
|
|
36881
|
-
line:
|
|
36967
|
+
line: 50,
|
|
36882
36968
|
column: 73
|
|
36883
36969
|
}
|
|
36884
36970
|
},
|
|
36885
|
-
line:
|
|
36971
|
+
line: 50
|
|
36886
36972
|
}
|
|
36887
36973
|
},
|
|
36888
36974
|
branchMap: {
|
|
36889
36975
|
"0": {
|
|
36890
36976
|
loc: {
|
|
36891
36977
|
start: {
|
|
36892
|
-
line:
|
|
36978
|
+
line: 50,
|
|
36893
36979
|
column: 12
|
|
36894
36980
|
},
|
|
36895
36981
|
end: {
|
|
36896
|
-
line:
|
|
36982
|
+
line: 50,
|
|
36897
36983
|
column: 73
|
|
36898
36984
|
}
|
|
36899
36985
|
},
|
|
36900
36986
|
type: "binary-expr",
|
|
36901
36987
|
locations: [{
|
|
36902
36988
|
start: {
|
|
36903
|
-
line:
|
|
36989
|
+
line: 50,
|
|
36904
36990
|
column: 12
|
|
36905
36991
|
},
|
|
36906
36992
|
end: {
|
|
36907
|
-
line:
|
|
36993
|
+
line: 50,
|
|
36908
36994
|
column: 26
|
|
36909
36995
|
}
|
|
36910
36996
|
}, {
|
|
36911
36997
|
start: {
|
|
36912
|
-
line:
|
|
36998
|
+
line: 50,
|
|
36913
36999
|
column: 30
|
|
36914
37000
|
},
|
|
36915
37001
|
end: {
|
|
36916
|
-
line:
|
|
37002
|
+
line: 50,
|
|
36917
37003
|
column: 73
|
|
36918
37004
|
}
|
|
36919
37005
|
}],
|
|
36920
|
-
line:
|
|
37006
|
+
line: 50
|
|
36921
37007
|
}
|
|
36922
37008
|
},
|
|
36923
37009
|
s: {
|
|
@@ -36926,7 +37012,9 @@
|
|
|
36926
37012
|
"2": 0,
|
|
36927
37013
|
"3": 0,
|
|
36928
37014
|
"4": 0,
|
|
36929
|
-
"5": 0
|
|
37015
|
+
"5": 0,
|
|
37016
|
+
"6": 0,
|
|
37017
|
+
"7": 0
|
|
36930
37018
|
},
|
|
36931
37019
|
f: {
|
|
36932
37020
|
"0": 0
|
|
@@ -36935,7 +37023,7 @@
|
|
|
36935
37023
|
"0": [0, 0]
|
|
36936
37024
|
},
|
|
36937
37025
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
36938
|
-
hash: "
|
|
37026
|
+
hash: "03d9b87daf2ac25e75742311efe7b11fb937afee"
|
|
36939
37027
|
};
|
|
36940
37028
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
36941
37029
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -36961,7 +37049,26 @@
|
|
|
36961
37049
|
},
|
|
36962
37050
|
value: null
|
|
36963
37051
|
}]);
|
|
36964
|
-
var
|
|
37052
|
+
var IS_OPEN_ATTRIBUTE_PROP_PATTERN = (cov_j50r6pk3i().s[4]++, {
|
|
37053
|
+
type: TYPES.JSX_ATTRIBUTE,
|
|
37054
|
+
name: {
|
|
37055
|
+
name: "isOpen"
|
|
37056
|
+
}
|
|
37057
|
+
});
|
|
37058
|
+
var IS_OPEN_ATTRIBUTE_IN_SPREAD_PROPS_PATTERN = (cov_j50r6pk3i().s[5]++, {
|
|
37059
|
+
type: TYPES.JSX_SPREAD_ATTRIBUTE,
|
|
37060
|
+
argument: {
|
|
37061
|
+
type: TYPES.OBJECT_EXPRESSION,
|
|
37062
|
+
properties: existsBy$1({
|
|
37063
|
+
type: TYPES.PROPERTY,
|
|
37064
|
+
key: {
|
|
37065
|
+
type: TYPES.IDENTIFIER,
|
|
37066
|
+
name: "isOpen"
|
|
37067
|
+
}
|
|
37068
|
+
})
|
|
37069
|
+
}
|
|
37070
|
+
});
|
|
37071
|
+
var CONDITIONAL_OVERLAY_RENDER_PATTERN = (cov_j50r6pk3i().s[6]++, {
|
|
36965
37072
|
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
36966
37073
|
expression: {
|
|
36967
37074
|
type: TYPES.LOGICAL_EXPRESSION,
|
|
@@ -36971,7 +37078,7 @@
|
|
|
36971
37078
|
name: {
|
|
36972
37079
|
name: function name(_name) {
|
|
36973
37080
|
cov_j50r6pk3i().f[0]++;
|
|
36974
|
-
cov_j50r6pk3i().s[
|
|
37081
|
+
cov_j50r6pk3i().s[7]++;
|
|
36975
37082
|
return (cov_j50r6pk3i().b[0][0]++, isNotNil$1(_name)) && (cov_j50r6pk3i().b[0][1]++, OVERLAY_COMPONENTS.some(ramda.endsWith(ramda.__, _name)));
|
|
36976
37083
|
}
|
|
36977
37084
|
}
|
|
@@ -36982,7 +37089,7 @@
|
|
|
36982
37089
|
|
|
36983
37090
|
function cov_1r8rhtpakz() {
|
|
36984
37091
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-conditional-overlays/utils.js";
|
|
36985
|
-
var hash = "
|
|
37092
|
+
var hash = "ec978d3e949eb9a137817a8d0f7fb8998f728c58";
|
|
36986
37093
|
var global = new Function("return this")();
|
|
36987
37094
|
var gcv = "__coverage__";
|
|
36988
37095
|
var coverageData = {
|
|
@@ -36990,92 +37097,132 @@
|
|
|
36990
37097
|
statementMap: {
|
|
36991
37098
|
"0": {
|
|
36992
37099
|
start: {
|
|
36993
|
-
line:
|
|
37100
|
+
line: 12,
|
|
36994
37101
|
column: 38
|
|
36995
37102
|
},
|
|
36996
37103
|
end: {
|
|
36997
|
-
line:
|
|
37104
|
+
line: 16,
|
|
36998
37105
|
column: 3
|
|
36999
37106
|
}
|
|
37000
37107
|
},
|
|
37001
37108
|
"1": {
|
|
37002
37109
|
start: {
|
|
37003
|
-
line:
|
|
37110
|
+
line: 13,
|
|
37004
37111
|
column: 2
|
|
37005
37112
|
},
|
|
37006
37113
|
end: {
|
|
37007
|
-
line:
|
|
37114
|
+
line: 16,
|
|
37008
37115
|
column: 3
|
|
37009
37116
|
}
|
|
37010
37117
|
},
|
|
37011
37118
|
"2": {
|
|
37012
37119
|
start: {
|
|
37013
|
-
line:
|
|
37014
|
-
column:
|
|
37120
|
+
line: 18,
|
|
37121
|
+
column: 34
|
|
37015
37122
|
},
|
|
37016
37123
|
end: {
|
|
37017
|
-
line:
|
|
37018
|
-
column:
|
|
37124
|
+
line: 29,
|
|
37125
|
+
column: 2
|
|
37019
37126
|
}
|
|
37020
37127
|
},
|
|
37021
37128
|
"3": {
|
|
37022
37129
|
start: {
|
|
37023
|
-
line:
|
|
37024
|
-
column:
|
|
37130
|
+
line: 18,
|
|
37131
|
+
column: 71
|
|
37025
37132
|
},
|
|
37026
37133
|
end: {
|
|
37027
|
-
line:
|
|
37028
|
-
column:
|
|
37134
|
+
line: 29,
|
|
37135
|
+
column: 1
|
|
37029
37136
|
}
|
|
37030
37137
|
},
|
|
37031
37138
|
"4": {
|
|
37032
37139
|
start: {
|
|
37033
|
-
line:
|
|
37034
|
-
column:
|
|
37140
|
+
line: 24,
|
|
37141
|
+
column: 6
|
|
37035
37142
|
},
|
|
37036
37143
|
end: {
|
|
37037
|
-
line:
|
|
37038
|
-
column:
|
|
37144
|
+
line: 27,
|
|
37145
|
+
column: 7
|
|
37039
37146
|
}
|
|
37040
37147
|
},
|
|
37041
37148
|
"5": {
|
|
37042
37149
|
start: {
|
|
37043
|
-
line:
|
|
37044
|
-
column:
|
|
37150
|
+
line: 31,
|
|
37151
|
+
column: 40
|
|
37045
37152
|
},
|
|
37046
37153
|
end: {
|
|
37047
|
-
line:
|
|
37048
|
-
column:
|
|
37154
|
+
line: 45,
|
|
37155
|
+
column: 2
|
|
37049
37156
|
}
|
|
37050
37157
|
},
|
|
37051
37158
|
"6": {
|
|
37052
37159
|
start: {
|
|
37053
|
-
line:
|
|
37054
|
-
column:
|
|
37160
|
+
line: 31,
|
|
37161
|
+
column: 77
|
|
37055
37162
|
},
|
|
37056
37163
|
end: {
|
|
37057
|
-
line:
|
|
37058
|
-
column:
|
|
37164
|
+
line: 45,
|
|
37165
|
+
column: 1
|
|
37059
37166
|
}
|
|
37060
37167
|
},
|
|
37061
37168
|
"7": {
|
|
37062
37169
|
start: {
|
|
37063
|
-
line:
|
|
37170
|
+
line: 39,
|
|
37171
|
+
column: 8
|
|
37172
|
+
},
|
|
37173
|
+
end: {
|
|
37174
|
+
line: 42,
|
|
37175
|
+
column: 9
|
|
37176
|
+
}
|
|
37177
|
+
},
|
|
37178
|
+
"8": {
|
|
37179
|
+
start: {
|
|
37180
|
+
line: 47,
|
|
37181
|
+
column: 48
|
|
37182
|
+
},
|
|
37183
|
+
end: {
|
|
37184
|
+
line: 49,
|
|
37185
|
+
column: 66
|
|
37186
|
+
}
|
|
37187
|
+
},
|
|
37188
|
+
"9": {
|
|
37189
|
+
start: {
|
|
37190
|
+
line: 48,
|
|
37064
37191
|
column: 2
|
|
37065
37192
|
},
|
|
37066
37193
|
end: {
|
|
37067
|
-
line:
|
|
37194
|
+
line: 49,
|
|
37195
|
+
column: 66
|
|
37196
|
+
}
|
|
37197
|
+
},
|
|
37198
|
+
"10": {
|
|
37199
|
+
start: {
|
|
37200
|
+
line: 51,
|
|
37201
|
+
column: 41
|
|
37202
|
+
},
|
|
37203
|
+
end: {
|
|
37204
|
+
line: 59,
|
|
37068
37205
|
column: 3
|
|
37069
37206
|
}
|
|
37070
37207
|
},
|
|
37071
|
-
"
|
|
37208
|
+
"11": {
|
|
37072
37209
|
start: {
|
|
37073
|
-
line:
|
|
37074
|
-
column:
|
|
37210
|
+
line: 51,
|
|
37211
|
+
column: 52
|
|
37075
37212
|
},
|
|
37076
37213
|
end: {
|
|
37077
|
-
line:
|
|
37078
|
-
column:
|
|
37214
|
+
line: 59,
|
|
37215
|
+
column: 3
|
|
37216
|
+
}
|
|
37217
|
+
},
|
|
37218
|
+
"12": {
|
|
37219
|
+
start: {
|
|
37220
|
+
line: 52,
|
|
37221
|
+
column: 2
|
|
37222
|
+
},
|
|
37223
|
+
end: {
|
|
37224
|
+
line: 59,
|
|
37225
|
+
column: 3
|
|
37079
37226
|
}
|
|
37080
37227
|
}
|
|
37081
37228
|
},
|
|
@@ -37084,148 +37231,263 @@
|
|
|
37084
37231
|
name: "(anonymous_0)",
|
|
37085
37232
|
decl: {
|
|
37086
37233
|
start: {
|
|
37087
|
-
line:
|
|
37234
|
+
line: 12,
|
|
37088
37235
|
column: 38
|
|
37089
37236
|
},
|
|
37090
37237
|
end: {
|
|
37091
|
-
line:
|
|
37238
|
+
line: 12,
|
|
37092
37239
|
column: 39
|
|
37093
37240
|
}
|
|
37094
37241
|
},
|
|
37095
37242
|
loc: {
|
|
37096
37243
|
start: {
|
|
37097
|
-
line:
|
|
37244
|
+
line: 13,
|
|
37098
37245
|
column: 2
|
|
37099
37246
|
},
|
|
37100
37247
|
end: {
|
|
37101
|
-
line:
|
|
37248
|
+
line: 16,
|
|
37102
37249
|
column: 3
|
|
37103
37250
|
}
|
|
37104
37251
|
},
|
|
37105
|
-
line:
|
|
37252
|
+
line: 13
|
|
37106
37253
|
},
|
|
37107
37254
|
"1": {
|
|
37108
37255
|
name: "(anonymous_1)",
|
|
37109
37256
|
decl: {
|
|
37110
37257
|
start: {
|
|
37111
|
-
line:
|
|
37112
|
-
column:
|
|
37258
|
+
line: 18,
|
|
37259
|
+
column: 34
|
|
37113
37260
|
},
|
|
37114
37261
|
end: {
|
|
37115
|
-
line:
|
|
37116
|
-
column:
|
|
37262
|
+
line: 18,
|
|
37263
|
+
column: 35
|
|
37117
37264
|
}
|
|
37118
37265
|
},
|
|
37119
37266
|
loc: {
|
|
37120
37267
|
start: {
|
|
37121
|
-
line:
|
|
37122
|
-
column:
|
|
37268
|
+
line: 18,
|
|
37269
|
+
column: 71
|
|
37123
37270
|
},
|
|
37124
37271
|
end: {
|
|
37125
|
-
line:
|
|
37126
|
-
column:
|
|
37272
|
+
line: 29,
|
|
37273
|
+
column: 1
|
|
37127
37274
|
}
|
|
37128
37275
|
},
|
|
37129
|
-
line:
|
|
37276
|
+
line: 18
|
|
37130
37277
|
},
|
|
37131
37278
|
"2": {
|
|
37132
37279
|
name: "(anonymous_2)",
|
|
37133
37280
|
decl: {
|
|
37134
37281
|
start: {
|
|
37135
|
-
line:
|
|
37136
|
-
column:
|
|
37282
|
+
line: 23,
|
|
37283
|
+
column: 16
|
|
37137
37284
|
},
|
|
37138
37285
|
end: {
|
|
37139
|
-
line:
|
|
37140
|
-
column:
|
|
37286
|
+
line: 23,
|
|
37287
|
+
column: 17
|
|
37141
37288
|
}
|
|
37142
37289
|
},
|
|
37143
37290
|
loc: {
|
|
37144
37291
|
start: {
|
|
37145
|
-
line:
|
|
37146
|
-
column:
|
|
37292
|
+
line: 24,
|
|
37293
|
+
column: 6
|
|
37147
37294
|
},
|
|
37148
37295
|
end: {
|
|
37149
|
-
line:
|
|
37150
|
-
column:
|
|
37296
|
+
line: 27,
|
|
37297
|
+
column: 7
|
|
37151
37298
|
}
|
|
37152
37299
|
},
|
|
37153
|
-
line:
|
|
37300
|
+
line: 24
|
|
37154
37301
|
},
|
|
37155
37302
|
"3": {
|
|
37156
37303
|
name: "(anonymous_3)",
|
|
37157
37304
|
decl: {
|
|
37158
37305
|
start: {
|
|
37159
|
-
line:
|
|
37306
|
+
line: 31,
|
|
37307
|
+
column: 40
|
|
37308
|
+
},
|
|
37309
|
+
end: {
|
|
37310
|
+
line: 31,
|
|
37160
37311
|
column: 41
|
|
37312
|
+
}
|
|
37313
|
+
},
|
|
37314
|
+
loc: {
|
|
37315
|
+
start: {
|
|
37316
|
+
line: 31,
|
|
37317
|
+
column: 77
|
|
37161
37318
|
},
|
|
37162
37319
|
end: {
|
|
37163
|
-
line:
|
|
37320
|
+
line: 45,
|
|
37321
|
+
column: 1
|
|
37322
|
+
}
|
|
37323
|
+
},
|
|
37324
|
+
line: 31
|
|
37325
|
+
},
|
|
37326
|
+
"4": {
|
|
37327
|
+
name: "(anonymous_4)",
|
|
37328
|
+
decl: {
|
|
37329
|
+
start: {
|
|
37330
|
+
line: 38,
|
|
37331
|
+
column: 13
|
|
37332
|
+
},
|
|
37333
|
+
end: {
|
|
37334
|
+
line: 38,
|
|
37335
|
+
column: 14
|
|
37336
|
+
}
|
|
37337
|
+
},
|
|
37338
|
+
loc: {
|
|
37339
|
+
start: {
|
|
37340
|
+
line: 39,
|
|
37341
|
+
column: 8
|
|
37342
|
+
},
|
|
37343
|
+
end: {
|
|
37344
|
+
line: 42,
|
|
37345
|
+
column: 9
|
|
37346
|
+
}
|
|
37347
|
+
},
|
|
37348
|
+
line: 39
|
|
37349
|
+
},
|
|
37350
|
+
"5": {
|
|
37351
|
+
name: "(anonymous_5)",
|
|
37352
|
+
decl: {
|
|
37353
|
+
start: {
|
|
37354
|
+
line: 47,
|
|
37355
|
+
column: 48
|
|
37356
|
+
},
|
|
37357
|
+
end: {
|
|
37358
|
+
line: 47,
|
|
37359
|
+
column: 49
|
|
37360
|
+
}
|
|
37361
|
+
},
|
|
37362
|
+
loc: {
|
|
37363
|
+
start: {
|
|
37364
|
+
line: 48,
|
|
37365
|
+
column: 2
|
|
37366
|
+
},
|
|
37367
|
+
end: {
|
|
37368
|
+
line: 49,
|
|
37369
|
+
column: 66
|
|
37370
|
+
}
|
|
37371
|
+
},
|
|
37372
|
+
line: 48
|
|
37373
|
+
},
|
|
37374
|
+
"6": {
|
|
37375
|
+
name: "(anonymous_6)",
|
|
37376
|
+
decl: {
|
|
37377
|
+
start: {
|
|
37378
|
+
line: 51,
|
|
37379
|
+
column: 41
|
|
37380
|
+
},
|
|
37381
|
+
end: {
|
|
37382
|
+
line: 51,
|
|
37164
37383
|
column: 42
|
|
37165
37384
|
}
|
|
37166
37385
|
},
|
|
37167
37386
|
loc: {
|
|
37168
37387
|
start: {
|
|
37169
|
-
line:
|
|
37388
|
+
line: 51,
|
|
37170
37389
|
column: 52
|
|
37171
37390
|
},
|
|
37172
37391
|
end: {
|
|
37173
|
-
line:
|
|
37392
|
+
line: 59,
|
|
37174
37393
|
column: 3
|
|
37175
37394
|
}
|
|
37176
37395
|
},
|
|
37177
|
-
line:
|
|
37396
|
+
line: 51
|
|
37178
37397
|
},
|
|
37179
|
-
"
|
|
37180
|
-
name: "(
|
|
37398
|
+
"7": {
|
|
37399
|
+
name: "(anonymous_7)",
|
|
37181
37400
|
decl: {
|
|
37182
37401
|
start: {
|
|
37183
|
-
line:
|
|
37402
|
+
line: 51,
|
|
37184
37403
|
column: 52
|
|
37185
37404
|
},
|
|
37186
37405
|
end: {
|
|
37187
|
-
line:
|
|
37406
|
+
line: 51,
|
|
37188
37407
|
column: 53
|
|
37189
37408
|
}
|
|
37190
37409
|
},
|
|
37191
37410
|
loc: {
|
|
37192
37411
|
start: {
|
|
37193
|
-
line:
|
|
37412
|
+
line: 52,
|
|
37194
37413
|
column: 2
|
|
37195
37414
|
},
|
|
37196
37415
|
end: {
|
|
37197
|
-
line:
|
|
37416
|
+
line: 59,
|
|
37198
37417
|
column: 3
|
|
37199
37418
|
}
|
|
37200
37419
|
},
|
|
37201
|
-
line:
|
|
37202
|
-
}
|
|
37203
|
-
|
|
37204
|
-
|
|
37205
|
-
|
|
37420
|
+
line: 52
|
|
37421
|
+
}
|
|
37422
|
+
},
|
|
37423
|
+
branchMap: {
|
|
37424
|
+
"0": {
|
|
37425
|
+
loc: {
|
|
37206
37426
|
start: {
|
|
37207
|
-
line:
|
|
37208
|
-
column:
|
|
37427
|
+
line: 48,
|
|
37428
|
+
column: 2
|
|
37209
37429
|
},
|
|
37210
37430
|
end: {
|
|
37211
|
-
line:
|
|
37212
|
-
column:
|
|
37431
|
+
line: 49,
|
|
37432
|
+
column: 66
|
|
37213
37433
|
}
|
|
37214
37434
|
},
|
|
37435
|
+
type: "binary-expr",
|
|
37436
|
+
locations: [{
|
|
37437
|
+
start: {
|
|
37438
|
+
line: 48,
|
|
37439
|
+
column: 2
|
|
37440
|
+
},
|
|
37441
|
+
end: {
|
|
37442
|
+
line: 48,
|
|
37443
|
+
column: 55
|
|
37444
|
+
}
|
|
37445
|
+
}, {
|
|
37446
|
+
start: {
|
|
37447
|
+
line: 49,
|
|
37448
|
+
column: 2
|
|
37449
|
+
},
|
|
37450
|
+
end: {
|
|
37451
|
+
line: 49,
|
|
37452
|
+
column: 66
|
|
37453
|
+
}
|
|
37454
|
+
}],
|
|
37455
|
+
line: 48
|
|
37456
|
+
},
|
|
37457
|
+
"1": {
|
|
37215
37458
|
loc: {
|
|
37216
37459
|
start: {
|
|
37217
|
-
line:
|
|
37218
|
-
column:
|
|
37460
|
+
line: 52,
|
|
37461
|
+
column: 2
|
|
37219
37462
|
},
|
|
37220
37463
|
end: {
|
|
37221
|
-
line:
|
|
37222
|
-
column:
|
|
37464
|
+
line: 59,
|
|
37465
|
+
column: 3
|
|
37223
37466
|
}
|
|
37224
37467
|
},
|
|
37225
|
-
|
|
37468
|
+
type: "binary-expr",
|
|
37469
|
+
locations: [{
|
|
37470
|
+
start: {
|
|
37471
|
+
line: 52,
|
|
37472
|
+
column: 2
|
|
37473
|
+
},
|
|
37474
|
+
end: {
|
|
37475
|
+
line: 55,
|
|
37476
|
+
column: 3
|
|
37477
|
+
}
|
|
37478
|
+
}, {
|
|
37479
|
+
start: {
|
|
37480
|
+
line: 56,
|
|
37481
|
+
column: 2
|
|
37482
|
+
},
|
|
37483
|
+
end: {
|
|
37484
|
+
line: 59,
|
|
37485
|
+
column: 3
|
|
37486
|
+
}
|
|
37487
|
+
}],
|
|
37488
|
+
line: 52
|
|
37226
37489
|
}
|
|
37227
37490
|
},
|
|
37228
|
-
branchMap: {},
|
|
37229
37491
|
s: {
|
|
37230
37492
|
"0": 0,
|
|
37231
37493
|
"1": 0,
|
|
@@ -37235,7 +37497,11 @@
|
|
|
37235
37497
|
"5": 0,
|
|
37236
37498
|
"6": 0,
|
|
37237
37499
|
"7": 0,
|
|
37238
|
-
"8": 0
|
|
37500
|
+
"8": 0,
|
|
37501
|
+
"9": 0,
|
|
37502
|
+
"10": 0,
|
|
37503
|
+
"11": 0,
|
|
37504
|
+
"12": 0
|
|
37239
37505
|
},
|
|
37240
37506
|
f: {
|
|
37241
37507
|
"0": 0,
|
|
@@ -37243,11 +37509,16 @@
|
|
|
37243
37509
|
"2": 0,
|
|
37244
37510
|
"3": 0,
|
|
37245
37511
|
"4": 0,
|
|
37246
|
-
"5": 0
|
|
37512
|
+
"5": 0,
|
|
37513
|
+
"6": 0,
|
|
37514
|
+
"7": 0
|
|
37515
|
+
},
|
|
37516
|
+
b: {
|
|
37517
|
+
"0": [0, 0],
|
|
37518
|
+
"1": [0, 0]
|
|
37247
37519
|
},
|
|
37248
|
-
b: {},
|
|
37249
37520
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
37250
|
-
hash: "
|
|
37521
|
+
hash: "ec978d3e949eb9a137817a8d0f7fb8998f728c58"
|
|
37251
37522
|
};
|
|
37252
37523
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
37253
37524
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -37270,36 +37541,61 @@
|
|
|
37270
37541
|
return ramda.equals(conditionTokens.map(ramda.omit(KEYS_TO_OMIT)), isOpenValueTokens.map(ramda.omit(KEYS_TO_OMIT)));
|
|
37271
37542
|
};
|
|
37272
37543
|
cov_1r8rhtpakz().s[2]++;
|
|
37273
|
-
var
|
|
37544
|
+
var isOpenValueInPropsPattern = function isOpenValueInPropsPattern(context, conditionalExpression) {
|
|
37274
37545
|
cov_1r8rhtpakz().f[1]++;
|
|
37275
37546
|
cov_1r8rhtpakz().s[3]++;
|
|
37276
|
-
return
|
|
37277
|
-
|
|
37278
|
-
|
|
37279
|
-
|
|
37280
|
-
|
|
37547
|
+
return {
|
|
37548
|
+
type: TYPES.JSX_ATTRIBUTE,
|
|
37549
|
+
name: {
|
|
37550
|
+
name: "isOpen"
|
|
37551
|
+
},
|
|
37552
|
+
value: {
|
|
37553
|
+
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
37554
|
+
expression: function expression(_expression) {
|
|
37555
|
+
cov_1r8rhtpakz().f[2]++;
|
|
37556
|
+
cov_1r8rhtpakz().s[4]++;
|
|
37557
|
+
return isConditionAndIsOpenValueSame(context.getSourceCode().getTokens(_expression), context.getSourceCode().getTokens(conditionalExpression));
|
|
37558
|
+
}
|
|
37559
|
+
}
|
|
37560
|
+
};
|
|
37281
37561
|
};
|
|
37282
37562
|
cov_1r8rhtpakz().s[5]++;
|
|
37283
|
-
var
|
|
37563
|
+
var isOpenValueInSpreadPropsPattern = function isOpenValueInSpreadPropsPattern(context, conditionalExpression) {
|
|
37284
37564
|
cov_1r8rhtpakz().f[3]++;
|
|
37285
37565
|
cov_1r8rhtpakz().s[6]++;
|
|
37286
|
-
return
|
|
37287
|
-
|
|
37288
|
-
|
|
37289
|
-
|
|
37290
|
-
|
|
37291
|
-
|
|
37292
|
-
|
|
37293
|
-
|
|
37294
|
-
|
|
37295
|
-
|
|
37296
|
-
|
|
37297
|
-
cov_1r8rhtpakz().f[
|
|
37298
|
-
cov_1r8rhtpakz().s[
|
|
37299
|
-
return isConditionAndIsOpenValueSame(context.getSourceCode().getTokens(
|
|
37566
|
+
return {
|
|
37567
|
+
type: TYPES.JSX_SPREAD_ATTRIBUTE,
|
|
37568
|
+
argument: {
|
|
37569
|
+
type: TYPES.OBJECT_EXPRESSION,
|
|
37570
|
+
properties: existsBy$1({
|
|
37571
|
+
type: TYPES.PROPERTY,
|
|
37572
|
+
key: {
|
|
37573
|
+
type: TYPES.IDENTIFIER,
|
|
37574
|
+
name: "isOpen"
|
|
37575
|
+
},
|
|
37576
|
+
value: function value(_value) {
|
|
37577
|
+
cov_1r8rhtpakz().f[4]++;
|
|
37578
|
+
cov_1r8rhtpakz().s[7]++;
|
|
37579
|
+
return isConditionAndIsOpenValueSame(context.getSourceCode().getTokens(_value), context.getSourceCode().getTokens(conditionalExpression));
|
|
37300
37580
|
}
|
|
37301
|
-
}
|
|
37302
|
-
}
|
|
37581
|
+
})
|
|
37582
|
+
}
|
|
37583
|
+
};
|
|
37584
|
+
};
|
|
37585
|
+
cov_1r8rhtpakz().s[8]++;
|
|
37586
|
+
var isOpenAttributeNotPresentPattern = function isOpenAttributeNotPresentPattern(attributes) {
|
|
37587
|
+
cov_1r8rhtpakz().f[5]++;
|
|
37588
|
+
cov_1r8rhtpakz().s[9]++;
|
|
37589
|
+
return (cov_1r8rhtpakz().b[0][0]++, !existsBy$1(IS_OPEN_ATTRIBUTE_PROP_PATTERN, attributes)) && (cov_1r8rhtpakz().b[0][1]++, !existsBy$1(IS_OPEN_ATTRIBUTE_IN_SPREAD_PROPS_PATTERN, attributes));
|
|
37590
|
+
};
|
|
37591
|
+
cov_1r8rhtpakz().s[10]++;
|
|
37592
|
+
var isOpenValuePresentPattern = function isOpenValuePresentPattern(context) {
|
|
37593
|
+
cov_1r8rhtpakz().f[6]++;
|
|
37594
|
+
cov_1r8rhtpakz().s[11]++;
|
|
37595
|
+
return function (attributes, rootNode) {
|
|
37596
|
+
cov_1r8rhtpakz().f[7]++;
|
|
37597
|
+
cov_1r8rhtpakz().s[12]++;
|
|
37598
|
+
return (cov_1r8rhtpakz().b[1][0]++, existsBy$1(isOpenValueInPropsPattern(context, rootNode.expression.left), attributes)) || (cov_1r8rhtpakz().b[1][1]++, existsBy$1(isOpenValueInSpreadPropsPattern(context, rootNode.expression.left), attributes));
|
|
37303
37599
|
};
|
|
37304
37600
|
};
|
|
37305
37601
|
|
|
@@ -52611,7 +52907,7 @@
|
|
|
52611
52907
|
|
|
52612
52908
|
function cov_1xajtj7htf() {
|
|
52613
52909
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-neetoui-classes/constants.js";
|
|
52614
|
-
var hash = "
|
|
52910
|
+
var hash = "cc03514d42b0d80315603a1c4a61b2a7839b2d3a";
|
|
52615
52911
|
var global = new Function("return this")();
|
|
52616
52912
|
var gcv = "__coverage__";
|
|
52617
52913
|
var coverageData = {
|
|
@@ -52674,7 +52970,7 @@
|
|
|
52674
52970
|
},
|
|
52675
52971
|
end: {
|
|
52676
52972
|
line: 29,
|
|
52677
|
-
column:
|
|
52973
|
+
column: 75
|
|
52678
52974
|
}
|
|
52679
52975
|
},
|
|
52680
52976
|
"6": {
|
|
@@ -52694,7 +52990,7 @@
|
|
|
52694
52990
|
},
|
|
52695
52991
|
end: {
|
|
52696
52992
|
line: 33,
|
|
52697
|
-
column:
|
|
52993
|
+
column: 74
|
|
52698
52994
|
}
|
|
52699
52995
|
},
|
|
52700
52996
|
"8": {
|
|
@@ -52720,10 +53016,40 @@
|
|
|
52720
53016
|
"10": {
|
|
52721
53017
|
start: {
|
|
52722
53018
|
line: 41,
|
|
53019
|
+
column: 34
|
|
53020
|
+
},
|
|
53021
|
+
end: {
|
|
53022
|
+
line: 44,
|
|
53023
|
+
column: 1
|
|
53024
|
+
}
|
|
53025
|
+
},
|
|
53026
|
+
"11": {
|
|
53027
|
+
start: {
|
|
53028
|
+
line: 43,
|
|
53029
|
+
column: 4
|
|
53030
|
+
},
|
|
53031
|
+
end: {
|
|
53032
|
+
line: 43,
|
|
53033
|
+
column: 76
|
|
53034
|
+
}
|
|
53035
|
+
},
|
|
53036
|
+
"12": {
|
|
53037
|
+
start: {
|
|
53038
|
+
line: 46,
|
|
52723
53039
|
column: 39
|
|
52724
53040
|
},
|
|
52725
53041
|
end: {
|
|
52726
|
-
line:
|
|
53042
|
+
line: 67,
|
|
53043
|
+
column: 1
|
|
53044
|
+
}
|
|
53045
|
+
},
|
|
53046
|
+
"13": {
|
|
53047
|
+
start: {
|
|
53048
|
+
line: 69,
|
|
53049
|
+
column: 41
|
|
53050
|
+
},
|
|
53051
|
+
end: {
|
|
53052
|
+
line: 111,
|
|
52727
53053
|
column: 1
|
|
52728
53054
|
}
|
|
52729
53055
|
}
|
|
@@ -52772,7 +53098,7 @@
|
|
|
52772
53098
|
},
|
|
52773
53099
|
end: {
|
|
52774
53100
|
line: 29,
|
|
52775
|
-
column:
|
|
53101
|
+
column: 75
|
|
52776
53102
|
}
|
|
52777
53103
|
},
|
|
52778
53104
|
line: 29
|
|
@@ -52796,7 +53122,7 @@
|
|
|
52796
53122
|
},
|
|
52797
53123
|
end: {
|
|
52798
53124
|
line: 33,
|
|
52799
|
-
column:
|
|
53125
|
+
column: 74
|
|
52800
53126
|
}
|
|
52801
53127
|
},
|
|
52802
53128
|
line: 33
|
|
@@ -52824,6 +53150,30 @@
|
|
|
52824
53150
|
}
|
|
52825
53151
|
},
|
|
52826
53152
|
line: 38
|
|
53153
|
+
},
|
|
53154
|
+
"4": {
|
|
53155
|
+
name: "(anonymous_4)",
|
|
53156
|
+
decl: {
|
|
53157
|
+
start: {
|
|
53158
|
+
line: 42,
|
|
53159
|
+
column: 2
|
|
53160
|
+
},
|
|
53161
|
+
end: {
|
|
53162
|
+
line: 42,
|
|
53163
|
+
column: 3
|
|
53164
|
+
}
|
|
53165
|
+
},
|
|
53166
|
+
loc: {
|
|
53167
|
+
start: {
|
|
53168
|
+
line: 43,
|
|
53169
|
+
column: 4
|
|
53170
|
+
},
|
|
53171
|
+
end: {
|
|
53172
|
+
line: 43,
|
|
53173
|
+
column: 76
|
|
53174
|
+
}
|
|
53175
|
+
},
|
|
53176
|
+
line: 43
|
|
52827
53177
|
}
|
|
52828
53178
|
},
|
|
52829
53179
|
branchMap: {},
|
|
@@ -52838,17 +53188,21 @@
|
|
|
52838
53188
|
"7": 0,
|
|
52839
53189
|
"8": 0,
|
|
52840
53190
|
"9": 0,
|
|
52841
|
-
"10": 0
|
|
53191
|
+
"10": 0,
|
|
53192
|
+
"11": 0,
|
|
53193
|
+
"12": 0,
|
|
53194
|
+
"13": 0
|
|
52842
53195
|
},
|
|
52843
53196
|
f: {
|
|
52844
53197
|
"0": 0,
|
|
52845
53198
|
"1": 0,
|
|
52846
53199
|
"2": 0,
|
|
52847
|
-
"3": 0
|
|
53200
|
+
"3": 0,
|
|
53201
|
+
"4": 0
|
|
52848
53202
|
},
|
|
52849
53203
|
b: {},
|
|
52850
53204
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52851
|
-
hash: "
|
|
53205
|
+
hash: "cc03514d42b0d80315603a1c4a61b2a7839b2d3a"
|
|
52852
53206
|
};
|
|
52853
53207
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52854
53208
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52874,19 +53228,24 @@
|
|
|
52874
53228
|
var BORDER_RADIUS_PATTERNS = (cov_1xajtj7htf().s[4]++, SIZES.map(function (size) {
|
|
52875
53229
|
cov_1xajtj7htf().f[1]++;
|
|
52876
53230
|
cov_1xajtj7htf().s[5]++;
|
|
52877
|
-
return new RegExp("^rounded(-".concat(size, ")?$"));
|
|
53231
|
+
return new RegExp("^((hover|focus|focus-visible):)?rounded(-".concat(size, ")?$"));
|
|
52878
53232
|
}));
|
|
52879
53233
|
var BOX_SHADOW_PATTERNS = (cov_1xajtj7htf().s[6]++, SIZES.map(function (size) {
|
|
52880
53234
|
cov_1xajtj7htf().f[2]++;
|
|
52881
53235
|
cov_1xajtj7htf().s[7]++;
|
|
52882
|
-
return new RegExp("^shadow(-".concat(size, ")?$"));
|
|
53236
|
+
return new RegExp("^((hover|focus|focus-visible):)?shadow(-".concat(size, ")?$"));
|
|
52883
53237
|
}));
|
|
52884
53238
|
var TEXT_COLOR_PATTERNS = (cov_1xajtj7htf().s[8]++, COLORS.map(function (color) {
|
|
52885
53239
|
cov_1xajtj7htf().f[3]++;
|
|
52886
53240
|
cov_1xajtj7htf().s[9]++;
|
|
52887
53241
|
return new RegExp("^((hover|focus|focus-visible):)?text-".concat(color, "(-[0-9]{2,3})?$"));
|
|
52888
53242
|
}));
|
|
52889
|
-
var
|
|
53243
|
+
var BACKGROUND_COLOR_PATTERNS = (cov_1xajtj7htf().s[10]++, COLORS.map(function (color) {
|
|
53244
|
+
cov_1xajtj7htf().f[4]++;
|
|
53245
|
+
cov_1xajtj7htf().s[11]++;
|
|
53246
|
+
return new RegExp("^((hover|focus|focus-visible):)?bg-".concat(color, "(-[0-9]{2,3})?$"));
|
|
53247
|
+
}));
|
|
53248
|
+
var TAILWIND_CLASS_PATTERNS = (cov_1xajtj7htf().s[12]++, {
|
|
52890
53249
|
borderColor: {
|
|
52891
53250
|
patterns: BORDER_COLOR_PATTERNS,
|
|
52892
53251
|
message: USE_NEETOUI_BORDER_COLOR
|
|
@@ -52902,12 +53261,17 @@
|
|
|
52902
53261
|
textColor: {
|
|
52903
53262
|
patterns: TEXT_COLOR_PATTERNS,
|
|
52904
53263
|
message: USE_NEETOUI_TEXT_COLOR
|
|
53264
|
+
},
|
|
53265
|
+
backgroundColor: {
|
|
53266
|
+
patterns: BACKGROUND_COLOR_PATTERNS,
|
|
53267
|
+
message: USE_NEETOUI_TEXT_COLOR
|
|
52905
53268
|
}
|
|
52906
53269
|
});
|
|
53270
|
+
var AUTOFIX_AVAILABLE_CLASSES = (cov_1xajtj7htf().s[13]++, ["bg-black", "bg-white", "bg-gray-100", "bg-gray-200", "bg-gray-300", "bg-gray-400", "bg-gray-500", "bg-gray-600", "bg-gray-700", "bg-gray-800", "border-black", "border-white", "border-gray-100", "border-gray-200", "border-gray-300", "border-gray-400", "border-gray-500", "border-gray-600", "border-gray-700", "border-gray-800", "rounded-full", "rounded-none", "rounded-sm", "rounded", "rounded-md", "rounded-lg", "rounded-xl", "text-black", "text-white", "text-gray-100", "text-gray-200", "text-gray-300", "text-gray-400", "text-gray-500", "text-gray-600", "text-gray-700", "text-gray-800", "shadow-xs", "shadow-sm", "shadow-md", "shadow-lg"]);
|
|
52907
53271
|
|
|
52908
53272
|
function cov_11qsgbpkmq() {
|
|
52909
53273
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-neetoui-classes/index.js";
|
|
52910
|
-
var hash = "
|
|
53274
|
+
var hash = "5de793be6d848ebf785099997a3f853e63ee5f47";
|
|
52911
53275
|
var global = new Function("return this")();
|
|
52912
53276
|
var gcv = "__coverage__";
|
|
52913
53277
|
var coverageData = {
|
|
@@ -52915,341 +53279,471 @@
|
|
|
52915
53279
|
statementMap: {
|
|
52916
53280
|
"0": {
|
|
52917
53281
|
start: {
|
|
52918
|
-
line:
|
|
53282
|
+
line: 9,
|
|
52919
53283
|
column: 20
|
|
52920
53284
|
},
|
|
52921
53285
|
end: {
|
|
52922
|
-
line:
|
|
53286
|
+
line: 18,
|
|
52923
53287
|
column: 1
|
|
52924
53288
|
}
|
|
52925
53289
|
},
|
|
52926
53290
|
"1": {
|
|
52927
53291
|
start: {
|
|
52928
|
-
line:
|
|
53292
|
+
line: 10,
|
|
52929
53293
|
column: 19
|
|
52930
53294
|
},
|
|
52931
53295
|
end: {
|
|
52932
|
-
line:
|
|
53296
|
+
line: 10,
|
|
52933
53297
|
column: 73
|
|
52934
53298
|
}
|
|
52935
53299
|
},
|
|
52936
53300
|
"2": {
|
|
52937
53301
|
start: {
|
|
52938
|
-
line:
|
|
53302
|
+
line: 11,
|
|
52939
53303
|
column: 17
|
|
52940
53304
|
},
|
|
52941
53305
|
end: {
|
|
52942
|
-
line:
|
|
53306
|
+
line: 11,
|
|
52943
53307
|
column: 43
|
|
52944
53308
|
}
|
|
52945
53309
|
},
|
|
52946
53310
|
"3": {
|
|
52947
53311
|
start: {
|
|
52948
|
-
line:
|
|
53312
|
+
line: 12,
|
|
52949
53313
|
column: 15
|
|
52950
53314
|
},
|
|
52951
53315
|
end: {
|
|
52952
|
-
line:
|
|
53316
|
+
line: 12,
|
|
52953
53317
|
column: 33
|
|
52954
53318
|
}
|
|
52955
53319
|
},
|
|
52956
53320
|
"4": {
|
|
52957
53321
|
start: {
|
|
52958
|
-
line:
|
|
53322
|
+
line: 14,
|
|
52959
53323
|
column: 2
|
|
52960
53324
|
},
|
|
52961
53325
|
end: {
|
|
52962
|
-
line:
|
|
53326
|
+
line: 17,
|
|
52963
53327
|
column: 4
|
|
52964
53328
|
}
|
|
52965
53329
|
},
|
|
52966
53330
|
"5": {
|
|
52967
53331
|
start: {
|
|
52968
|
-
line:
|
|
52969
|
-
column:
|
|
53332
|
+
line: 20,
|
|
53333
|
+
column: 17
|
|
52970
53334
|
},
|
|
52971
53335
|
end: {
|
|
52972
|
-
line:
|
|
53336
|
+
line: 27,
|
|
52973
53337
|
column: 1
|
|
52974
53338
|
}
|
|
52975
53339
|
},
|
|
52976
53340
|
"6": {
|
|
52977
53341
|
start: {
|
|
52978
|
-
line:
|
|
52979
|
-
column:
|
|
53342
|
+
line: 21,
|
|
53343
|
+
column: 21
|
|
52980
53344
|
},
|
|
52981
53345
|
end: {
|
|
52982
|
-
line:
|
|
52983
|
-
column:
|
|
53346
|
+
line: 21,
|
|
53347
|
+
column: 44
|
|
52984
53348
|
}
|
|
52985
53349
|
},
|
|
52986
53350
|
"7": {
|
|
52987
53351
|
start: {
|
|
52988
|
-
line:
|
|
53352
|
+
line: 23,
|
|
52989
53353
|
column: 2
|
|
52990
53354
|
},
|
|
52991
53355
|
end: {
|
|
52992
|
-
line:
|
|
52993
|
-
column:
|
|
53356
|
+
line: 26,
|
|
53357
|
+
column: 4
|
|
52994
53358
|
}
|
|
52995
53359
|
},
|
|
52996
53360
|
"8": {
|
|
52997
53361
|
start: {
|
|
52998
|
-
line:
|
|
53362
|
+
line: 29,
|
|
53363
|
+
column: 23
|
|
53364
|
+
},
|
|
53365
|
+
end: {
|
|
53366
|
+
line: 39,
|
|
53367
|
+
column: 1
|
|
53368
|
+
}
|
|
53369
|
+
},
|
|
53370
|
+
"9": {
|
|
53371
|
+
start: {
|
|
53372
|
+
line: 30,
|
|
53373
|
+
column: 17
|
|
53374
|
+
},
|
|
53375
|
+
end: {
|
|
53376
|
+
line: 30,
|
|
53377
|
+
column: 19
|
|
53378
|
+
}
|
|
53379
|
+
},
|
|
53380
|
+
"10": {
|
|
53381
|
+
start: {
|
|
53382
|
+
line: 32,
|
|
53383
|
+
column: 2
|
|
53384
|
+
},
|
|
53385
|
+
end: {
|
|
53386
|
+
line: 36,
|
|
53387
|
+
column: 65
|
|
53388
|
+
}
|
|
53389
|
+
},
|
|
53390
|
+
"11": {
|
|
53391
|
+
start: {
|
|
53392
|
+
line: 32,
|
|
52999
53393
|
column: 33
|
|
53000
53394
|
},
|
|
53001
53395
|
end: {
|
|
53002
|
-
line:
|
|
53396
|
+
line: 32,
|
|
53003
53397
|
column: 56
|
|
53004
53398
|
}
|
|
53005
53399
|
},
|
|
53006
|
-
"
|
|
53400
|
+
"12": {
|
|
53007
53401
|
start: {
|
|
53008
|
-
line:
|
|
53402
|
+
line: 33,
|
|
53009
53403
|
column: 7
|
|
53010
53404
|
},
|
|
53011
53405
|
end: {
|
|
53012
|
-
line:
|
|
53013
|
-
column:
|
|
53406
|
+
line: 36,
|
|
53407
|
+
column: 65
|
|
53014
53408
|
}
|
|
53015
53409
|
},
|
|
53016
|
-
"
|
|
53410
|
+
"13": {
|
|
53017
53411
|
start: {
|
|
53018
|
-
line:
|
|
53412
|
+
line: 33,
|
|
53019
53413
|
column: 40
|
|
53020
53414
|
},
|
|
53021
53415
|
end: {
|
|
53022
|
-
line:
|
|
53416
|
+
line: 33,
|
|
53023
53417
|
column: 65
|
|
53024
53418
|
}
|
|
53025
53419
|
},
|
|
53026
|
-
"
|
|
53420
|
+
"14": {
|
|
53027
53421
|
start: {
|
|
53028
|
-
line:
|
|
53422
|
+
line: 34,
|
|
53029
53423
|
column: 7
|
|
53030
53424
|
},
|
|
53031
53425
|
end: {
|
|
53032
|
-
line:
|
|
53033
|
-
column:
|
|
53426
|
+
line: 36,
|
|
53427
|
+
column: 65
|
|
53034
53428
|
}
|
|
53035
53429
|
},
|
|
53036
|
-
"
|
|
53430
|
+
"15": {
|
|
53037
53431
|
start: {
|
|
53038
|
-
line:
|
|
53432
|
+
line: 34,
|
|
53039
53433
|
column: 41
|
|
53040
53434
|
},
|
|
53041
53435
|
end: {
|
|
53042
|
-
line:
|
|
53436
|
+
line: 34,
|
|
53043
53437
|
column: 67
|
|
53044
53438
|
}
|
|
53045
53439
|
},
|
|
53046
|
-
"
|
|
53440
|
+
"16": {
|
|
53047
53441
|
start: {
|
|
53048
|
-
line:
|
|
53442
|
+
line: 35,
|
|
53049
53443
|
column: 7
|
|
53050
53444
|
},
|
|
53051
53445
|
end: {
|
|
53052
|
-
line:
|
|
53053
|
-
column:
|
|
53446
|
+
line: 36,
|
|
53447
|
+
column: 65
|
|
53054
53448
|
}
|
|
53055
53449
|
},
|
|
53056
|
-
"
|
|
53450
|
+
"17": {
|
|
53057
53451
|
start: {
|
|
53058
|
-
line:
|
|
53452
|
+
line: 35,
|
|
53059
53453
|
column: 40
|
|
53060
53454
|
},
|
|
53061
53455
|
end: {
|
|
53062
|
-
line:
|
|
53456
|
+
line: 35,
|
|
53063
53457
|
column: 63
|
|
53064
53458
|
}
|
|
53065
53459
|
},
|
|
53066
|
-
"
|
|
53460
|
+
"18": {
|
|
53067
53461
|
start: {
|
|
53068
|
-
line:
|
|
53462
|
+
line: 36,
|
|
53463
|
+
column: 7
|
|
53464
|
+
},
|
|
53465
|
+
end: {
|
|
53466
|
+
line: 36,
|
|
53467
|
+
column: 65
|
|
53468
|
+
}
|
|
53469
|
+
},
|
|
53470
|
+
"19": {
|
|
53471
|
+
start: {
|
|
53472
|
+
line: 36,
|
|
53473
|
+
column: 36
|
|
53474
|
+
},
|
|
53475
|
+
end: {
|
|
53476
|
+
line: 36,
|
|
53477
|
+
column: 65
|
|
53478
|
+
}
|
|
53479
|
+
},
|
|
53480
|
+
"20": {
|
|
53481
|
+
start: {
|
|
53482
|
+
line: 38,
|
|
53069
53483
|
column: 2
|
|
53070
53484
|
},
|
|
53071
53485
|
end: {
|
|
53072
|
-
line:
|
|
53486
|
+
line: 38,
|
|
53073
53487
|
column: 18
|
|
53074
53488
|
}
|
|
53075
53489
|
},
|
|
53076
|
-
"
|
|
53490
|
+
"21": {
|
|
53077
53491
|
start: {
|
|
53078
|
-
line:
|
|
53492
|
+
line: 41,
|
|
53079
53493
|
column: 38
|
|
53080
53494
|
},
|
|
53081
53495
|
end: {
|
|
53082
|
-
line:
|
|
53496
|
+
line: 81,
|
|
53083
53497
|
column: 1
|
|
53084
53498
|
}
|
|
53085
53499
|
},
|
|
53086
|
-
"
|
|
53500
|
+
"22": {
|
|
53087
53501
|
start: {
|
|
53088
|
-
line:
|
|
53502
|
+
line: 43,
|
|
53089
53503
|
column: 4
|
|
53090
53504
|
},
|
|
53091
53505
|
end: {
|
|
53092
|
-
line:
|
|
53506
|
+
line: 43,
|
|
53093
53507
|
column: 64
|
|
53094
53508
|
}
|
|
53095
53509
|
},
|
|
53096
|
-
"
|
|
53510
|
+
"23": {
|
|
53097
53511
|
start: {
|
|
53098
|
-
line:
|
|
53512
|
+
line: 44,
|
|
53099
53513
|
column: 2
|
|
53100
53514
|
},
|
|
53101
53515
|
end: {
|
|
53102
|
-
line:
|
|
53516
|
+
line: 44,
|
|
53103
53517
|
column: 44
|
|
53104
53518
|
}
|
|
53105
53519
|
},
|
|
53106
|
-
"
|
|
53520
|
+
"24": {
|
|
53107
53521
|
start: {
|
|
53108
|
-
line:
|
|
53522
|
+
line: 44,
|
|
53109
53523
|
column: 37
|
|
53110
53524
|
},
|
|
53111
53525
|
end: {
|
|
53112
|
-
line:
|
|
53526
|
+
line: 44,
|
|
53113
53527
|
column: 44
|
|
53114
53528
|
}
|
|
53115
53529
|
},
|
|
53116
|
-
"
|
|
53530
|
+
"25": {
|
|
53117
53531
|
start: {
|
|
53118
|
-
line:
|
|
53532
|
+
line: 46,
|
|
53119
53533
|
column: 21
|
|
53120
53534
|
},
|
|
53121
53535
|
end: {
|
|
53122
|
-
line:
|
|
53536
|
+
line: 46,
|
|
53123
53537
|
column: 41
|
|
53124
53538
|
}
|
|
53125
53539
|
},
|
|
53126
|
-
"
|
|
53540
|
+
"26": {
|
|
53127
53541
|
start: {
|
|
53128
|
-
line:
|
|
53542
|
+
line: 47,
|
|
53129
53543
|
column: 2
|
|
53130
53544
|
},
|
|
53131
53545
|
end: {
|
|
53132
|
-
line:
|
|
53546
|
+
line: 80,
|
|
53133
53547
|
column: 5
|
|
53134
53548
|
}
|
|
53135
53549
|
},
|
|
53136
|
-
"
|
|
53550
|
+
"27": {
|
|
53137
53551
|
start: {
|
|
53138
|
-
line:
|
|
53552
|
+
line: 48,
|
|
53139
53553
|
column: 24
|
|
53140
53554
|
},
|
|
53141
53555
|
end: {
|
|
53142
|
-
line:
|
|
53556
|
+
line: 48,
|
|
53143
53557
|
column: 48
|
|
53144
53558
|
}
|
|
53145
53559
|
},
|
|
53146
|
-
"
|
|
53560
|
+
"28": {
|
|
53147
53561
|
start: {
|
|
53148
|
-
line:
|
|
53562
|
+
line: 49,
|
|
53149
53563
|
column: 4
|
|
53150
53564
|
},
|
|
53151
53565
|
end: {
|
|
53152
|
-
line:
|
|
53566
|
+
line: 49,
|
|
53153
53567
|
column: 29
|
|
53154
53568
|
}
|
|
53155
53569
|
},
|
|
53156
|
-
"
|
|
53570
|
+
"29": {
|
|
53157
53571
|
start: {
|
|
53158
|
-
line:
|
|
53572
|
+
line: 49,
|
|
53159
53573
|
column: 22
|
|
53160
53574
|
},
|
|
53161
53575
|
end: {
|
|
53162
|
-
line:
|
|
53576
|
+
line: 49,
|
|
53163
53577
|
column: 29
|
|
53164
53578
|
}
|
|
53165
53579
|
},
|
|
53166
|
-
"
|
|
53580
|
+
"30": {
|
|
53167
53581
|
start: {
|
|
53168
|
-
line:
|
|
53582
|
+
line: 51,
|
|
53169
53583
|
column: 34
|
|
53170
53584
|
},
|
|
53171
53585
|
end: {
|
|
53172
|
-
line:
|
|
53586
|
+
line: 51,
|
|
53173
53587
|
column: 70
|
|
53174
53588
|
}
|
|
53175
53589
|
},
|
|
53176
|
-
"
|
|
53590
|
+
"31": {
|
|
53177
53591
|
start: {
|
|
53178
|
-
line:
|
|
53592
|
+
line: 52,
|
|
53179
53593
|
column: 29
|
|
53180
53594
|
},
|
|
53181
53595
|
end: {
|
|
53182
|
-
line:
|
|
53596
|
+
line: 52,
|
|
53183
53597
|
column: 77
|
|
53184
53598
|
}
|
|
53185
53599
|
},
|
|
53186
|
-
"
|
|
53600
|
+
"32": {
|
|
53187
53601
|
start: {
|
|
53188
|
-
line:
|
|
53602
|
+
line: 52,
|
|
53189
53603
|
column: 54
|
|
53190
53604
|
},
|
|
53191
53605
|
end: {
|
|
53192
|
-
line:
|
|
53606
|
+
line: 52,
|
|
53193
53607
|
column: 76
|
|
53194
53608
|
}
|
|
53195
53609
|
},
|
|
53196
|
-
"
|
|
53610
|
+
"33": {
|
|
53197
53611
|
start: {
|
|
53198
|
-
line:
|
|
53612
|
+
line: 53,
|
|
53199
53613
|
column: 4
|
|
53200
53614
|
},
|
|
53201
53615
|
end: {
|
|
53202
|
-
line:
|
|
53616
|
+
line: 53,
|
|
53203
53617
|
column: 34
|
|
53204
53618
|
}
|
|
53205
53619
|
},
|
|
53206
|
-
"
|
|
53620
|
+
"34": {
|
|
53207
53621
|
start: {
|
|
53208
|
-
line:
|
|
53622
|
+
line: 53,
|
|
53209
53623
|
column: 27
|
|
53210
53624
|
},
|
|
53211
53625
|
end: {
|
|
53212
|
-
line:
|
|
53626
|
+
line: 53,
|
|
53213
53627
|
column: 34
|
|
53214
53628
|
}
|
|
53215
53629
|
},
|
|
53216
|
-
"
|
|
53630
|
+
"35": {
|
|
53217
53631
|
start: {
|
|
53218
|
-
line:
|
|
53219
|
-
column:
|
|
53632
|
+
line: 56,
|
|
53633
|
+
column: 26
|
|
53220
53634
|
},
|
|
53221
53635
|
end: {
|
|
53222
|
-
line:
|
|
53223
|
-
column:
|
|
53636
|
+
line: 56,
|
|
53637
|
+
column: 58
|
|
53224
53638
|
}
|
|
53225
53639
|
},
|
|
53226
|
-
"
|
|
53640
|
+
"36": {
|
|
53227
53641
|
start: {
|
|
53228
53642
|
line: 58,
|
|
53229
|
-
column:
|
|
53643
|
+
column: 16
|
|
53644
|
+
},
|
|
53645
|
+
end: {
|
|
53646
|
+
line: 62,
|
|
53647
|
+
column: 6
|
|
53648
|
+
}
|
|
53649
|
+
},
|
|
53650
|
+
"37": {
|
|
53651
|
+
start: {
|
|
53652
|
+
line: 65,
|
|
53653
|
+
column: 6
|
|
53230
53654
|
},
|
|
53231
53655
|
end: {
|
|
53232
53656
|
line: 65,
|
|
53657
|
+
column: 55
|
|
53658
|
+
}
|
|
53659
|
+
},
|
|
53660
|
+
"38": {
|
|
53661
|
+
start: {
|
|
53662
|
+
line: 67,
|
|
53663
|
+
column: 4
|
|
53664
|
+
},
|
|
53665
|
+
end: {
|
|
53666
|
+
line: 79,
|
|
53667
|
+
column: 5
|
|
53668
|
+
}
|
|
53669
|
+
},
|
|
53670
|
+
"39": {
|
|
53671
|
+
start: {
|
|
53672
|
+
line: 68,
|
|
53673
|
+
column: 20
|
|
53674
|
+
},
|
|
53675
|
+
end: {
|
|
53676
|
+
line: 68,
|
|
53677
|
+
column: 46
|
|
53678
|
+
}
|
|
53679
|
+
},
|
|
53680
|
+
"40": {
|
|
53681
|
+
start: {
|
|
53682
|
+
line: 69,
|
|
53683
|
+
column: 27
|
|
53684
|
+
},
|
|
53685
|
+
end: {
|
|
53686
|
+
line: 69,
|
|
53687
|
+
column: 54
|
|
53688
|
+
}
|
|
53689
|
+
},
|
|
53690
|
+
"41": {
|
|
53691
|
+
start: {
|
|
53692
|
+
line: 71,
|
|
53693
|
+
column: 6
|
|
53694
|
+
},
|
|
53695
|
+
end: {
|
|
53696
|
+
line: 76,
|
|
53697
|
+
column: 9
|
|
53698
|
+
}
|
|
53699
|
+
},
|
|
53700
|
+
"42": {
|
|
53701
|
+
start: {
|
|
53702
|
+
line: 75,
|
|
53703
|
+
column: 22
|
|
53704
|
+
},
|
|
53705
|
+
end: {
|
|
53706
|
+
line: 75,
|
|
53707
|
+
column: 65
|
|
53708
|
+
}
|
|
53709
|
+
},
|
|
53710
|
+
"43": {
|
|
53711
|
+
start: {
|
|
53712
|
+
line: 78,
|
|
53713
|
+
column: 6
|
|
53714
|
+
},
|
|
53715
|
+
end: {
|
|
53716
|
+
line: 78,
|
|
53717
|
+
column: 45
|
|
53718
|
+
}
|
|
53719
|
+
},
|
|
53720
|
+
"44": {
|
|
53721
|
+
start: {
|
|
53722
|
+
line: 93,
|
|
53723
|
+
column: 22
|
|
53724
|
+
},
|
|
53725
|
+
end: {
|
|
53726
|
+
line: 100,
|
|
53233
53727
|
column: 3
|
|
53234
53728
|
}
|
|
53235
53729
|
},
|
|
53236
|
-
"
|
|
53730
|
+
"45": {
|
|
53237
53731
|
start: {
|
|
53238
|
-
line:
|
|
53732
|
+
line: 95,
|
|
53239
53733
|
column: 6
|
|
53240
53734
|
},
|
|
53241
53735
|
end: {
|
|
53242
|
-
line:
|
|
53736
|
+
line: 95,
|
|
53243
53737
|
column: 51
|
|
53244
53738
|
}
|
|
53245
53739
|
},
|
|
53246
|
-
"
|
|
53740
|
+
"46": {
|
|
53247
53741
|
start: {
|
|
53248
|
-
line:
|
|
53742
|
+
line: 98,
|
|
53249
53743
|
column: 6
|
|
53250
53744
|
},
|
|
53251
53745
|
end: {
|
|
53252
|
-
line:
|
|
53746
|
+
line: 98,
|
|
53253
53747
|
column: 51
|
|
53254
53748
|
}
|
|
53255
53749
|
}
|
|
@@ -53259,315 +53753,396 @@
|
|
|
53259
53753
|
name: "(anonymous_0)",
|
|
53260
53754
|
decl: {
|
|
53261
53755
|
start: {
|
|
53262
|
-
line:
|
|
53756
|
+
line: 9,
|
|
53263
53757
|
column: 20
|
|
53264
53758
|
},
|
|
53265
53759
|
end: {
|
|
53266
|
-
line:
|
|
53760
|
+
line: 9,
|
|
53267
53761
|
column: 21
|
|
53268
53762
|
}
|
|
53269
53763
|
},
|
|
53270
53764
|
loc: {
|
|
53271
53765
|
start: {
|
|
53272
|
-
line:
|
|
53766
|
+
line: 9,
|
|
53273
53767
|
column: 58
|
|
53274
53768
|
},
|
|
53275
53769
|
end: {
|
|
53276
|
-
line:
|
|
53770
|
+
line: 18,
|
|
53277
53771
|
column: 1
|
|
53278
53772
|
}
|
|
53279
53773
|
},
|
|
53280
|
-
line:
|
|
53774
|
+
line: 9
|
|
53281
53775
|
},
|
|
53282
53776
|
"1": {
|
|
53283
53777
|
name: "(anonymous_1)",
|
|
53284
53778
|
decl: {
|
|
53285
53779
|
start: {
|
|
53286
|
-
line:
|
|
53780
|
+
line: 20,
|
|
53781
|
+
column: 17
|
|
53782
|
+
},
|
|
53783
|
+
end: {
|
|
53784
|
+
line: 20,
|
|
53785
|
+
column: 18
|
|
53786
|
+
}
|
|
53787
|
+
},
|
|
53788
|
+
loc: {
|
|
53789
|
+
start: {
|
|
53790
|
+
line: 20,
|
|
53791
|
+
column: 39
|
|
53792
|
+
},
|
|
53793
|
+
end: {
|
|
53794
|
+
line: 27,
|
|
53795
|
+
column: 1
|
|
53796
|
+
}
|
|
53797
|
+
},
|
|
53798
|
+
line: 20
|
|
53799
|
+
},
|
|
53800
|
+
"2": {
|
|
53801
|
+
name: "(anonymous_2)",
|
|
53802
|
+
decl: {
|
|
53803
|
+
start: {
|
|
53804
|
+
line: 29,
|
|
53287
53805
|
column: 23
|
|
53288
53806
|
},
|
|
53289
53807
|
end: {
|
|
53290
|
-
line:
|
|
53808
|
+
line: 29,
|
|
53291
53809
|
column: 24
|
|
53292
53810
|
}
|
|
53293
53811
|
},
|
|
53294
53812
|
loc: {
|
|
53295
53813
|
start: {
|
|
53296
|
-
line:
|
|
53814
|
+
line: 29,
|
|
53297
53815
|
column: 35
|
|
53298
53816
|
},
|
|
53299
53817
|
end: {
|
|
53300
|
-
line:
|
|
53818
|
+
line: 39,
|
|
53301
53819
|
column: 1
|
|
53302
53820
|
}
|
|
53303
53821
|
},
|
|
53304
|
-
line:
|
|
53822
|
+
line: 29
|
|
53305
53823
|
},
|
|
53306
|
-
"
|
|
53307
|
-
name: "(
|
|
53824
|
+
"3": {
|
|
53825
|
+
name: "(anonymous_3)",
|
|
53308
53826
|
decl: {
|
|
53309
53827
|
start: {
|
|
53310
|
-
line:
|
|
53828
|
+
line: 41,
|
|
53311
53829
|
column: 38
|
|
53312
53830
|
},
|
|
53313
53831
|
end: {
|
|
53314
|
-
line:
|
|
53832
|
+
line: 41,
|
|
53315
53833
|
column: 39
|
|
53316
53834
|
}
|
|
53317
53835
|
},
|
|
53318
53836
|
loc: {
|
|
53319
53837
|
start: {
|
|
53320
|
-
line:
|
|
53838
|
+
line: 41,
|
|
53321
53839
|
column: 57
|
|
53322
53840
|
},
|
|
53323
53841
|
end: {
|
|
53324
|
-
line:
|
|
53842
|
+
line: 81,
|
|
53325
53843
|
column: 1
|
|
53326
53844
|
}
|
|
53327
53845
|
},
|
|
53328
|
-
line:
|
|
53846
|
+
line: 41
|
|
53329
53847
|
},
|
|
53330
|
-
"
|
|
53331
|
-
name: "(
|
|
53848
|
+
"4": {
|
|
53849
|
+
name: "(anonymous_4)",
|
|
53332
53850
|
decl: {
|
|
53333
53851
|
start: {
|
|
53334
|
-
line:
|
|
53852
|
+
line: 47,
|
|
53335
53853
|
column: 21
|
|
53336
53854
|
},
|
|
53337
53855
|
end: {
|
|
53338
|
-
line:
|
|
53856
|
+
line: 47,
|
|
53339
53857
|
column: 22
|
|
53340
53858
|
}
|
|
53341
53859
|
},
|
|
53342
53860
|
loc: {
|
|
53343
53861
|
start: {
|
|
53344
|
-
line:
|
|
53862
|
+
line: 47,
|
|
53345
53863
|
column: 33
|
|
53346
53864
|
},
|
|
53347
53865
|
end: {
|
|
53348
|
-
line:
|
|
53866
|
+
line: 80,
|
|
53349
53867
|
column: 3
|
|
53350
53868
|
}
|
|
53351
53869
|
},
|
|
53352
|
-
line:
|
|
53870
|
+
line: 47
|
|
53353
53871
|
},
|
|
53354
|
-
"
|
|
53355
|
-
name: "(
|
|
53872
|
+
"5": {
|
|
53873
|
+
name: "(anonymous_5)",
|
|
53356
53874
|
decl: {
|
|
53357
53875
|
start: {
|
|
53358
|
-
line:
|
|
53876
|
+
line: 52,
|
|
53359
53877
|
column: 43
|
|
53360
53878
|
},
|
|
53361
53879
|
end: {
|
|
53362
|
-
line:
|
|
53880
|
+
line: 52,
|
|
53363
53881
|
column: 44
|
|
53364
53882
|
}
|
|
53365
53883
|
},
|
|
53366
53884
|
loc: {
|
|
53367
53885
|
start: {
|
|
53368
|
-
line:
|
|
53886
|
+
line: 52,
|
|
53369
53887
|
column: 54
|
|
53370
53888
|
},
|
|
53371
53889
|
end: {
|
|
53372
|
-
line:
|
|
53890
|
+
line: 52,
|
|
53373
53891
|
column: 76
|
|
53374
53892
|
}
|
|
53375
53893
|
},
|
|
53376
|
-
line:
|
|
53894
|
+
line: 52
|
|
53377
53895
|
},
|
|
53378
|
-
"
|
|
53379
|
-
name: "(
|
|
53896
|
+
"6": {
|
|
53897
|
+
name: "(anonymous_6)",
|
|
53380
53898
|
decl: {
|
|
53381
53899
|
start: {
|
|
53382
|
-
line:
|
|
53900
|
+
line: 75,
|
|
53901
|
+
column: 13
|
|
53902
|
+
},
|
|
53903
|
+
end: {
|
|
53904
|
+
line: 75,
|
|
53905
|
+
column: 14
|
|
53906
|
+
}
|
|
53907
|
+
},
|
|
53908
|
+
loc: {
|
|
53909
|
+
start: {
|
|
53910
|
+
line: 75,
|
|
53911
|
+
column: 22
|
|
53912
|
+
},
|
|
53913
|
+
end: {
|
|
53914
|
+
line: 75,
|
|
53915
|
+
column: 65
|
|
53916
|
+
}
|
|
53917
|
+
},
|
|
53918
|
+
line: 75
|
|
53919
|
+
},
|
|
53920
|
+
"7": {
|
|
53921
|
+
name: "(anonymous_7)",
|
|
53922
|
+
decl: {
|
|
53923
|
+
start: {
|
|
53924
|
+
line: 93,
|
|
53383
53925
|
column: 10
|
|
53384
53926
|
},
|
|
53385
53927
|
end: {
|
|
53386
|
-
line:
|
|
53928
|
+
line: 93,
|
|
53387
53929
|
column: 11
|
|
53388
53930
|
}
|
|
53389
53931
|
},
|
|
53390
53932
|
loc: {
|
|
53391
53933
|
start: {
|
|
53392
|
-
line:
|
|
53934
|
+
line: 93,
|
|
53393
53935
|
column: 22
|
|
53394
53936
|
},
|
|
53395
53937
|
end: {
|
|
53396
|
-
line:
|
|
53938
|
+
line: 100,
|
|
53397
53939
|
column: 3
|
|
53398
53940
|
}
|
|
53399
53941
|
},
|
|
53400
|
-
line:
|
|
53942
|
+
line: 93
|
|
53401
53943
|
},
|
|
53402
|
-
"
|
|
53403
|
-
name: "(
|
|
53944
|
+
"8": {
|
|
53945
|
+
name: "(anonymous_8)",
|
|
53404
53946
|
decl: {
|
|
53405
53947
|
start: {
|
|
53406
|
-
line:
|
|
53948
|
+
line: 94,
|
|
53407
53949
|
column: 4
|
|
53408
53950
|
},
|
|
53409
53951
|
end: {
|
|
53410
|
-
line:
|
|
53952
|
+
line: 94,
|
|
53411
53953
|
column: 5
|
|
53412
53954
|
}
|
|
53413
53955
|
},
|
|
53414
53956
|
loc: {
|
|
53415
53957
|
start: {
|
|
53416
|
-
line:
|
|
53958
|
+
line: 94,
|
|
53417
53959
|
column: 18
|
|
53418
53960
|
},
|
|
53419
53961
|
end: {
|
|
53420
|
-
line:
|
|
53962
|
+
line: 96,
|
|
53421
53963
|
column: 5
|
|
53422
53964
|
}
|
|
53423
53965
|
},
|
|
53424
|
-
line:
|
|
53966
|
+
line: 94
|
|
53425
53967
|
},
|
|
53426
|
-
"
|
|
53427
|
-
name: "(
|
|
53968
|
+
"9": {
|
|
53969
|
+
name: "(anonymous_9)",
|
|
53428
53970
|
decl: {
|
|
53429
53971
|
start: {
|
|
53430
|
-
line:
|
|
53972
|
+
line: 97,
|
|
53431
53973
|
column: 4
|
|
53432
53974
|
},
|
|
53433
53975
|
end: {
|
|
53434
|
-
line:
|
|
53976
|
+
line: 97,
|
|
53435
53977
|
column: 5
|
|
53436
53978
|
}
|
|
53437
53979
|
},
|
|
53438
53980
|
loc: {
|
|
53439
53981
|
start: {
|
|
53440
|
-
line:
|
|
53982
|
+
line: 97,
|
|
53441
53983
|
column: 26
|
|
53442
53984
|
},
|
|
53443
53985
|
end: {
|
|
53444
|
-
line:
|
|
53986
|
+
line: 99,
|
|
53445
53987
|
column: 5
|
|
53446
53988
|
}
|
|
53447
53989
|
},
|
|
53448
|
-
line:
|
|
53990
|
+
line: 97
|
|
53449
53991
|
}
|
|
53450
53992
|
},
|
|
53451
53993
|
branchMap: {
|
|
53452
53994
|
"0": {
|
|
53453
53995
|
loc: {
|
|
53454
53996
|
start: {
|
|
53455
|
-
line:
|
|
53997
|
+
line: 32,
|
|
53456
53998
|
column: 2
|
|
53457
53999
|
},
|
|
53458
54000
|
end: {
|
|
53459
|
-
line:
|
|
53460
|
-
column:
|
|
54001
|
+
line: 36,
|
|
54002
|
+
column: 65
|
|
53461
54003
|
}
|
|
53462
54004
|
},
|
|
53463
54005
|
type: "if",
|
|
53464
54006
|
locations: [{
|
|
53465
54007
|
start: {
|
|
53466
|
-
line:
|
|
54008
|
+
line: 32,
|
|
53467
54009
|
column: 2
|
|
53468
54010
|
},
|
|
53469
54011
|
end: {
|
|
53470
|
-
line:
|
|
53471
|
-
column:
|
|
54012
|
+
line: 36,
|
|
54013
|
+
column: 65
|
|
53472
54014
|
}
|
|
53473
54015
|
}, {
|
|
53474
54016
|
start: {
|
|
53475
|
-
line:
|
|
54017
|
+
line: 33,
|
|
53476
54018
|
column: 7
|
|
53477
54019
|
},
|
|
53478
54020
|
end: {
|
|
53479
|
-
line:
|
|
53480
|
-
column:
|
|
54021
|
+
line: 36,
|
|
54022
|
+
column: 65
|
|
53481
54023
|
}
|
|
53482
54024
|
}],
|
|
53483
|
-
line:
|
|
54025
|
+
line: 32
|
|
53484
54026
|
},
|
|
53485
54027
|
"1": {
|
|
53486
54028
|
loc: {
|
|
53487
54029
|
start: {
|
|
53488
|
-
line:
|
|
54030
|
+
line: 33,
|
|
53489
54031
|
column: 7
|
|
53490
54032
|
},
|
|
53491
54033
|
end: {
|
|
53492
|
-
line:
|
|
53493
|
-
column:
|
|
54034
|
+
line: 36,
|
|
54035
|
+
column: 65
|
|
53494
54036
|
}
|
|
53495
54037
|
},
|
|
53496
54038
|
type: "if",
|
|
53497
54039
|
locations: [{
|
|
53498
54040
|
start: {
|
|
53499
|
-
line:
|
|
54041
|
+
line: 33,
|
|
53500
54042
|
column: 7
|
|
53501
54043
|
},
|
|
53502
54044
|
end: {
|
|
53503
|
-
line:
|
|
53504
|
-
column:
|
|
54045
|
+
line: 36,
|
|
54046
|
+
column: 65
|
|
53505
54047
|
}
|
|
53506
54048
|
}, {
|
|
53507
54049
|
start: {
|
|
53508
|
-
line:
|
|
54050
|
+
line: 34,
|
|
53509
54051
|
column: 7
|
|
53510
54052
|
},
|
|
53511
54053
|
end: {
|
|
53512
|
-
line:
|
|
53513
|
-
column:
|
|
54054
|
+
line: 36,
|
|
54055
|
+
column: 65
|
|
53514
54056
|
}
|
|
53515
54057
|
}],
|
|
53516
|
-
line:
|
|
54058
|
+
line: 33
|
|
53517
54059
|
},
|
|
53518
54060
|
"2": {
|
|
53519
54061
|
loc: {
|
|
53520
54062
|
start: {
|
|
53521
|
-
line:
|
|
54063
|
+
line: 34,
|
|
53522
54064
|
column: 7
|
|
53523
54065
|
},
|
|
53524
54066
|
end: {
|
|
53525
|
-
line:
|
|
53526
|
-
column:
|
|
54067
|
+
line: 36,
|
|
54068
|
+
column: 65
|
|
53527
54069
|
}
|
|
53528
54070
|
},
|
|
53529
54071
|
type: "if",
|
|
53530
54072
|
locations: [{
|
|
53531
54073
|
start: {
|
|
53532
|
-
line:
|
|
54074
|
+
line: 34,
|
|
53533
54075
|
column: 7
|
|
53534
54076
|
},
|
|
53535
54077
|
end: {
|
|
53536
|
-
line:
|
|
53537
|
-
column:
|
|
54078
|
+
line: 36,
|
|
54079
|
+
column: 65
|
|
53538
54080
|
}
|
|
53539
54081
|
}, {
|
|
53540
54082
|
start: {
|
|
53541
|
-
line:
|
|
54083
|
+
line: 35,
|
|
53542
54084
|
column: 7
|
|
53543
54085
|
},
|
|
53544
54086
|
end: {
|
|
53545
|
-
line:
|
|
53546
|
-
column:
|
|
54087
|
+
line: 36,
|
|
54088
|
+
column: 65
|
|
53547
54089
|
}
|
|
53548
54090
|
}],
|
|
53549
|
-
line:
|
|
54091
|
+
line: 34
|
|
53550
54092
|
},
|
|
53551
54093
|
"3": {
|
|
53552
54094
|
loc: {
|
|
53553
54095
|
start: {
|
|
53554
|
-
line:
|
|
54096
|
+
line: 35,
|
|
53555
54097
|
column: 7
|
|
53556
54098
|
},
|
|
53557
54099
|
end: {
|
|
53558
|
-
line:
|
|
53559
|
-
column:
|
|
54100
|
+
line: 36,
|
|
54101
|
+
column: 65
|
|
53560
54102
|
}
|
|
53561
54103
|
},
|
|
53562
54104
|
type: "if",
|
|
53563
54105
|
locations: [{
|
|
53564
54106
|
start: {
|
|
53565
|
-
line:
|
|
54107
|
+
line: 35,
|
|
53566
54108
|
column: 7
|
|
53567
54109
|
},
|
|
53568
54110
|
end: {
|
|
53569
|
-
line:
|
|
53570
|
-
column:
|
|
54111
|
+
line: 36,
|
|
54112
|
+
column: 65
|
|
54113
|
+
}
|
|
54114
|
+
}, {
|
|
54115
|
+
start: {
|
|
54116
|
+
line: 36,
|
|
54117
|
+
column: 7
|
|
54118
|
+
},
|
|
54119
|
+
end: {
|
|
54120
|
+
line: 36,
|
|
54121
|
+
column: 65
|
|
54122
|
+
}
|
|
54123
|
+
}],
|
|
54124
|
+
line: 35
|
|
54125
|
+
},
|
|
54126
|
+
"4": {
|
|
54127
|
+
loc: {
|
|
54128
|
+
start: {
|
|
54129
|
+
line: 36,
|
|
54130
|
+
column: 7
|
|
54131
|
+
},
|
|
54132
|
+
end: {
|
|
54133
|
+
line: 36,
|
|
54134
|
+
column: 65
|
|
54135
|
+
}
|
|
54136
|
+
},
|
|
54137
|
+
type: "if",
|
|
54138
|
+
locations: [{
|
|
54139
|
+
start: {
|
|
54140
|
+
line: 36,
|
|
54141
|
+
column: 7
|
|
54142
|
+
},
|
|
54143
|
+
end: {
|
|
54144
|
+
line: 36,
|
|
54145
|
+
column: 65
|
|
53571
54146
|
}
|
|
53572
54147
|
}, {
|
|
53573
54148
|
start: {
|
|
@@ -53579,60 +54154,60 @@
|
|
|
53579
54154
|
column: undefined
|
|
53580
54155
|
}
|
|
53581
54156
|
}],
|
|
53582
|
-
line:
|
|
54157
|
+
line: 36
|
|
53583
54158
|
},
|
|
53584
|
-
"
|
|
54159
|
+
"5": {
|
|
53585
54160
|
loc: {
|
|
53586
54161
|
start: {
|
|
53587
|
-
line:
|
|
54162
|
+
line: 43,
|
|
53588
54163
|
column: 4
|
|
53589
54164
|
},
|
|
53590
54165
|
end: {
|
|
53591
|
-
line:
|
|
54166
|
+
line: 43,
|
|
53592
54167
|
column: 64
|
|
53593
54168
|
}
|
|
53594
54169
|
},
|
|
53595
54170
|
type: "cond-expr",
|
|
53596
54171
|
locations: [{
|
|
53597
54172
|
start: {
|
|
53598
|
-
line:
|
|
54173
|
+
line: 43,
|
|
53599
54174
|
column: 34
|
|
53600
54175
|
},
|
|
53601
54176
|
end: {
|
|
53602
|
-
line:
|
|
54177
|
+
line: 43,
|
|
53603
54178
|
column: 44
|
|
53604
54179
|
}
|
|
53605
54180
|
}, {
|
|
53606
54181
|
start: {
|
|
53607
|
-
line:
|
|
54182
|
+
line: 43,
|
|
53608
54183
|
column: 47
|
|
53609
54184
|
},
|
|
53610
54185
|
end: {
|
|
53611
|
-
line:
|
|
54186
|
+
line: 43,
|
|
53612
54187
|
column: 64
|
|
53613
54188
|
}
|
|
53614
54189
|
}],
|
|
53615
|
-
line:
|
|
54190
|
+
line: 43
|
|
53616
54191
|
},
|
|
53617
|
-
"
|
|
54192
|
+
"6": {
|
|
53618
54193
|
loc: {
|
|
53619
54194
|
start: {
|
|
53620
|
-
line:
|
|
54195
|
+
line: 44,
|
|
53621
54196
|
column: 2
|
|
53622
54197
|
},
|
|
53623
54198
|
end: {
|
|
53624
|
-
line:
|
|
54199
|
+
line: 44,
|
|
53625
54200
|
column: 44
|
|
53626
54201
|
}
|
|
53627
54202
|
},
|
|
53628
54203
|
type: "if",
|
|
53629
54204
|
locations: [{
|
|
53630
54205
|
start: {
|
|
53631
|
-
line:
|
|
54206
|
+
line: 44,
|
|
53632
54207
|
column: 2
|
|
53633
54208
|
},
|
|
53634
54209
|
end: {
|
|
53635
|
-
line:
|
|
54210
|
+
line: 44,
|
|
53636
54211
|
column: 44
|
|
53637
54212
|
}
|
|
53638
54213
|
}, {
|
|
@@ -53645,27 +54220,27 @@
|
|
|
53645
54220
|
column: undefined
|
|
53646
54221
|
}
|
|
53647
54222
|
}],
|
|
53648
|
-
line:
|
|
54223
|
+
line: 44
|
|
53649
54224
|
},
|
|
53650
|
-
"
|
|
54225
|
+
"7": {
|
|
53651
54226
|
loc: {
|
|
53652
54227
|
start: {
|
|
53653
|
-
line:
|
|
54228
|
+
line: 49,
|
|
53654
54229
|
column: 4
|
|
53655
54230
|
},
|
|
53656
54231
|
end: {
|
|
53657
|
-
line:
|
|
54232
|
+
line: 49,
|
|
53658
54233
|
column: 29
|
|
53659
54234
|
}
|
|
53660
54235
|
},
|
|
53661
54236
|
type: "if",
|
|
53662
54237
|
locations: [{
|
|
53663
54238
|
start: {
|
|
53664
|
-
line:
|
|
54239
|
+
line: 49,
|
|
53665
54240
|
column: 4
|
|
53666
54241
|
},
|
|
53667
54242
|
end: {
|
|
53668
|
-
line:
|
|
54243
|
+
line: 49,
|
|
53669
54244
|
column: 29
|
|
53670
54245
|
}
|
|
53671
54246
|
}, {
|
|
@@ -53678,27 +54253,27 @@
|
|
|
53678
54253
|
column: undefined
|
|
53679
54254
|
}
|
|
53680
54255
|
}],
|
|
53681
|
-
line:
|
|
54256
|
+
line: 49
|
|
53682
54257
|
},
|
|
53683
|
-
"
|
|
54258
|
+
"8": {
|
|
53684
54259
|
loc: {
|
|
53685
54260
|
start: {
|
|
53686
|
-
line:
|
|
54261
|
+
line: 53,
|
|
53687
54262
|
column: 4
|
|
53688
54263
|
},
|
|
53689
54264
|
end: {
|
|
53690
|
-
line:
|
|
54265
|
+
line: 53,
|
|
53691
54266
|
column: 34
|
|
53692
54267
|
}
|
|
53693
54268
|
},
|
|
53694
54269
|
type: "if",
|
|
53695
54270
|
locations: [{
|
|
53696
54271
|
start: {
|
|
53697
|
-
line:
|
|
54272
|
+
line: 53,
|
|
53698
54273
|
column: 4
|
|
53699
54274
|
},
|
|
53700
54275
|
end: {
|
|
53701
|
-
line:
|
|
54276
|
+
line: 53,
|
|
53702
54277
|
column: 34
|
|
53703
54278
|
}
|
|
53704
54279
|
}, {
|
|
@@ -53711,7 +54286,40 @@
|
|
|
53711
54286
|
column: undefined
|
|
53712
54287
|
}
|
|
53713
54288
|
}],
|
|
53714
|
-
line:
|
|
54289
|
+
line: 53
|
|
54290
|
+
},
|
|
54291
|
+
"9": {
|
|
54292
|
+
loc: {
|
|
54293
|
+
start: {
|
|
54294
|
+
line: 67,
|
|
54295
|
+
column: 4
|
|
54296
|
+
},
|
|
54297
|
+
end: {
|
|
54298
|
+
line: 79,
|
|
54299
|
+
column: 5
|
|
54300
|
+
}
|
|
54301
|
+
},
|
|
54302
|
+
type: "if",
|
|
54303
|
+
locations: [{
|
|
54304
|
+
start: {
|
|
54305
|
+
line: 67,
|
|
54306
|
+
column: 4
|
|
54307
|
+
},
|
|
54308
|
+
end: {
|
|
54309
|
+
line: 79,
|
|
54310
|
+
column: 5
|
|
54311
|
+
}
|
|
54312
|
+
}, {
|
|
54313
|
+
start: {
|
|
54314
|
+
line: 77,
|
|
54315
|
+
column: 11
|
|
54316
|
+
},
|
|
54317
|
+
end: {
|
|
54318
|
+
line: 79,
|
|
54319
|
+
column: 5
|
|
54320
|
+
}
|
|
54321
|
+
}],
|
|
54322
|
+
line: 67
|
|
53715
54323
|
}
|
|
53716
54324
|
},
|
|
53717
54325
|
s: {
|
|
@@ -53748,7 +54356,20 @@
|
|
|
53748
54356
|
"30": 0,
|
|
53749
54357
|
"31": 0,
|
|
53750
54358
|
"32": 0,
|
|
53751
|
-
"33": 0
|
|
54359
|
+
"33": 0,
|
|
54360
|
+
"34": 0,
|
|
54361
|
+
"35": 0,
|
|
54362
|
+
"36": 0,
|
|
54363
|
+
"37": 0,
|
|
54364
|
+
"38": 0,
|
|
54365
|
+
"39": 0,
|
|
54366
|
+
"40": 0,
|
|
54367
|
+
"41": 0,
|
|
54368
|
+
"42": 0,
|
|
54369
|
+
"43": 0,
|
|
54370
|
+
"44": 0,
|
|
54371
|
+
"45": 0,
|
|
54372
|
+
"46": 0
|
|
53752
54373
|
},
|
|
53753
54374
|
f: {
|
|
53754
54375
|
"0": 0,
|
|
@@ -53758,7 +54379,9 @@
|
|
|
53758
54379
|
"4": 0,
|
|
53759
54380
|
"5": 0,
|
|
53760
54381
|
"6": 0,
|
|
53761
|
-
"7": 0
|
|
54382
|
+
"7": 0,
|
|
54383
|
+
"8": 0,
|
|
54384
|
+
"9": 0
|
|
53762
54385
|
},
|
|
53763
54386
|
b: {
|
|
53764
54387
|
"0": [0, 0],
|
|
@@ -53768,10 +54391,12 @@
|
|
|
53768
54391
|
"4": [0, 0],
|
|
53769
54392
|
"5": [0, 0],
|
|
53770
54393
|
"6": [0, 0],
|
|
53771
|
-
"7": [0, 0]
|
|
54394
|
+
"7": [0, 0],
|
|
54395
|
+
"8": [0, 0],
|
|
54396
|
+
"9": [0, 0]
|
|
53772
54397
|
},
|
|
53773
54398
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
53774
|
-
hash: "
|
|
54399
|
+
hash: "5de793be6d848ebf785099997a3f853e63ee5f47"
|
|
53775
54400
|
};
|
|
53776
54401
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
53777
54402
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -53809,95 +54434,139 @@
|
|
|
53809
54434
|
};
|
|
53810
54435
|
};
|
|
53811
54436
|
cov_11qsgbpkmq().s[5]++;
|
|
53812
|
-
var
|
|
54437
|
+
var getRange = function getRange(_ref2) {
|
|
54438
|
+
var context = _ref2.context,
|
|
54439
|
+
loc = _ref2.loc;
|
|
53813
54440
|
cov_11qsgbpkmq().f[1]++;
|
|
53814
|
-
var
|
|
54441
|
+
var sourceCode = (cov_11qsgbpkmq().s[6]++, context.getSourceCode());
|
|
53815
54442
|
cov_11qsgbpkmq().s[7]++;
|
|
54443
|
+
return [sourceCode.getIndexFromLoc(loc.start), sourceCode.getIndexFromLoc(loc.end)];
|
|
54444
|
+
};
|
|
54445
|
+
cov_11qsgbpkmq().s[8]++;
|
|
54446
|
+
var getCssProperty = function getCssProperty(cssClass) {
|
|
54447
|
+
cov_11qsgbpkmq().f[2]++;
|
|
54448
|
+
var property = (cov_11qsgbpkmq().s[9]++, "");
|
|
54449
|
+
cov_11qsgbpkmq().s[10]++;
|
|
53816
54450
|
if (cssClass.includes("text")) {
|
|
53817
54451
|
cov_11qsgbpkmq().b[0][0]++;
|
|
53818
|
-
cov_11qsgbpkmq().s[
|
|
54452
|
+
cov_11qsgbpkmq().s[11]++;
|
|
53819
54453
|
property = "textColor";
|
|
53820
54454
|
} else {
|
|
53821
54455
|
cov_11qsgbpkmq().b[0][1]++;
|
|
53822
|
-
cov_11qsgbpkmq().s[
|
|
54456
|
+
cov_11qsgbpkmq().s[12]++;
|
|
53823
54457
|
if (cssClass.includes("border")) {
|
|
53824
54458
|
cov_11qsgbpkmq().b[1][0]++;
|
|
53825
|
-
cov_11qsgbpkmq().s[
|
|
54459
|
+
cov_11qsgbpkmq().s[13]++;
|
|
53826
54460
|
property = "borderColor";
|
|
53827
54461
|
} else {
|
|
53828
54462
|
cov_11qsgbpkmq().b[1][1]++;
|
|
53829
|
-
cov_11qsgbpkmq().s[
|
|
54463
|
+
cov_11qsgbpkmq().s[14]++;
|
|
53830
54464
|
if (cssClass.includes("rounded")) {
|
|
53831
54465
|
cov_11qsgbpkmq().b[2][0]++;
|
|
53832
|
-
cov_11qsgbpkmq().s[
|
|
54466
|
+
cov_11qsgbpkmq().s[15]++;
|
|
53833
54467
|
property = "borderRadius";
|
|
53834
54468
|
} else {
|
|
53835
54469
|
cov_11qsgbpkmq().b[2][1]++;
|
|
53836
|
-
cov_11qsgbpkmq().s[
|
|
54470
|
+
cov_11qsgbpkmq().s[16]++;
|
|
53837
54471
|
if (cssClass.includes("shadow")) {
|
|
53838
54472
|
cov_11qsgbpkmq().b[3][0]++;
|
|
53839
|
-
cov_11qsgbpkmq().s[
|
|
54473
|
+
cov_11qsgbpkmq().s[17]++;
|
|
53840
54474
|
property = "boxShadow";
|
|
53841
54475
|
} else {
|
|
53842
54476
|
cov_11qsgbpkmq().b[3][1]++;
|
|
54477
|
+
cov_11qsgbpkmq().s[18]++;
|
|
54478
|
+
if (cssClass.includes("bg")) {
|
|
54479
|
+
cov_11qsgbpkmq().b[4][0]++;
|
|
54480
|
+
cov_11qsgbpkmq().s[19]++;
|
|
54481
|
+
property = "backgroundColor";
|
|
54482
|
+
} else {
|
|
54483
|
+
cov_11qsgbpkmq().b[4][1]++;
|
|
54484
|
+
}
|
|
53843
54485
|
}
|
|
53844
54486
|
}
|
|
53845
54487
|
}
|
|
53846
54488
|
}
|
|
53847
|
-
cov_11qsgbpkmq().s[
|
|
54489
|
+
cov_11qsgbpkmq().s[20]++;
|
|
53848
54490
|
return property;
|
|
53849
54491
|
};
|
|
53850
|
-
cov_11qsgbpkmq().s[
|
|
54492
|
+
cov_11qsgbpkmq().s[21]++;
|
|
53851
54493
|
var checkAndReportTailwindClasses = function checkAndReportTailwindClasses(context, node) {
|
|
53852
|
-
cov_11qsgbpkmq().f[
|
|
53853
|
-
var nodeValue = (cov_11qsgbpkmq().s[
|
|
53854
|
-
cov_11qsgbpkmq().s[
|
|
54494
|
+
cov_11qsgbpkmq().f[3]++;
|
|
54495
|
+
var nodeValue = (cov_11qsgbpkmq().s[22]++, node.type === TYPES.LITERAL ? (cov_11qsgbpkmq().b[5][0]++, node.value) : (cov_11qsgbpkmq().b[5][1]++, node.value.cooked));
|
|
54496
|
+
cov_11qsgbpkmq().s[23]++;
|
|
53855
54497
|
if (typeof nodeValue !== "string") {
|
|
53856
|
-
cov_11qsgbpkmq().b[
|
|
53857
|
-
cov_11qsgbpkmq().s[
|
|
54498
|
+
cov_11qsgbpkmq().b[6][0]++;
|
|
54499
|
+
cov_11qsgbpkmq().s[24]++;
|
|
53858
54500
|
return;
|
|
53859
54501
|
} else {
|
|
53860
|
-
cov_11qsgbpkmq().b[
|
|
54502
|
+
cov_11qsgbpkmq().b[6][1]++;
|
|
53861
54503
|
}
|
|
53862
|
-
var cssClasses = (cov_11qsgbpkmq().s[
|
|
53863
|
-
cov_11qsgbpkmq().s[
|
|
54504
|
+
var cssClasses = (cov_11qsgbpkmq().s[25]++, nodeValue.split(" "));
|
|
54505
|
+
cov_11qsgbpkmq().s[26]++;
|
|
53864
54506
|
cssClasses.forEach(function (cssClass) {
|
|
53865
|
-
cov_11qsgbpkmq().f[
|
|
53866
|
-
var cssProperty = (cov_11qsgbpkmq().s[
|
|
53867
|
-
cov_11qsgbpkmq().s[
|
|
54507
|
+
cov_11qsgbpkmq().f[4]++;
|
|
54508
|
+
var cssProperty = (cov_11qsgbpkmq().s[27]++, getCssProperty(cssClass));
|
|
54509
|
+
cov_11qsgbpkmq().s[28]++;
|
|
53868
54510
|
if (!cssProperty) {
|
|
53869
|
-
cov_11qsgbpkmq().b[
|
|
53870
|
-
cov_11qsgbpkmq().s[
|
|
54511
|
+
cov_11qsgbpkmq().b[7][0]++;
|
|
54512
|
+
cov_11qsgbpkmq().s[29]++;
|
|
53871
54513
|
return;
|
|
53872
54514
|
} else {
|
|
53873
|
-
cov_11qsgbpkmq().b[
|
|
54515
|
+
cov_11qsgbpkmq().b[7][1]++;
|
|
53874
54516
|
}
|
|
53875
|
-
var
|
|
53876
|
-
patterns =
|
|
53877
|
-
message =
|
|
53878
|
-
var isPatternMatched = (cov_11qsgbpkmq().s[
|
|
53879
|
-
cov_11qsgbpkmq().f[
|
|
53880
|
-
cov_11qsgbpkmq().s[
|
|
54517
|
+
var _ref3 = (cov_11qsgbpkmq().s[30]++, TAILWIND_CLASS_PATTERNS[cssProperty]),
|
|
54518
|
+
patterns = _ref3.patterns,
|
|
54519
|
+
message = _ref3.message;
|
|
54520
|
+
var isPatternMatched = (cov_11qsgbpkmq().s[31]++, patterns.some(function (pattern) {
|
|
54521
|
+
cov_11qsgbpkmq().f[5]++;
|
|
54522
|
+
cov_11qsgbpkmq().s[32]++;
|
|
53881
54523
|
return pattern.test(cssClass);
|
|
53882
54524
|
}));
|
|
53883
|
-
cov_11qsgbpkmq().s[
|
|
54525
|
+
cov_11qsgbpkmq().s[33]++;
|
|
53884
54526
|
if (!isPatternMatched) {
|
|
53885
|
-
cov_11qsgbpkmq().b[
|
|
53886
|
-
cov_11qsgbpkmq().s[
|
|
54527
|
+
cov_11qsgbpkmq().b[8][0]++;
|
|
54528
|
+
cov_11qsgbpkmq().s[34]++;
|
|
53887
54529
|
return;
|
|
53888
54530
|
} else {
|
|
53889
|
-
cov_11qsgbpkmq().b[
|
|
54531
|
+
cov_11qsgbpkmq().b[8][1]++;
|
|
54532
|
+
}
|
|
54533
|
+
|
|
54534
|
+
// This logic is to remove the pseudo-class if it is present.
|
|
54535
|
+
var tailwindClass = (cov_11qsgbpkmq().s[35]++, cssClass.split(":").reverse()[0]);
|
|
54536
|
+
var loc = (cov_11qsgbpkmq().s[36]++, getLocation({
|
|
54537
|
+
nodeValue: nodeValue,
|
|
54538
|
+
nodeLoc: node.loc,
|
|
54539
|
+
cssClass: tailwindClass
|
|
54540
|
+
}));
|
|
54541
|
+
var isAutofixAvailable = (cov_11qsgbpkmq().s[37]++, AUTOFIX_AVAILABLE_CLASSES.includes(tailwindClass));
|
|
54542
|
+
cov_11qsgbpkmq().s[38]++;
|
|
54543
|
+
if (isAutofixAvailable) {
|
|
54544
|
+
cov_11qsgbpkmq().b[9][0]++;
|
|
54545
|
+
var range = (cov_11qsgbpkmq().s[39]++, getRange({
|
|
54546
|
+
context: context,
|
|
54547
|
+
loc: loc
|
|
54548
|
+
}));
|
|
54549
|
+
var neetoUIClass = (cov_11qsgbpkmq().s[40]++, "neeto-ui-".concat(tailwindClass));
|
|
54550
|
+
cov_11qsgbpkmq().s[41]++;
|
|
54551
|
+
context.report({
|
|
54552
|
+
node: node,
|
|
54553
|
+
loc: loc,
|
|
54554
|
+
message: replaceTailwindClass(tailwindClass, neetoUIClass),
|
|
54555
|
+
fix: function fix(fixer) {
|
|
54556
|
+
cov_11qsgbpkmq().f[6]++;
|
|
54557
|
+
cov_11qsgbpkmq().s[42]++;
|
|
54558
|
+
return fixer.replaceTextRange(range, neetoUIClass);
|
|
54559
|
+
}
|
|
54560
|
+
});
|
|
54561
|
+
} else {
|
|
54562
|
+
cov_11qsgbpkmq().b[9][1]++;
|
|
54563
|
+
cov_11qsgbpkmq().s[43]++;
|
|
54564
|
+
context.report({
|
|
54565
|
+
node: node,
|
|
54566
|
+
loc: loc,
|
|
54567
|
+
message: message
|
|
54568
|
+
});
|
|
53890
54569
|
}
|
|
53891
|
-
cov_11qsgbpkmq().s[30]++;
|
|
53892
|
-
context.report({
|
|
53893
|
-
node: node,
|
|
53894
|
-
loc: getLocation({
|
|
53895
|
-
nodeValue: nodeValue,
|
|
53896
|
-
nodeLoc: node.loc,
|
|
53897
|
-
cssClass: cssClass
|
|
53898
|
-
}),
|
|
53899
|
-
message: message
|
|
53900
|
-
});
|
|
53901
54570
|
});
|
|
53902
54571
|
};
|
|
53903
54572
|
var useNeetouiClasses = {
|
|
@@ -53906,20 +54575,21 @@
|
|
|
53906
54575
|
docs: {
|
|
53907
54576
|
url: "https://github.com/bigbinary/eslint-plugin-neeto/blob/main/docs/src/rules/use-neetoui-classes.md",
|
|
53908
54577
|
description: "Warns when tailwind classes are used instead of neetoUI classes"
|
|
53909
|
-
}
|
|
54578
|
+
},
|
|
54579
|
+
fixable: "code"
|
|
53910
54580
|
},
|
|
53911
54581
|
create: function create(context) {
|
|
53912
|
-
cov_11qsgbpkmq().f[
|
|
53913
|
-
cov_11qsgbpkmq().s[
|
|
54582
|
+
cov_11qsgbpkmq().f[7]++;
|
|
54583
|
+
cov_11qsgbpkmq().s[44]++;
|
|
53914
54584
|
return {
|
|
53915
54585
|
Literal: function Literal(node) {
|
|
53916
|
-
cov_11qsgbpkmq().f[
|
|
53917
|
-
cov_11qsgbpkmq().s[
|
|
54586
|
+
cov_11qsgbpkmq().f[8]++;
|
|
54587
|
+
cov_11qsgbpkmq().s[45]++;
|
|
53918
54588
|
checkAndReportTailwindClasses(context, node);
|
|
53919
54589
|
},
|
|
53920
54590
|
TemplateElement: function TemplateElement(node) {
|
|
53921
|
-
cov_11qsgbpkmq().f[
|
|
53922
|
-
cov_11qsgbpkmq().s[
|
|
54591
|
+
cov_11qsgbpkmq().f[9]++;
|
|
54592
|
+
cov_11qsgbpkmq().s[46]++;
|
|
53923
54593
|
checkAndReportTailwindClasses(context, node);
|
|
53924
54594
|
}
|
|
53925
54595
|
};
|