@bigbinary/eslint-plugin-neeto 1.0.47 → 1.0.49
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 +1358 -628
- 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 = "6de7d68a908e256375c49f84c1ca92085e6edaf0";
|
|
52911
53275
|
var global = new Function("return this")();
|
|
52912
53276
|
var gcv = "__coverage__";
|
|
52913
53277
|
var coverageData = {
|
|
@@ -52915,341 +53279,511 @@
|
|
|
52915
53279
|
statementMap: {
|
|
52916
53280
|
"0": {
|
|
52917
53281
|
start: {
|
|
52918
|
-
line:
|
|
53282
|
+
line: 11,
|
|
52919
53283
|
column: 20
|
|
52920
53284
|
},
|
|
52921
53285
|
end: {
|
|
52922
|
-
line:
|
|
53286
|
+
line: 26,
|
|
52923
53287
|
column: 1
|
|
52924
53288
|
}
|
|
52925
53289
|
},
|
|
52926
53290
|
"1": {
|
|
52927
53291
|
start: {
|
|
52928
|
-
line:
|
|
52929
|
-
column:
|
|
53292
|
+
line: 12,
|
|
53293
|
+
column: 16
|
|
52930
53294
|
},
|
|
52931
53295
|
end: {
|
|
52932
|
-
line:
|
|
52933
|
-
column:
|
|
53296
|
+
line: 12,
|
|
53297
|
+
column: 37
|
|
52934
53298
|
}
|
|
52935
53299
|
},
|
|
52936
53300
|
"2": {
|
|
52937
53301
|
start: {
|
|
52938
|
-
line:
|
|
53302
|
+
line: 13,
|
|
53303
|
+
column: 20
|
|
53304
|
+
},
|
|
53305
|
+
end: {
|
|
53306
|
+
line: 13,
|
|
53307
|
+
column: 55
|
|
53308
|
+
}
|
|
53309
|
+
},
|
|
53310
|
+
"3": {
|
|
53311
|
+
start: {
|
|
53312
|
+
line: 14,
|
|
53313
|
+
column: 20
|
|
53314
|
+
},
|
|
53315
|
+
end: {
|
|
53316
|
+
line: 14,
|
|
53317
|
+
column: 36
|
|
53318
|
+
}
|
|
53319
|
+
},
|
|
53320
|
+
"4": {
|
|
53321
|
+
start: {
|
|
53322
|
+
line: 16,
|
|
52939
53323
|
column: 17
|
|
52940
53324
|
},
|
|
52941
53325
|
end: {
|
|
52942
|
-
line:
|
|
53326
|
+
line: 16,
|
|
53327
|
+
column: 44
|
|
53328
|
+
}
|
|
53329
|
+
},
|
|
53330
|
+
"5": {
|
|
53331
|
+
start: {
|
|
53332
|
+
line: 17,
|
|
53333
|
+
column: 2
|
|
53334
|
+
},
|
|
53335
|
+
end: {
|
|
53336
|
+
line: 17,
|
|
53337
|
+
column: 70
|
|
53338
|
+
}
|
|
53339
|
+
},
|
|
53340
|
+
"6": {
|
|
53341
|
+
start: {
|
|
53342
|
+
line: 17,
|
|
53343
|
+
column: 23
|
|
53344
|
+
},
|
|
53345
|
+
end: {
|
|
53346
|
+
line: 17,
|
|
53347
|
+
column: 70
|
|
53348
|
+
}
|
|
53349
|
+
},
|
|
53350
|
+
"7": {
|
|
53351
|
+
start: {
|
|
53352
|
+
line: 19,
|
|
53353
|
+
column: 17
|
|
53354
|
+
},
|
|
53355
|
+
end: {
|
|
53356
|
+
line: 19,
|
|
52943
53357
|
column: 43
|
|
52944
53358
|
}
|
|
52945
53359
|
},
|
|
52946
|
-
"
|
|
53360
|
+
"8": {
|
|
52947
53361
|
start: {
|
|
52948
|
-
line:
|
|
53362
|
+
line: 20,
|
|
52949
53363
|
column: 15
|
|
52950
53364
|
},
|
|
52951
53365
|
end: {
|
|
52952
|
-
line:
|
|
52953
|
-
column:
|
|
53366
|
+
line: 20,
|
|
53367
|
+
column: 45
|
|
52954
53368
|
}
|
|
52955
53369
|
},
|
|
52956
|
-
"
|
|
53370
|
+
"9": {
|
|
52957
53371
|
start: {
|
|
52958
|
-
line:
|
|
53372
|
+
line: 22,
|
|
52959
53373
|
column: 2
|
|
52960
53374
|
},
|
|
52961
53375
|
end: {
|
|
52962
|
-
line:
|
|
53376
|
+
line: 25,
|
|
52963
53377
|
column: 4
|
|
52964
53378
|
}
|
|
52965
53379
|
},
|
|
52966
|
-
"
|
|
53380
|
+
"10": {
|
|
52967
53381
|
start: {
|
|
52968
|
-
line:
|
|
53382
|
+
line: 28,
|
|
53383
|
+
column: 17
|
|
53384
|
+
},
|
|
53385
|
+
end: {
|
|
53386
|
+
line: 35,
|
|
53387
|
+
column: 1
|
|
53388
|
+
}
|
|
53389
|
+
},
|
|
53390
|
+
"11": {
|
|
53391
|
+
start: {
|
|
53392
|
+
line: 29,
|
|
53393
|
+
column: 21
|
|
53394
|
+
},
|
|
53395
|
+
end: {
|
|
53396
|
+
line: 29,
|
|
53397
|
+
column: 44
|
|
53398
|
+
}
|
|
53399
|
+
},
|
|
53400
|
+
"12": {
|
|
53401
|
+
start: {
|
|
53402
|
+
line: 31,
|
|
53403
|
+
column: 2
|
|
53404
|
+
},
|
|
53405
|
+
end: {
|
|
53406
|
+
line: 34,
|
|
53407
|
+
column: 4
|
|
53408
|
+
}
|
|
53409
|
+
},
|
|
53410
|
+
"13": {
|
|
53411
|
+
start: {
|
|
53412
|
+
line: 37,
|
|
52969
53413
|
column: 23
|
|
52970
53414
|
},
|
|
52971
53415
|
end: {
|
|
52972
|
-
line:
|
|
53416
|
+
line: 47,
|
|
52973
53417
|
column: 1
|
|
52974
53418
|
}
|
|
52975
53419
|
},
|
|
52976
|
-
"
|
|
53420
|
+
"14": {
|
|
52977
53421
|
start: {
|
|
52978
|
-
line:
|
|
53422
|
+
line: 38,
|
|
52979
53423
|
column: 17
|
|
52980
53424
|
},
|
|
52981
53425
|
end: {
|
|
52982
|
-
line:
|
|
53426
|
+
line: 38,
|
|
52983
53427
|
column: 19
|
|
52984
53428
|
}
|
|
52985
53429
|
},
|
|
52986
|
-
"
|
|
53430
|
+
"15": {
|
|
52987
53431
|
start: {
|
|
52988
|
-
line:
|
|
53432
|
+
line: 40,
|
|
52989
53433
|
column: 2
|
|
52990
53434
|
},
|
|
52991
53435
|
end: {
|
|
52992
|
-
line:
|
|
52993
|
-
column:
|
|
53436
|
+
line: 44,
|
|
53437
|
+
column: 65
|
|
52994
53438
|
}
|
|
52995
53439
|
},
|
|
52996
|
-
"
|
|
53440
|
+
"16": {
|
|
52997
53441
|
start: {
|
|
52998
|
-
line:
|
|
53442
|
+
line: 40,
|
|
52999
53443
|
column: 33
|
|
53000
53444
|
},
|
|
53001
53445
|
end: {
|
|
53002
|
-
line:
|
|
53446
|
+
line: 40,
|
|
53003
53447
|
column: 56
|
|
53004
53448
|
}
|
|
53005
53449
|
},
|
|
53006
|
-
"
|
|
53450
|
+
"17": {
|
|
53007
53451
|
start: {
|
|
53008
|
-
line:
|
|
53452
|
+
line: 41,
|
|
53009
53453
|
column: 7
|
|
53010
53454
|
},
|
|
53011
53455
|
end: {
|
|
53012
|
-
line:
|
|
53013
|
-
column:
|
|
53456
|
+
line: 44,
|
|
53457
|
+
column: 65
|
|
53014
53458
|
}
|
|
53015
53459
|
},
|
|
53016
|
-
"
|
|
53460
|
+
"18": {
|
|
53017
53461
|
start: {
|
|
53018
|
-
line:
|
|
53462
|
+
line: 41,
|
|
53019
53463
|
column: 40
|
|
53020
53464
|
},
|
|
53021
53465
|
end: {
|
|
53022
|
-
line:
|
|
53466
|
+
line: 41,
|
|
53023
53467
|
column: 65
|
|
53024
53468
|
}
|
|
53025
53469
|
},
|
|
53026
|
-
"
|
|
53470
|
+
"19": {
|
|
53027
53471
|
start: {
|
|
53028
|
-
line:
|
|
53472
|
+
line: 42,
|
|
53029
53473
|
column: 7
|
|
53030
53474
|
},
|
|
53031
53475
|
end: {
|
|
53032
|
-
line:
|
|
53033
|
-
column:
|
|
53476
|
+
line: 44,
|
|
53477
|
+
column: 65
|
|
53034
53478
|
}
|
|
53035
53479
|
},
|
|
53036
|
-
"
|
|
53480
|
+
"20": {
|
|
53037
53481
|
start: {
|
|
53038
|
-
line:
|
|
53482
|
+
line: 42,
|
|
53039
53483
|
column: 41
|
|
53040
53484
|
},
|
|
53041
53485
|
end: {
|
|
53042
|
-
line:
|
|
53486
|
+
line: 42,
|
|
53043
53487
|
column: 67
|
|
53044
53488
|
}
|
|
53045
53489
|
},
|
|
53046
|
-
"
|
|
53490
|
+
"21": {
|
|
53047
53491
|
start: {
|
|
53048
|
-
line:
|
|
53492
|
+
line: 43,
|
|
53049
53493
|
column: 7
|
|
53050
53494
|
},
|
|
53051
53495
|
end: {
|
|
53052
|
-
line:
|
|
53053
|
-
column:
|
|
53496
|
+
line: 44,
|
|
53497
|
+
column: 65
|
|
53054
53498
|
}
|
|
53055
53499
|
},
|
|
53056
|
-
"
|
|
53500
|
+
"22": {
|
|
53057
53501
|
start: {
|
|
53058
|
-
line:
|
|
53502
|
+
line: 43,
|
|
53059
53503
|
column: 40
|
|
53060
53504
|
},
|
|
53061
53505
|
end: {
|
|
53062
|
-
line:
|
|
53506
|
+
line: 43,
|
|
53063
53507
|
column: 63
|
|
53064
53508
|
}
|
|
53065
53509
|
},
|
|
53066
|
-
"
|
|
53510
|
+
"23": {
|
|
53067
53511
|
start: {
|
|
53068
|
-
line:
|
|
53512
|
+
line: 44,
|
|
53513
|
+
column: 7
|
|
53514
|
+
},
|
|
53515
|
+
end: {
|
|
53516
|
+
line: 44,
|
|
53517
|
+
column: 65
|
|
53518
|
+
}
|
|
53519
|
+
},
|
|
53520
|
+
"24": {
|
|
53521
|
+
start: {
|
|
53522
|
+
line: 44,
|
|
53523
|
+
column: 36
|
|
53524
|
+
},
|
|
53525
|
+
end: {
|
|
53526
|
+
line: 44,
|
|
53527
|
+
column: 65
|
|
53528
|
+
}
|
|
53529
|
+
},
|
|
53530
|
+
"25": {
|
|
53531
|
+
start: {
|
|
53532
|
+
line: 46,
|
|
53069
53533
|
column: 2
|
|
53070
53534
|
},
|
|
53071
53535
|
end: {
|
|
53072
|
-
line:
|
|
53536
|
+
line: 46,
|
|
53073
53537
|
column: 18
|
|
53074
53538
|
}
|
|
53075
53539
|
},
|
|
53076
|
-
"
|
|
53540
|
+
"26": {
|
|
53077
53541
|
start: {
|
|
53078
|
-
line:
|
|
53542
|
+
line: 49,
|
|
53079
53543
|
column: 38
|
|
53080
53544
|
},
|
|
53081
53545
|
end: {
|
|
53082
|
-
line:
|
|
53546
|
+
line: 89,
|
|
53083
53547
|
column: 1
|
|
53084
53548
|
}
|
|
53085
53549
|
},
|
|
53086
|
-
"
|
|
53550
|
+
"27": {
|
|
53087
53551
|
start: {
|
|
53088
|
-
line:
|
|
53552
|
+
line: 51,
|
|
53089
53553
|
column: 4
|
|
53090
53554
|
},
|
|
53091
53555
|
end: {
|
|
53092
|
-
line:
|
|
53556
|
+
line: 51,
|
|
53093
53557
|
column: 64
|
|
53094
53558
|
}
|
|
53095
53559
|
},
|
|
53096
|
-
"
|
|
53560
|
+
"28": {
|
|
53097
53561
|
start: {
|
|
53098
|
-
line:
|
|
53562
|
+
line: 52,
|
|
53099
53563
|
column: 2
|
|
53100
53564
|
},
|
|
53101
53565
|
end: {
|
|
53102
|
-
line:
|
|
53566
|
+
line: 52,
|
|
53103
53567
|
column: 44
|
|
53104
53568
|
}
|
|
53105
53569
|
},
|
|
53106
|
-
"
|
|
53570
|
+
"29": {
|
|
53107
53571
|
start: {
|
|
53108
|
-
line:
|
|
53572
|
+
line: 52,
|
|
53109
53573
|
column: 37
|
|
53110
53574
|
},
|
|
53111
53575
|
end: {
|
|
53112
|
-
line:
|
|
53576
|
+
line: 52,
|
|
53113
53577
|
column: 44
|
|
53114
53578
|
}
|
|
53115
53579
|
},
|
|
53116
|
-
"
|
|
53580
|
+
"30": {
|
|
53117
53581
|
start: {
|
|
53118
|
-
line:
|
|
53582
|
+
line: 54,
|
|
53119
53583
|
column: 21
|
|
53120
53584
|
},
|
|
53121
53585
|
end: {
|
|
53122
|
-
line:
|
|
53586
|
+
line: 54,
|
|
53123
53587
|
column: 41
|
|
53124
53588
|
}
|
|
53125
53589
|
},
|
|
53126
|
-
"
|
|
53590
|
+
"31": {
|
|
53127
53591
|
start: {
|
|
53128
|
-
line:
|
|
53592
|
+
line: 55,
|
|
53129
53593
|
column: 2
|
|
53130
53594
|
},
|
|
53131
53595
|
end: {
|
|
53132
|
-
line:
|
|
53596
|
+
line: 88,
|
|
53133
53597
|
column: 5
|
|
53134
53598
|
}
|
|
53135
53599
|
},
|
|
53136
|
-
"
|
|
53600
|
+
"32": {
|
|
53137
53601
|
start: {
|
|
53138
|
-
line:
|
|
53602
|
+
line: 56,
|
|
53139
53603
|
column: 24
|
|
53140
53604
|
},
|
|
53141
53605
|
end: {
|
|
53142
|
-
line:
|
|
53606
|
+
line: 56,
|
|
53143
53607
|
column: 48
|
|
53144
53608
|
}
|
|
53145
53609
|
},
|
|
53146
|
-
"
|
|
53610
|
+
"33": {
|
|
53147
53611
|
start: {
|
|
53148
|
-
line:
|
|
53612
|
+
line: 57,
|
|
53149
53613
|
column: 4
|
|
53150
53614
|
},
|
|
53151
53615
|
end: {
|
|
53152
|
-
line:
|
|
53616
|
+
line: 57,
|
|
53153
53617
|
column: 29
|
|
53154
53618
|
}
|
|
53155
53619
|
},
|
|
53156
|
-
"
|
|
53620
|
+
"34": {
|
|
53157
53621
|
start: {
|
|
53158
|
-
line:
|
|
53622
|
+
line: 57,
|
|
53159
53623
|
column: 22
|
|
53160
53624
|
},
|
|
53161
53625
|
end: {
|
|
53162
|
-
line:
|
|
53626
|
+
line: 57,
|
|
53163
53627
|
column: 29
|
|
53164
53628
|
}
|
|
53165
53629
|
},
|
|
53166
|
-
"
|
|
53630
|
+
"35": {
|
|
53167
53631
|
start: {
|
|
53168
|
-
line:
|
|
53632
|
+
line: 59,
|
|
53169
53633
|
column: 34
|
|
53170
53634
|
},
|
|
53171
53635
|
end: {
|
|
53172
|
-
line:
|
|
53636
|
+
line: 59,
|
|
53173
53637
|
column: 70
|
|
53174
53638
|
}
|
|
53175
53639
|
},
|
|
53176
|
-
"
|
|
53640
|
+
"36": {
|
|
53177
53641
|
start: {
|
|
53178
|
-
line:
|
|
53642
|
+
line: 60,
|
|
53179
53643
|
column: 29
|
|
53180
53644
|
},
|
|
53181
53645
|
end: {
|
|
53182
|
-
line:
|
|
53183
|
-
column:
|
|
53646
|
+
line: 60,
|
|
53647
|
+
column: 62
|
|
53184
53648
|
}
|
|
53185
53649
|
},
|
|
53186
|
-
"
|
|
53650
|
+
"37": {
|
|
53187
53651
|
start: {
|
|
53188
|
-
line:
|
|
53189
|
-
column:
|
|
53652
|
+
line: 61,
|
|
53653
|
+
column: 4
|
|
53190
53654
|
},
|
|
53191
53655
|
end: {
|
|
53192
|
-
line:
|
|
53193
|
-
column:
|
|
53656
|
+
line: 61,
|
|
53657
|
+
column: 34
|
|
53194
53658
|
}
|
|
53195
53659
|
},
|
|
53196
|
-
"
|
|
53660
|
+
"38": {
|
|
53197
53661
|
start: {
|
|
53198
|
-
line:
|
|
53199
|
-
column:
|
|
53662
|
+
line: 61,
|
|
53663
|
+
column: 27
|
|
53200
53664
|
},
|
|
53201
53665
|
end: {
|
|
53202
|
-
line:
|
|
53666
|
+
line: 61,
|
|
53203
53667
|
column: 34
|
|
53204
53668
|
}
|
|
53205
53669
|
},
|
|
53206
|
-
"
|
|
53670
|
+
"39": {
|
|
53207
53671
|
start: {
|
|
53208
|
-
line:
|
|
53209
|
-
column:
|
|
53672
|
+
line: 64,
|
|
53673
|
+
column: 26
|
|
53210
53674
|
},
|
|
53211
53675
|
end: {
|
|
53212
|
-
line:
|
|
53213
|
-
column:
|
|
53676
|
+
line: 64,
|
|
53677
|
+
column: 58
|
|
53214
53678
|
}
|
|
53215
53679
|
},
|
|
53216
|
-
"
|
|
53680
|
+
"40": {
|
|
53217
53681
|
start: {
|
|
53218
|
-
line:
|
|
53682
|
+
line: 66,
|
|
53683
|
+
column: 16
|
|
53684
|
+
},
|
|
53685
|
+
end: {
|
|
53686
|
+
line: 70,
|
|
53687
|
+
column: 6
|
|
53688
|
+
}
|
|
53689
|
+
},
|
|
53690
|
+
"41": {
|
|
53691
|
+
start: {
|
|
53692
|
+
line: 73,
|
|
53693
|
+
column: 6
|
|
53694
|
+
},
|
|
53695
|
+
end: {
|
|
53696
|
+
line: 73,
|
|
53697
|
+
column: 55
|
|
53698
|
+
}
|
|
53699
|
+
},
|
|
53700
|
+
"42": {
|
|
53701
|
+
start: {
|
|
53702
|
+
line: 75,
|
|
53219
53703
|
column: 4
|
|
53220
53704
|
},
|
|
53221
53705
|
end: {
|
|
53222
|
-
line:
|
|
53223
|
-
column:
|
|
53706
|
+
line: 87,
|
|
53707
|
+
column: 5
|
|
53224
53708
|
}
|
|
53225
53709
|
},
|
|
53226
|
-
"
|
|
53710
|
+
"43": {
|
|
53227
53711
|
start: {
|
|
53228
|
-
line:
|
|
53712
|
+
line: 76,
|
|
53713
|
+
column: 20
|
|
53714
|
+
},
|
|
53715
|
+
end: {
|
|
53716
|
+
line: 76,
|
|
53717
|
+
column: 46
|
|
53718
|
+
}
|
|
53719
|
+
},
|
|
53720
|
+
"44": {
|
|
53721
|
+
start: {
|
|
53722
|
+
line: 77,
|
|
53723
|
+
column: 27
|
|
53724
|
+
},
|
|
53725
|
+
end: {
|
|
53726
|
+
line: 77,
|
|
53727
|
+
column: 54
|
|
53728
|
+
}
|
|
53729
|
+
},
|
|
53730
|
+
"45": {
|
|
53731
|
+
start: {
|
|
53732
|
+
line: 79,
|
|
53733
|
+
column: 6
|
|
53734
|
+
},
|
|
53735
|
+
end: {
|
|
53736
|
+
line: 84,
|
|
53737
|
+
column: 9
|
|
53738
|
+
}
|
|
53739
|
+
},
|
|
53740
|
+
"46": {
|
|
53741
|
+
start: {
|
|
53742
|
+
line: 83,
|
|
53229
53743
|
column: 22
|
|
53230
53744
|
},
|
|
53231
53745
|
end: {
|
|
53232
|
-
line:
|
|
53746
|
+
line: 83,
|
|
53747
|
+
column: 65
|
|
53748
|
+
}
|
|
53749
|
+
},
|
|
53750
|
+
"47": {
|
|
53751
|
+
start: {
|
|
53752
|
+
line: 86,
|
|
53753
|
+
column: 6
|
|
53754
|
+
},
|
|
53755
|
+
end: {
|
|
53756
|
+
line: 86,
|
|
53757
|
+
column: 45
|
|
53758
|
+
}
|
|
53759
|
+
},
|
|
53760
|
+
"48": {
|
|
53761
|
+
start: {
|
|
53762
|
+
line: 101,
|
|
53763
|
+
column: 22
|
|
53764
|
+
},
|
|
53765
|
+
end: {
|
|
53766
|
+
line: 108,
|
|
53233
53767
|
column: 3
|
|
53234
53768
|
}
|
|
53235
53769
|
},
|
|
53236
|
-
"
|
|
53770
|
+
"49": {
|
|
53237
53771
|
start: {
|
|
53238
|
-
line:
|
|
53772
|
+
line: 103,
|
|
53239
53773
|
column: 6
|
|
53240
53774
|
},
|
|
53241
53775
|
end: {
|
|
53242
|
-
line:
|
|
53776
|
+
line: 103,
|
|
53243
53777
|
column: 51
|
|
53244
53778
|
}
|
|
53245
53779
|
},
|
|
53246
|
-
"
|
|
53780
|
+
"50": {
|
|
53247
53781
|
start: {
|
|
53248
|
-
line:
|
|
53782
|
+
line: 106,
|
|
53249
53783
|
column: 6
|
|
53250
53784
|
},
|
|
53251
53785
|
end: {
|
|
53252
|
-
line:
|
|
53786
|
+
line: 106,
|
|
53253
53787
|
column: 51
|
|
53254
53788
|
}
|
|
53255
53789
|
}
|
|
@@ -53259,315 +53793,405 @@
|
|
|
53259
53793
|
name: "(anonymous_0)",
|
|
53260
53794
|
decl: {
|
|
53261
53795
|
start: {
|
|
53262
|
-
line:
|
|
53796
|
+
line: 11,
|
|
53263
53797
|
column: 20
|
|
53264
53798
|
},
|
|
53265
53799
|
end: {
|
|
53266
|
-
line:
|
|
53800
|
+
line: 11,
|
|
53267
53801
|
column: 21
|
|
53268
53802
|
}
|
|
53269
53803
|
},
|
|
53270
53804
|
loc: {
|
|
53271
53805
|
start: {
|
|
53272
|
-
line:
|
|
53806
|
+
line: 11,
|
|
53273
53807
|
column: 58
|
|
53274
53808
|
},
|
|
53275
53809
|
end: {
|
|
53276
|
-
line:
|
|
53810
|
+
line: 26,
|
|
53277
53811
|
column: 1
|
|
53278
53812
|
}
|
|
53279
53813
|
},
|
|
53280
|
-
line:
|
|
53814
|
+
line: 11
|
|
53281
53815
|
},
|
|
53282
53816
|
"1": {
|
|
53283
53817
|
name: "(anonymous_1)",
|
|
53284
53818
|
decl: {
|
|
53285
53819
|
start: {
|
|
53286
|
-
line:
|
|
53820
|
+
line: 28,
|
|
53821
|
+
column: 17
|
|
53822
|
+
},
|
|
53823
|
+
end: {
|
|
53824
|
+
line: 28,
|
|
53825
|
+
column: 18
|
|
53826
|
+
}
|
|
53827
|
+
},
|
|
53828
|
+
loc: {
|
|
53829
|
+
start: {
|
|
53830
|
+
line: 28,
|
|
53831
|
+
column: 39
|
|
53832
|
+
},
|
|
53833
|
+
end: {
|
|
53834
|
+
line: 35,
|
|
53835
|
+
column: 1
|
|
53836
|
+
}
|
|
53837
|
+
},
|
|
53838
|
+
line: 28
|
|
53839
|
+
},
|
|
53840
|
+
"2": {
|
|
53841
|
+
name: "(anonymous_2)",
|
|
53842
|
+
decl: {
|
|
53843
|
+
start: {
|
|
53844
|
+
line: 37,
|
|
53287
53845
|
column: 23
|
|
53288
53846
|
},
|
|
53289
53847
|
end: {
|
|
53290
|
-
line:
|
|
53848
|
+
line: 37,
|
|
53291
53849
|
column: 24
|
|
53292
53850
|
}
|
|
53293
53851
|
},
|
|
53294
53852
|
loc: {
|
|
53295
53853
|
start: {
|
|
53296
|
-
line:
|
|
53854
|
+
line: 37,
|
|
53297
53855
|
column: 35
|
|
53298
53856
|
},
|
|
53299
53857
|
end: {
|
|
53300
|
-
line:
|
|
53858
|
+
line: 47,
|
|
53301
53859
|
column: 1
|
|
53302
53860
|
}
|
|
53303
53861
|
},
|
|
53304
|
-
line:
|
|
53862
|
+
line: 37
|
|
53305
53863
|
},
|
|
53306
|
-
"
|
|
53307
|
-
name: "(
|
|
53864
|
+
"3": {
|
|
53865
|
+
name: "(anonymous_3)",
|
|
53308
53866
|
decl: {
|
|
53309
53867
|
start: {
|
|
53310
|
-
line:
|
|
53868
|
+
line: 49,
|
|
53311
53869
|
column: 38
|
|
53312
53870
|
},
|
|
53313
53871
|
end: {
|
|
53314
|
-
line:
|
|
53872
|
+
line: 49,
|
|
53315
53873
|
column: 39
|
|
53316
53874
|
}
|
|
53317
53875
|
},
|
|
53318
53876
|
loc: {
|
|
53319
53877
|
start: {
|
|
53320
|
-
line:
|
|
53878
|
+
line: 49,
|
|
53321
53879
|
column: 57
|
|
53322
53880
|
},
|
|
53323
53881
|
end: {
|
|
53324
|
-
line:
|
|
53882
|
+
line: 89,
|
|
53325
53883
|
column: 1
|
|
53326
53884
|
}
|
|
53327
53885
|
},
|
|
53328
|
-
line:
|
|
53886
|
+
line: 49
|
|
53329
53887
|
},
|
|
53330
|
-
"
|
|
53331
|
-
name: "(
|
|
53888
|
+
"4": {
|
|
53889
|
+
name: "(anonymous_4)",
|
|
53332
53890
|
decl: {
|
|
53333
53891
|
start: {
|
|
53334
|
-
line:
|
|
53892
|
+
line: 55,
|
|
53335
53893
|
column: 21
|
|
53336
53894
|
},
|
|
53337
53895
|
end: {
|
|
53338
|
-
line:
|
|
53896
|
+
line: 55,
|
|
53339
53897
|
column: 22
|
|
53340
53898
|
}
|
|
53341
53899
|
},
|
|
53342
53900
|
loc: {
|
|
53343
53901
|
start: {
|
|
53344
|
-
line:
|
|
53902
|
+
line: 55,
|
|
53345
53903
|
column: 33
|
|
53346
53904
|
},
|
|
53347
53905
|
end: {
|
|
53348
|
-
line:
|
|
53906
|
+
line: 88,
|
|
53349
53907
|
column: 3
|
|
53350
53908
|
}
|
|
53351
53909
|
},
|
|
53352
|
-
line:
|
|
53910
|
+
line: 55
|
|
53353
53911
|
},
|
|
53354
|
-
"
|
|
53355
|
-
name: "(
|
|
53912
|
+
"5": {
|
|
53913
|
+
name: "(anonymous_5)",
|
|
53356
53914
|
decl: {
|
|
53357
53915
|
start: {
|
|
53358
|
-
line:
|
|
53359
|
-
column:
|
|
53916
|
+
line: 83,
|
|
53917
|
+
column: 13
|
|
53360
53918
|
},
|
|
53361
53919
|
end: {
|
|
53362
|
-
line:
|
|
53363
|
-
column:
|
|
53920
|
+
line: 83,
|
|
53921
|
+
column: 14
|
|
53364
53922
|
}
|
|
53365
53923
|
},
|
|
53366
53924
|
loc: {
|
|
53367
53925
|
start: {
|
|
53368
|
-
line:
|
|
53369
|
-
column:
|
|
53926
|
+
line: 83,
|
|
53927
|
+
column: 22
|
|
53370
53928
|
},
|
|
53371
53929
|
end: {
|
|
53372
|
-
line:
|
|
53373
|
-
column:
|
|
53930
|
+
line: 83,
|
|
53931
|
+
column: 65
|
|
53374
53932
|
}
|
|
53375
53933
|
},
|
|
53376
|
-
line:
|
|
53934
|
+
line: 83
|
|
53377
53935
|
},
|
|
53378
|
-
"
|
|
53379
|
-
name: "(
|
|
53936
|
+
"6": {
|
|
53937
|
+
name: "(anonymous_6)",
|
|
53380
53938
|
decl: {
|
|
53381
53939
|
start: {
|
|
53382
|
-
line:
|
|
53940
|
+
line: 101,
|
|
53383
53941
|
column: 10
|
|
53384
53942
|
},
|
|
53385
53943
|
end: {
|
|
53386
|
-
line:
|
|
53944
|
+
line: 101,
|
|
53387
53945
|
column: 11
|
|
53388
53946
|
}
|
|
53389
53947
|
},
|
|
53390
53948
|
loc: {
|
|
53391
53949
|
start: {
|
|
53392
|
-
line:
|
|
53950
|
+
line: 101,
|
|
53393
53951
|
column: 22
|
|
53394
53952
|
},
|
|
53395
53953
|
end: {
|
|
53396
|
-
line:
|
|
53954
|
+
line: 108,
|
|
53397
53955
|
column: 3
|
|
53398
53956
|
}
|
|
53399
53957
|
},
|
|
53400
|
-
line:
|
|
53958
|
+
line: 101
|
|
53401
53959
|
},
|
|
53402
|
-
"
|
|
53403
|
-
name: "(
|
|
53960
|
+
"7": {
|
|
53961
|
+
name: "(anonymous_7)",
|
|
53404
53962
|
decl: {
|
|
53405
53963
|
start: {
|
|
53406
|
-
line:
|
|
53964
|
+
line: 102,
|
|
53407
53965
|
column: 4
|
|
53408
53966
|
},
|
|
53409
53967
|
end: {
|
|
53410
|
-
line:
|
|
53968
|
+
line: 102,
|
|
53411
53969
|
column: 5
|
|
53412
53970
|
}
|
|
53413
53971
|
},
|
|
53414
53972
|
loc: {
|
|
53415
53973
|
start: {
|
|
53416
|
-
line:
|
|
53974
|
+
line: 102,
|
|
53417
53975
|
column: 18
|
|
53418
53976
|
},
|
|
53419
53977
|
end: {
|
|
53420
|
-
line:
|
|
53978
|
+
line: 104,
|
|
53421
53979
|
column: 5
|
|
53422
53980
|
}
|
|
53423
53981
|
},
|
|
53424
|
-
line:
|
|
53982
|
+
line: 102
|
|
53425
53983
|
},
|
|
53426
|
-
"
|
|
53427
|
-
name: "(
|
|
53984
|
+
"8": {
|
|
53985
|
+
name: "(anonymous_8)",
|
|
53428
53986
|
decl: {
|
|
53429
53987
|
start: {
|
|
53430
|
-
line:
|
|
53988
|
+
line: 105,
|
|
53431
53989
|
column: 4
|
|
53432
53990
|
},
|
|
53433
53991
|
end: {
|
|
53434
|
-
line:
|
|
53992
|
+
line: 105,
|
|
53435
53993
|
column: 5
|
|
53436
53994
|
}
|
|
53437
53995
|
},
|
|
53438
53996
|
loc: {
|
|
53439
53997
|
start: {
|
|
53440
|
-
line:
|
|
53998
|
+
line: 105,
|
|
53441
53999
|
column: 26
|
|
53442
54000
|
},
|
|
53443
54001
|
end: {
|
|
53444
|
-
line:
|
|
54002
|
+
line: 107,
|
|
53445
54003
|
column: 5
|
|
53446
54004
|
}
|
|
53447
54005
|
},
|
|
53448
|
-
line:
|
|
54006
|
+
line: 105
|
|
53449
54007
|
}
|
|
53450
54008
|
},
|
|
53451
54009
|
branchMap: {
|
|
53452
54010
|
"0": {
|
|
53453
54011
|
loc: {
|
|
53454
54012
|
start: {
|
|
53455
|
-
line:
|
|
54013
|
+
line: 17,
|
|
53456
54014
|
column: 2
|
|
53457
54015
|
},
|
|
53458
54016
|
end: {
|
|
53459
|
-
line:
|
|
53460
|
-
column:
|
|
54017
|
+
line: 17,
|
|
54018
|
+
column: 70
|
|
53461
54019
|
}
|
|
53462
54020
|
},
|
|
53463
54021
|
type: "if",
|
|
53464
54022
|
locations: [{
|
|
53465
54023
|
start: {
|
|
53466
|
-
line:
|
|
54024
|
+
line: 17,
|
|
53467
54025
|
column: 2
|
|
53468
54026
|
},
|
|
53469
54027
|
end: {
|
|
53470
|
-
line:
|
|
53471
|
-
column:
|
|
54028
|
+
line: 17,
|
|
54029
|
+
column: 70
|
|
53472
54030
|
}
|
|
53473
54031
|
}, {
|
|
53474
54032
|
start: {
|
|
53475
|
-
line:
|
|
53476
|
-
column:
|
|
54033
|
+
line: undefined,
|
|
54034
|
+
column: undefined
|
|
53477
54035
|
},
|
|
53478
54036
|
end: {
|
|
53479
|
-
line:
|
|
53480
|
-
column:
|
|
54037
|
+
line: undefined,
|
|
54038
|
+
column: undefined
|
|
53481
54039
|
}
|
|
53482
54040
|
}],
|
|
53483
|
-
line:
|
|
54041
|
+
line: 17
|
|
53484
54042
|
},
|
|
53485
54043
|
"1": {
|
|
53486
54044
|
loc: {
|
|
53487
54045
|
start: {
|
|
53488
|
-
line:
|
|
53489
|
-
column:
|
|
54046
|
+
line: 40,
|
|
54047
|
+
column: 2
|
|
53490
54048
|
},
|
|
53491
54049
|
end: {
|
|
53492
|
-
line:
|
|
53493
|
-
column:
|
|
54050
|
+
line: 44,
|
|
54051
|
+
column: 65
|
|
53494
54052
|
}
|
|
53495
54053
|
},
|
|
53496
54054
|
type: "if",
|
|
53497
54055
|
locations: [{
|
|
53498
54056
|
start: {
|
|
53499
|
-
line:
|
|
53500
|
-
column:
|
|
54057
|
+
line: 40,
|
|
54058
|
+
column: 2
|
|
53501
54059
|
},
|
|
53502
54060
|
end: {
|
|
53503
|
-
line:
|
|
53504
|
-
column:
|
|
54061
|
+
line: 44,
|
|
54062
|
+
column: 65
|
|
53505
54063
|
}
|
|
53506
54064
|
}, {
|
|
53507
54065
|
start: {
|
|
53508
|
-
line:
|
|
54066
|
+
line: 41,
|
|
53509
54067
|
column: 7
|
|
53510
54068
|
},
|
|
53511
54069
|
end: {
|
|
53512
|
-
line:
|
|
53513
|
-
column:
|
|
54070
|
+
line: 44,
|
|
54071
|
+
column: 65
|
|
53514
54072
|
}
|
|
53515
54073
|
}],
|
|
53516
|
-
line:
|
|
54074
|
+
line: 40
|
|
53517
54075
|
},
|
|
53518
54076
|
"2": {
|
|
53519
54077
|
loc: {
|
|
53520
54078
|
start: {
|
|
53521
|
-
line:
|
|
54079
|
+
line: 41,
|
|
53522
54080
|
column: 7
|
|
53523
54081
|
},
|
|
53524
54082
|
end: {
|
|
53525
|
-
line:
|
|
53526
|
-
column:
|
|
54083
|
+
line: 44,
|
|
54084
|
+
column: 65
|
|
53527
54085
|
}
|
|
53528
54086
|
},
|
|
53529
54087
|
type: "if",
|
|
53530
54088
|
locations: [{
|
|
53531
54089
|
start: {
|
|
53532
|
-
line:
|
|
54090
|
+
line: 41,
|
|
53533
54091
|
column: 7
|
|
53534
54092
|
},
|
|
53535
54093
|
end: {
|
|
53536
|
-
line:
|
|
53537
|
-
column:
|
|
54094
|
+
line: 44,
|
|
54095
|
+
column: 65
|
|
53538
54096
|
}
|
|
53539
54097
|
}, {
|
|
53540
54098
|
start: {
|
|
53541
|
-
line:
|
|
54099
|
+
line: 42,
|
|
53542
54100
|
column: 7
|
|
53543
54101
|
},
|
|
53544
54102
|
end: {
|
|
53545
|
-
line:
|
|
53546
|
-
column:
|
|
54103
|
+
line: 44,
|
|
54104
|
+
column: 65
|
|
53547
54105
|
}
|
|
53548
54106
|
}],
|
|
53549
|
-
line:
|
|
54107
|
+
line: 41
|
|
53550
54108
|
},
|
|
53551
54109
|
"3": {
|
|
53552
54110
|
loc: {
|
|
53553
54111
|
start: {
|
|
53554
|
-
line:
|
|
54112
|
+
line: 42,
|
|
53555
54113
|
column: 7
|
|
53556
54114
|
},
|
|
53557
54115
|
end: {
|
|
53558
|
-
line:
|
|
53559
|
-
column:
|
|
54116
|
+
line: 44,
|
|
54117
|
+
column: 65
|
|
53560
54118
|
}
|
|
53561
54119
|
},
|
|
53562
54120
|
type: "if",
|
|
53563
54121
|
locations: [{
|
|
53564
54122
|
start: {
|
|
53565
|
-
line:
|
|
54123
|
+
line: 42,
|
|
53566
54124
|
column: 7
|
|
53567
54125
|
},
|
|
53568
54126
|
end: {
|
|
53569
|
-
line:
|
|
53570
|
-
column:
|
|
54127
|
+
line: 44,
|
|
54128
|
+
column: 65
|
|
54129
|
+
}
|
|
54130
|
+
}, {
|
|
54131
|
+
start: {
|
|
54132
|
+
line: 43,
|
|
54133
|
+
column: 7
|
|
54134
|
+
},
|
|
54135
|
+
end: {
|
|
54136
|
+
line: 44,
|
|
54137
|
+
column: 65
|
|
54138
|
+
}
|
|
54139
|
+
}],
|
|
54140
|
+
line: 42
|
|
54141
|
+
},
|
|
54142
|
+
"4": {
|
|
54143
|
+
loc: {
|
|
54144
|
+
start: {
|
|
54145
|
+
line: 43,
|
|
54146
|
+
column: 7
|
|
54147
|
+
},
|
|
54148
|
+
end: {
|
|
54149
|
+
line: 44,
|
|
54150
|
+
column: 65
|
|
54151
|
+
}
|
|
54152
|
+
},
|
|
54153
|
+
type: "if",
|
|
54154
|
+
locations: [{
|
|
54155
|
+
start: {
|
|
54156
|
+
line: 43,
|
|
54157
|
+
column: 7
|
|
54158
|
+
},
|
|
54159
|
+
end: {
|
|
54160
|
+
line: 44,
|
|
54161
|
+
column: 65
|
|
54162
|
+
}
|
|
54163
|
+
}, {
|
|
54164
|
+
start: {
|
|
54165
|
+
line: 44,
|
|
54166
|
+
column: 7
|
|
54167
|
+
},
|
|
54168
|
+
end: {
|
|
54169
|
+
line: 44,
|
|
54170
|
+
column: 65
|
|
54171
|
+
}
|
|
54172
|
+
}],
|
|
54173
|
+
line: 43
|
|
54174
|
+
},
|
|
54175
|
+
"5": {
|
|
54176
|
+
loc: {
|
|
54177
|
+
start: {
|
|
54178
|
+
line: 44,
|
|
54179
|
+
column: 7
|
|
54180
|
+
},
|
|
54181
|
+
end: {
|
|
54182
|
+
line: 44,
|
|
54183
|
+
column: 65
|
|
54184
|
+
}
|
|
54185
|
+
},
|
|
54186
|
+
type: "if",
|
|
54187
|
+
locations: [{
|
|
54188
|
+
start: {
|
|
54189
|
+
line: 44,
|
|
54190
|
+
column: 7
|
|
54191
|
+
},
|
|
54192
|
+
end: {
|
|
54193
|
+
line: 44,
|
|
54194
|
+
column: 65
|
|
53571
54195
|
}
|
|
53572
54196
|
}, {
|
|
53573
54197
|
start: {
|
|
@@ -53579,60 +54203,60 @@
|
|
|
53579
54203
|
column: undefined
|
|
53580
54204
|
}
|
|
53581
54205
|
}],
|
|
53582
|
-
line:
|
|
54206
|
+
line: 44
|
|
53583
54207
|
},
|
|
53584
|
-
"
|
|
54208
|
+
"6": {
|
|
53585
54209
|
loc: {
|
|
53586
54210
|
start: {
|
|
53587
|
-
line:
|
|
54211
|
+
line: 51,
|
|
53588
54212
|
column: 4
|
|
53589
54213
|
},
|
|
53590
54214
|
end: {
|
|
53591
|
-
line:
|
|
54215
|
+
line: 51,
|
|
53592
54216
|
column: 64
|
|
53593
54217
|
}
|
|
53594
54218
|
},
|
|
53595
54219
|
type: "cond-expr",
|
|
53596
54220
|
locations: [{
|
|
53597
54221
|
start: {
|
|
53598
|
-
line:
|
|
54222
|
+
line: 51,
|
|
53599
54223
|
column: 34
|
|
53600
54224
|
},
|
|
53601
54225
|
end: {
|
|
53602
|
-
line:
|
|
54226
|
+
line: 51,
|
|
53603
54227
|
column: 44
|
|
53604
54228
|
}
|
|
53605
54229
|
}, {
|
|
53606
54230
|
start: {
|
|
53607
|
-
line:
|
|
54231
|
+
line: 51,
|
|
53608
54232
|
column: 47
|
|
53609
54233
|
},
|
|
53610
54234
|
end: {
|
|
53611
|
-
line:
|
|
54235
|
+
line: 51,
|
|
53612
54236
|
column: 64
|
|
53613
54237
|
}
|
|
53614
54238
|
}],
|
|
53615
|
-
line:
|
|
54239
|
+
line: 51
|
|
53616
54240
|
},
|
|
53617
|
-
"
|
|
54241
|
+
"7": {
|
|
53618
54242
|
loc: {
|
|
53619
54243
|
start: {
|
|
53620
|
-
line:
|
|
54244
|
+
line: 52,
|
|
53621
54245
|
column: 2
|
|
53622
54246
|
},
|
|
53623
54247
|
end: {
|
|
53624
|
-
line:
|
|
54248
|
+
line: 52,
|
|
53625
54249
|
column: 44
|
|
53626
54250
|
}
|
|
53627
54251
|
},
|
|
53628
54252
|
type: "if",
|
|
53629
54253
|
locations: [{
|
|
53630
54254
|
start: {
|
|
53631
|
-
line:
|
|
54255
|
+
line: 52,
|
|
53632
54256
|
column: 2
|
|
53633
54257
|
},
|
|
53634
54258
|
end: {
|
|
53635
|
-
line:
|
|
54259
|
+
line: 52,
|
|
53636
54260
|
column: 44
|
|
53637
54261
|
}
|
|
53638
54262
|
}, {
|
|
@@ -53645,27 +54269,27 @@
|
|
|
53645
54269
|
column: undefined
|
|
53646
54270
|
}
|
|
53647
54271
|
}],
|
|
53648
|
-
line:
|
|
54272
|
+
line: 52
|
|
53649
54273
|
},
|
|
53650
|
-
"
|
|
54274
|
+
"8": {
|
|
53651
54275
|
loc: {
|
|
53652
54276
|
start: {
|
|
53653
|
-
line:
|
|
54277
|
+
line: 57,
|
|
53654
54278
|
column: 4
|
|
53655
54279
|
},
|
|
53656
54280
|
end: {
|
|
53657
|
-
line:
|
|
54281
|
+
line: 57,
|
|
53658
54282
|
column: 29
|
|
53659
54283
|
}
|
|
53660
54284
|
},
|
|
53661
54285
|
type: "if",
|
|
53662
54286
|
locations: [{
|
|
53663
54287
|
start: {
|
|
53664
|
-
line:
|
|
54288
|
+
line: 57,
|
|
53665
54289
|
column: 4
|
|
53666
54290
|
},
|
|
53667
54291
|
end: {
|
|
53668
|
-
line:
|
|
54292
|
+
line: 57,
|
|
53669
54293
|
column: 29
|
|
53670
54294
|
}
|
|
53671
54295
|
}, {
|
|
@@ -53678,27 +54302,27 @@
|
|
|
53678
54302
|
column: undefined
|
|
53679
54303
|
}
|
|
53680
54304
|
}],
|
|
53681
|
-
line:
|
|
54305
|
+
line: 57
|
|
53682
54306
|
},
|
|
53683
|
-
"
|
|
54307
|
+
"9": {
|
|
53684
54308
|
loc: {
|
|
53685
54309
|
start: {
|
|
53686
|
-
line:
|
|
54310
|
+
line: 61,
|
|
53687
54311
|
column: 4
|
|
53688
54312
|
},
|
|
53689
54313
|
end: {
|
|
53690
|
-
line:
|
|
54314
|
+
line: 61,
|
|
53691
54315
|
column: 34
|
|
53692
54316
|
}
|
|
53693
54317
|
},
|
|
53694
54318
|
type: "if",
|
|
53695
54319
|
locations: [{
|
|
53696
54320
|
start: {
|
|
53697
|
-
line:
|
|
54321
|
+
line: 61,
|
|
53698
54322
|
column: 4
|
|
53699
54323
|
},
|
|
53700
54324
|
end: {
|
|
53701
|
-
line:
|
|
54325
|
+
line: 61,
|
|
53702
54326
|
column: 34
|
|
53703
54327
|
}
|
|
53704
54328
|
}, {
|
|
@@ -53711,7 +54335,40 @@
|
|
|
53711
54335
|
column: undefined
|
|
53712
54336
|
}
|
|
53713
54337
|
}],
|
|
53714
|
-
line:
|
|
54338
|
+
line: 61
|
|
54339
|
+
},
|
|
54340
|
+
"10": {
|
|
54341
|
+
loc: {
|
|
54342
|
+
start: {
|
|
54343
|
+
line: 75,
|
|
54344
|
+
column: 4
|
|
54345
|
+
},
|
|
54346
|
+
end: {
|
|
54347
|
+
line: 87,
|
|
54348
|
+
column: 5
|
|
54349
|
+
}
|
|
54350
|
+
},
|
|
54351
|
+
type: "if",
|
|
54352
|
+
locations: [{
|
|
54353
|
+
start: {
|
|
54354
|
+
line: 75,
|
|
54355
|
+
column: 4
|
|
54356
|
+
},
|
|
54357
|
+
end: {
|
|
54358
|
+
line: 87,
|
|
54359
|
+
column: 5
|
|
54360
|
+
}
|
|
54361
|
+
}, {
|
|
54362
|
+
start: {
|
|
54363
|
+
line: 85,
|
|
54364
|
+
column: 11
|
|
54365
|
+
},
|
|
54366
|
+
end: {
|
|
54367
|
+
line: 87,
|
|
54368
|
+
column: 5
|
|
54369
|
+
}
|
|
54370
|
+
}],
|
|
54371
|
+
line: 75
|
|
53715
54372
|
}
|
|
53716
54373
|
},
|
|
53717
54374
|
s: {
|
|
@@ -53748,7 +54405,24 @@
|
|
|
53748
54405
|
"30": 0,
|
|
53749
54406
|
"31": 0,
|
|
53750
54407
|
"32": 0,
|
|
53751
|
-
"33": 0
|
|
54408
|
+
"33": 0,
|
|
54409
|
+
"34": 0,
|
|
54410
|
+
"35": 0,
|
|
54411
|
+
"36": 0,
|
|
54412
|
+
"37": 0,
|
|
54413
|
+
"38": 0,
|
|
54414
|
+
"39": 0,
|
|
54415
|
+
"40": 0,
|
|
54416
|
+
"41": 0,
|
|
54417
|
+
"42": 0,
|
|
54418
|
+
"43": 0,
|
|
54419
|
+
"44": 0,
|
|
54420
|
+
"45": 0,
|
|
54421
|
+
"46": 0,
|
|
54422
|
+
"47": 0,
|
|
54423
|
+
"48": 0,
|
|
54424
|
+
"49": 0,
|
|
54425
|
+
"50": 0
|
|
53752
54426
|
},
|
|
53753
54427
|
f: {
|
|
53754
54428
|
"0": 0,
|
|
@@ -53758,7 +54432,8 @@
|
|
|
53758
54432
|
"4": 0,
|
|
53759
54433
|
"5": 0,
|
|
53760
54434
|
"6": 0,
|
|
53761
|
-
"7": 0
|
|
54435
|
+
"7": 0,
|
|
54436
|
+
"8": 0
|
|
53762
54437
|
},
|
|
53763
54438
|
b: {
|
|
53764
54439
|
"0": [0, 0],
|
|
@@ -53768,10 +54443,13 @@
|
|
|
53768
54443
|
"4": [0, 0],
|
|
53769
54444
|
"5": [0, 0],
|
|
53770
54445
|
"6": [0, 0],
|
|
53771
|
-
"7": [0, 0]
|
|
54446
|
+
"7": [0, 0],
|
|
54447
|
+
"8": [0, 0],
|
|
54448
|
+
"9": [0, 0],
|
|
54449
|
+
"10": [0, 0]
|
|
53772
54450
|
},
|
|
53773
54451
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
53774
|
-
hash: "
|
|
54452
|
+
hash: "6de7d68a908e256375c49f84c1ca92085e6edaf0"
|
|
53775
54453
|
};
|
|
53776
54454
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
53777
54455
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -53793,10 +54471,21 @@
|
|
|
53793
54471
|
nodeLoc = _ref.nodeLoc,
|
|
53794
54472
|
cssClass = _ref.cssClass;
|
|
53795
54473
|
cov_11qsgbpkmq().f[0]++;
|
|
53796
|
-
var
|
|
53797
|
-
var
|
|
53798
|
-
var
|
|
53799
|
-
cov_11qsgbpkmq().s[4]
|
|
54474
|
+
var lines = (cov_11qsgbpkmq().s[1]++, nodeValue.split("\n"));
|
|
54475
|
+
var lineIndex = (cov_11qsgbpkmq().s[2]++, lines.findIndex(ramda.includes(cssClass)));
|
|
54476
|
+
var lineValue = (cov_11qsgbpkmq().s[3]++, lines[lineIndex]);
|
|
54477
|
+
var startCol = (cov_11qsgbpkmq().s[4]++, lineValue.indexOf(cssClass));
|
|
54478
|
+
cov_11qsgbpkmq().s[5]++;
|
|
54479
|
+
if (lineIndex === 0) {
|
|
54480
|
+
cov_11qsgbpkmq().b[0][0]++;
|
|
54481
|
+
cov_11qsgbpkmq().s[6]++;
|
|
54482
|
+
startCol = startCol + nodeLoc.start.column + 1;
|
|
54483
|
+
} else {
|
|
54484
|
+
cov_11qsgbpkmq().b[0][1]++;
|
|
54485
|
+
}
|
|
54486
|
+
var endCol = (cov_11qsgbpkmq().s[7]++, startCol + cssClass.length);
|
|
54487
|
+
var line = (cov_11qsgbpkmq().s[8]++, nodeLoc.start.line + lineIndex);
|
|
54488
|
+
cov_11qsgbpkmq().s[9]++;
|
|
53800
54489
|
return {
|
|
53801
54490
|
start: {
|
|
53802
54491
|
line: line,
|
|
@@ -53808,96 +54497,136 @@
|
|
|
53808
54497
|
}
|
|
53809
54498
|
};
|
|
53810
54499
|
};
|
|
53811
|
-
cov_11qsgbpkmq().s[
|
|
53812
|
-
var
|
|
54500
|
+
cov_11qsgbpkmq().s[10]++;
|
|
54501
|
+
var getRange = function getRange(_ref2) {
|
|
54502
|
+
var context = _ref2.context,
|
|
54503
|
+
loc = _ref2.loc;
|
|
53813
54504
|
cov_11qsgbpkmq().f[1]++;
|
|
53814
|
-
var
|
|
53815
|
-
cov_11qsgbpkmq().s[
|
|
54505
|
+
var sourceCode = (cov_11qsgbpkmq().s[11]++, context.getSourceCode());
|
|
54506
|
+
cov_11qsgbpkmq().s[12]++;
|
|
54507
|
+
return [sourceCode.getIndexFromLoc(loc.start), sourceCode.getIndexFromLoc(loc.end)];
|
|
54508
|
+
};
|
|
54509
|
+
cov_11qsgbpkmq().s[13]++;
|
|
54510
|
+
var getCssProperty = function getCssProperty(cssClass) {
|
|
54511
|
+
cov_11qsgbpkmq().f[2]++;
|
|
54512
|
+
var property = (cov_11qsgbpkmq().s[14]++, "");
|
|
54513
|
+
cov_11qsgbpkmq().s[15]++;
|
|
53816
54514
|
if (cssClass.includes("text")) {
|
|
53817
|
-
cov_11qsgbpkmq().b[
|
|
53818
|
-
cov_11qsgbpkmq().s[
|
|
54515
|
+
cov_11qsgbpkmq().b[1][0]++;
|
|
54516
|
+
cov_11qsgbpkmq().s[16]++;
|
|
53819
54517
|
property = "textColor";
|
|
53820
54518
|
} else {
|
|
53821
|
-
cov_11qsgbpkmq().b[
|
|
53822
|
-
cov_11qsgbpkmq().s[
|
|
54519
|
+
cov_11qsgbpkmq().b[1][1]++;
|
|
54520
|
+
cov_11qsgbpkmq().s[17]++;
|
|
53823
54521
|
if (cssClass.includes("border")) {
|
|
53824
|
-
cov_11qsgbpkmq().b[
|
|
53825
|
-
cov_11qsgbpkmq().s[
|
|
54522
|
+
cov_11qsgbpkmq().b[2][0]++;
|
|
54523
|
+
cov_11qsgbpkmq().s[18]++;
|
|
53826
54524
|
property = "borderColor";
|
|
53827
54525
|
} else {
|
|
53828
|
-
cov_11qsgbpkmq().b[
|
|
53829
|
-
cov_11qsgbpkmq().s[
|
|
54526
|
+
cov_11qsgbpkmq().b[2][1]++;
|
|
54527
|
+
cov_11qsgbpkmq().s[19]++;
|
|
53830
54528
|
if (cssClass.includes("rounded")) {
|
|
53831
|
-
cov_11qsgbpkmq().b[
|
|
53832
|
-
cov_11qsgbpkmq().s[
|
|
54529
|
+
cov_11qsgbpkmq().b[3][0]++;
|
|
54530
|
+
cov_11qsgbpkmq().s[20]++;
|
|
53833
54531
|
property = "borderRadius";
|
|
53834
54532
|
} else {
|
|
53835
|
-
cov_11qsgbpkmq().b[
|
|
53836
|
-
cov_11qsgbpkmq().s[
|
|
54533
|
+
cov_11qsgbpkmq().b[3][1]++;
|
|
54534
|
+
cov_11qsgbpkmq().s[21]++;
|
|
53837
54535
|
if (cssClass.includes("shadow")) {
|
|
53838
|
-
cov_11qsgbpkmq().b[
|
|
53839
|
-
cov_11qsgbpkmq().s[
|
|
54536
|
+
cov_11qsgbpkmq().b[4][0]++;
|
|
54537
|
+
cov_11qsgbpkmq().s[22]++;
|
|
53840
54538
|
property = "boxShadow";
|
|
53841
54539
|
} else {
|
|
53842
|
-
cov_11qsgbpkmq().b[
|
|
54540
|
+
cov_11qsgbpkmq().b[4][1]++;
|
|
54541
|
+
cov_11qsgbpkmq().s[23]++;
|
|
54542
|
+
if (cssClass.includes("bg")) {
|
|
54543
|
+
cov_11qsgbpkmq().b[5][0]++;
|
|
54544
|
+
cov_11qsgbpkmq().s[24]++;
|
|
54545
|
+
property = "backgroundColor";
|
|
54546
|
+
} else {
|
|
54547
|
+
cov_11qsgbpkmq().b[5][1]++;
|
|
54548
|
+
}
|
|
53843
54549
|
}
|
|
53844
54550
|
}
|
|
53845
54551
|
}
|
|
53846
54552
|
}
|
|
53847
|
-
cov_11qsgbpkmq().s[
|
|
54553
|
+
cov_11qsgbpkmq().s[25]++;
|
|
53848
54554
|
return property;
|
|
53849
54555
|
};
|
|
53850
|
-
cov_11qsgbpkmq().s[
|
|
54556
|
+
cov_11qsgbpkmq().s[26]++;
|
|
53851
54557
|
var checkAndReportTailwindClasses = function checkAndReportTailwindClasses(context, node) {
|
|
53852
|
-
cov_11qsgbpkmq().f[
|
|
53853
|
-
var nodeValue = (cov_11qsgbpkmq().s[
|
|
53854
|
-
cov_11qsgbpkmq().s[
|
|
54558
|
+
cov_11qsgbpkmq().f[3]++;
|
|
54559
|
+
var nodeValue = (cov_11qsgbpkmq().s[27]++, node.type === TYPES.LITERAL ? (cov_11qsgbpkmq().b[6][0]++, node.value) : (cov_11qsgbpkmq().b[6][1]++, node.value.cooked));
|
|
54560
|
+
cov_11qsgbpkmq().s[28]++;
|
|
53855
54561
|
if (typeof nodeValue !== "string") {
|
|
53856
|
-
cov_11qsgbpkmq().b[
|
|
53857
|
-
cov_11qsgbpkmq().s[
|
|
54562
|
+
cov_11qsgbpkmq().b[7][0]++;
|
|
54563
|
+
cov_11qsgbpkmq().s[29]++;
|
|
53858
54564
|
return;
|
|
53859
54565
|
} else {
|
|
53860
|
-
cov_11qsgbpkmq().b[
|
|
54566
|
+
cov_11qsgbpkmq().b[7][1]++;
|
|
53861
54567
|
}
|
|
53862
|
-
var cssClasses = (cov_11qsgbpkmq().s[
|
|
53863
|
-
cov_11qsgbpkmq().s[
|
|
54568
|
+
var cssClasses = (cov_11qsgbpkmq().s[30]++, nodeValue.split(" "));
|
|
54569
|
+
cov_11qsgbpkmq().s[31]++;
|
|
53864
54570
|
cssClasses.forEach(function (cssClass) {
|
|
53865
|
-
cov_11qsgbpkmq().f[
|
|
53866
|
-
var cssProperty = (cov_11qsgbpkmq().s[
|
|
53867
|
-
cov_11qsgbpkmq().s[
|
|
54571
|
+
cov_11qsgbpkmq().f[4]++;
|
|
54572
|
+
var cssProperty = (cov_11qsgbpkmq().s[32]++, getCssProperty(cssClass));
|
|
54573
|
+
cov_11qsgbpkmq().s[33]++;
|
|
53868
54574
|
if (!cssProperty) {
|
|
53869
|
-
cov_11qsgbpkmq().b[
|
|
53870
|
-
cov_11qsgbpkmq().s[
|
|
54575
|
+
cov_11qsgbpkmq().b[8][0]++;
|
|
54576
|
+
cov_11qsgbpkmq().s[34]++;
|
|
53871
54577
|
return;
|
|
53872
54578
|
} else {
|
|
53873
|
-
cov_11qsgbpkmq().b[
|
|
54579
|
+
cov_11qsgbpkmq().b[8][1]++;
|
|
53874
54580
|
}
|
|
53875
|
-
var
|
|
53876
|
-
patterns =
|
|
53877
|
-
message =
|
|
53878
|
-
var isPatternMatched = (cov_11qsgbpkmq().s[
|
|
53879
|
-
|
|
53880
|
-
cov_11qsgbpkmq().s[27]++;
|
|
53881
|
-
return pattern.test(cssClass);
|
|
53882
|
-
}));
|
|
53883
|
-
cov_11qsgbpkmq().s[28]++;
|
|
54581
|
+
var _ref3 = (cov_11qsgbpkmq().s[35]++, TAILWIND_CLASS_PATTERNS[cssProperty]),
|
|
54582
|
+
patterns = _ref3.patterns,
|
|
54583
|
+
message = _ref3.message;
|
|
54584
|
+
var isPatternMatched = (cov_11qsgbpkmq().s[36]++, patterns.some(ramda.test(ramda.__, cssClass)));
|
|
54585
|
+
cov_11qsgbpkmq().s[37]++;
|
|
53884
54586
|
if (!isPatternMatched) {
|
|
53885
|
-
cov_11qsgbpkmq().b[
|
|
53886
|
-
cov_11qsgbpkmq().s[
|
|
54587
|
+
cov_11qsgbpkmq().b[9][0]++;
|
|
54588
|
+
cov_11qsgbpkmq().s[38]++;
|
|
53887
54589
|
return;
|
|
53888
54590
|
} else {
|
|
53889
|
-
cov_11qsgbpkmq().b[
|
|
54591
|
+
cov_11qsgbpkmq().b[9][1]++;
|
|
54592
|
+
}
|
|
54593
|
+
|
|
54594
|
+
// This logic is to remove the pseudo-class if it is present.
|
|
54595
|
+
var tailwindClass = (cov_11qsgbpkmq().s[39]++, cssClass.split(":").reverse()[0]);
|
|
54596
|
+
var loc = (cov_11qsgbpkmq().s[40]++, getLocation({
|
|
54597
|
+
nodeValue: nodeValue,
|
|
54598
|
+
nodeLoc: node.loc,
|
|
54599
|
+
cssClass: tailwindClass
|
|
54600
|
+
}));
|
|
54601
|
+
var isAutofixAvailable = (cov_11qsgbpkmq().s[41]++, AUTOFIX_AVAILABLE_CLASSES.includes(tailwindClass));
|
|
54602
|
+
cov_11qsgbpkmq().s[42]++;
|
|
54603
|
+
if (isAutofixAvailable) {
|
|
54604
|
+
cov_11qsgbpkmq().b[10][0]++;
|
|
54605
|
+
var range = (cov_11qsgbpkmq().s[43]++, getRange({
|
|
54606
|
+
context: context,
|
|
54607
|
+
loc: loc
|
|
54608
|
+
}));
|
|
54609
|
+
var neetoUIClass = (cov_11qsgbpkmq().s[44]++, "neeto-ui-".concat(tailwindClass));
|
|
54610
|
+
cov_11qsgbpkmq().s[45]++;
|
|
54611
|
+
context.report({
|
|
54612
|
+
node: node,
|
|
54613
|
+
loc: loc,
|
|
54614
|
+
message: replaceTailwindClass(tailwindClass, neetoUIClass),
|
|
54615
|
+
fix: function fix(fixer) {
|
|
54616
|
+
cov_11qsgbpkmq().f[5]++;
|
|
54617
|
+
cov_11qsgbpkmq().s[46]++;
|
|
54618
|
+
return fixer.replaceTextRange(range, neetoUIClass);
|
|
54619
|
+
}
|
|
54620
|
+
});
|
|
54621
|
+
} else {
|
|
54622
|
+
cov_11qsgbpkmq().b[10][1]++;
|
|
54623
|
+
cov_11qsgbpkmq().s[47]++;
|
|
54624
|
+
context.report({
|
|
54625
|
+
node: node,
|
|
54626
|
+
loc: loc,
|
|
54627
|
+
message: message
|
|
54628
|
+
});
|
|
53890
54629
|
}
|
|
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
54630
|
});
|
|
53902
54631
|
};
|
|
53903
54632
|
var useNeetouiClasses = {
|
|
@@ -53906,20 +54635,21 @@
|
|
|
53906
54635
|
docs: {
|
|
53907
54636
|
url: "https://github.com/bigbinary/eslint-plugin-neeto/blob/main/docs/src/rules/use-neetoui-classes.md",
|
|
53908
54637
|
description: "Warns when tailwind classes are used instead of neetoUI classes"
|
|
53909
|
-
}
|
|
54638
|
+
},
|
|
54639
|
+
fixable: "code"
|
|
53910
54640
|
},
|
|
53911
54641
|
create: function create(context) {
|
|
53912
|
-
cov_11qsgbpkmq().f[
|
|
53913
|
-
cov_11qsgbpkmq().s[
|
|
54642
|
+
cov_11qsgbpkmq().f[6]++;
|
|
54643
|
+
cov_11qsgbpkmq().s[48]++;
|
|
53914
54644
|
return {
|
|
53915
54645
|
Literal: function Literal(node) {
|
|
53916
|
-
cov_11qsgbpkmq().f[
|
|
53917
|
-
cov_11qsgbpkmq().s[
|
|
54646
|
+
cov_11qsgbpkmq().f[7]++;
|
|
54647
|
+
cov_11qsgbpkmq().s[49]++;
|
|
53918
54648
|
checkAndReportTailwindClasses(context, node);
|
|
53919
54649
|
},
|
|
53920
54650
|
TemplateElement: function TemplateElement(node) {
|
|
53921
|
-
cov_11qsgbpkmq().f[
|
|
53922
|
-
cov_11qsgbpkmq().s[
|
|
54651
|
+
cov_11qsgbpkmq().f[8]++;
|
|
54652
|
+
cov_11qsgbpkmq().s[50]++;
|
|
53923
54653
|
checkAndReportTailwindClasses(context, node);
|
|
53924
54654
|
}
|
|
53925
54655
|
};
|