@bigbinary/eslint-plugin-neeto 1.0.53 → 1.0.55
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/README.md +1 -0
- package/dist/index.js +1989 -697
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -219,6 +219,7 @@
|
|
|
219
219
|
"@bigbinary/neeto/combine-multiple-independent-awaits": "warn",
|
|
220
220
|
"@bigbinary/neeto/consistent-button-link-anchor": "warn",
|
|
221
221
|
"@bigbinary/neeto/ensure-compact-objects": "error",
|
|
222
|
+
"@bigbinary/neeto/ensure-formik-eager-validation": "error",
|
|
222
223
|
"@bigbinary/neeto/ensure-zustand-stores-are-type-annotated": "error",
|
|
223
224
|
"@bigbinary/neeto/files-inside-react-query-folder-should-end-with-api": "warn",
|
|
224
225
|
"@bigbinary/neeto/file-name-and-export-name-standards": ["error", {
|
|
@@ -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 = "8cf653284c4dc9adb146799faad797d9a1d64597";
|
|
3981
3982
|
var global = new Function("return this")();
|
|
3982
3983
|
var gcv = "__coverage__";
|
|
3983
3984
|
var coverageData = {
|
|
@@ -4370,7 +4371,7 @@
|
|
|
4370
4371
|
},
|
|
4371
4372
|
end: {
|
|
4372
4373
|
line: 81,
|
|
4373
|
-
column:
|
|
4374
|
+
column: 150
|
|
4374
4375
|
}
|
|
4375
4376
|
},
|
|
4376
4377
|
"39": {
|
|
@@ -4380,7 +4381,7 @@
|
|
|
4380
4381
|
},
|
|
4381
4382
|
end: {
|
|
4382
4383
|
line: 84,
|
|
4383
|
-
column:
|
|
4384
|
+
column: 88
|
|
4384
4385
|
}
|
|
4385
4386
|
},
|
|
4386
4387
|
"40": {
|
|
@@ -4390,7 +4391,7 @@
|
|
|
4390
4391
|
},
|
|
4391
4392
|
end: {
|
|
4392
4393
|
line: 87,
|
|
4393
|
-
column:
|
|
4394
|
+
column: 41
|
|
4394
4395
|
}
|
|
4395
4396
|
},
|
|
4396
4397
|
"41": {
|
|
@@ -4400,7 +4401,7 @@
|
|
|
4400
4401
|
},
|
|
4401
4402
|
end: {
|
|
4402
4403
|
line: 90,
|
|
4403
|
-
column:
|
|
4404
|
+
column: 43
|
|
4404
4405
|
}
|
|
4405
4406
|
},
|
|
4406
4407
|
"42": {
|
|
@@ -4410,7 +4411,7 @@
|
|
|
4410
4411
|
},
|
|
4411
4412
|
end: {
|
|
4412
4413
|
line: 93,
|
|
4413
|
-
column:
|
|
4414
|
+
column: 51
|
|
4414
4415
|
}
|
|
4415
4416
|
},
|
|
4416
4417
|
"43": {
|
|
@@ -4420,7 +4421,7 @@
|
|
|
4420
4421
|
},
|
|
4421
4422
|
end: {
|
|
4422
4423
|
line: 96,
|
|
4423
|
-
column:
|
|
4424
|
+
column: 49
|
|
4424
4425
|
}
|
|
4425
4426
|
},
|
|
4426
4427
|
"44": {
|
|
@@ -4430,7 +4431,7 @@
|
|
|
4430
4431
|
},
|
|
4431
4432
|
end: {
|
|
4432
4433
|
line: 99,
|
|
4433
|
-
column:
|
|
4434
|
+
column: 72
|
|
4434
4435
|
}
|
|
4435
4436
|
},
|
|
4436
4437
|
"45": {
|
|
@@ -4440,7 +4441,7 @@
|
|
|
4440
4441
|
},
|
|
4441
4442
|
end: {
|
|
4442
4443
|
line: 102,
|
|
4443
|
-
column:
|
|
4444
|
+
column: 64
|
|
4444
4445
|
}
|
|
4445
4446
|
},
|
|
4446
4447
|
"46": {
|
|
@@ -4450,7 +4451,7 @@
|
|
|
4450
4451
|
},
|
|
4451
4452
|
end: {
|
|
4452
4453
|
line: 105,
|
|
4453
|
-
column:
|
|
4454
|
+
column: 158
|
|
4454
4455
|
}
|
|
4455
4456
|
},
|
|
4456
4457
|
"47": {
|
|
@@ -4460,7 +4461,7 @@
|
|
|
4460
4461
|
},
|
|
4461
4462
|
end: {
|
|
4462
4463
|
line: 108,
|
|
4463
|
-
column:
|
|
4464
|
+
column: 75
|
|
4464
4465
|
}
|
|
4465
4466
|
},
|
|
4466
4467
|
"48": {
|
|
@@ -4470,7 +4471,7 @@
|
|
|
4470
4471
|
},
|
|
4471
4472
|
end: {
|
|
4472
4473
|
line: 111,
|
|
4473
|
-
column:
|
|
4474
|
+
column: 56
|
|
4474
4475
|
}
|
|
4475
4476
|
},
|
|
4476
4477
|
"49": {
|
|
@@ -4480,7 +4481,7 @@
|
|
|
4480
4481
|
},
|
|
4481
4482
|
end: {
|
|
4482
4483
|
line: 114,
|
|
4483
|
-
column:
|
|
4484
|
+
column: 105
|
|
4484
4485
|
}
|
|
4485
4486
|
},
|
|
4486
4487
|
"50": {
|
|
@@ -4490,7 +4491,7 @@
|
|
|
4490
4491
|
},
|
|
4491
4492
|
end: {
|
|
4492
4493
|
line: 117,
|
|
4493
|
-
column:
|
|
4494
|
+
column: 76
|
|
4494
4495
|
}
|
|
4495
4496
|
},
|
|
4496
4497
|
"51": {
|
|
@@ -4500,7 +4501,7 @@
|
|
|
4500
4501
|
},
|
|
4501
4502
|
end: {
|
|
4502
4503
|
line: 120,
|
|
4503
|
-
column:
|
|
4504
|
+
column: 96
|
|
4504
4505
|
}
|
|
4505
4506
|
},
|
|
4506
4507
|
"52": {
|
|
@@ -4510,7 +4511,7 @@
|
|
|
4510
4511
|
},
|
|
4511
4512
|
end: {
|
|
4512
4513
|
line: 123,
|
|
4513
|
-
column:
|
|
4514
|
+
column: 100
|
|
4514
4515
|
}
|
|
4515
4516
|
},
|
|
4516
4517
|
"53": {
|
|
@@ -4520,7 +4521,7 @@
|
|
|
4520
4521
|
},
|
|
4521
4522
|
end: {
|
|
4522
4523
|
line: 126,
|
|
4523
|
-
column:
|
|
4524
|
+
column: 45
|
|
4524
4525
|
}
|
|
4525
4526
|
},
|
|
4526
4527
|
"54": {
|
|
@@ -4530,7 +4531,7 @@
|
|
|
4530
4531
|
},
|
|
4531
4532
|
end: {
|
|
4532
4533
|
line: 129,
|
|
4533
|
-
column:
|
|
4534
|
+
column: 91
|
|
4534
4535
|
}
|
|
4535
4536
|
},
|
|
4536
4537
|
"55": {
|
|
@@ -4540,7 +4541,7 @@
|
|
|
4540
4541
|
},
|
|
4541
4542
|
end: {
|
|
4542
4543
|
line: 132,
|
|
4543
|
-
column:
|
|
4544
|
+
column: 92
|
|
4544
4545
|
}
|
|
4545
4546
|
},
|
|
4546
4547
|
"56": {
|
|
@@ -4550,7 +4551,7 @@
|
|
|
4550
4551
|
},
|
|
4551
4552
|
end: {
|
|
4552
4553
|
line: 135,
|
|
4553
|
-
column:
|
|
4554
|
+
column: 90
|
|
4554
4555
|
}
|
|
4555
4556
|
},
|
|
4556
4557
|
"57": {
|
|
@@ -4560,7 +4561,7 @@
|
|
|
4560
4561
|
},
|
|
4561
4562
|
end: {
|
|
4562
4563
|
line: 138,
|
|
4563
|
-
column:
|
|
4564
|
+
column: 86
|
|
4564
4565
|
}
|
|
4565
4566
|
},
|
|
4566
4567
|
"58": {
|
|
@@ -4570,7 +4571,7 @@
|
|
|
4570
4571
|
},
|
|
4571
4572
|
end: {
|
|
4572
4573
|
line: 141,
|
|
4573
|
-
column:
|
|
4574
|
+
column: 98
|
|
4574
4575
|
}
|
|
4575
4576
|
},
|
|
4576
4577
|
"59": {
|
|
@@ -4580,7 +4581,7 @@
|
|
|
4580
4581
|
},
|
|
4581
4582
|
end: {
|
|
4582
4583
|
line: 144,
|
|
4583
|
-
column:
|
|
4584
|
+
column: 92
|
|
4584
4585
|
}
|
|
4585
4586
|
},
|
|
4586
4587
|
"60": {
|
|
@@ -4590,27 +4591,27 @@
|
|
|
4590
4591
|
},
|
|
4591
4592
|
end: {
|
|
4592
4593
|
line: 147,
|
|
4593
|
-
column:
|
|
4594
|
+
column: 71
|
|
4594
4595
|
}
|
|
4595
4596
|
},
|
|
4596
4597
|
"61": {
|
|
4597
4598
|
start: {
|
|
4598
|
-
line:
|
|
4599
|
-
column:
|
|
4599
|
+
line: 150,
|
|
4600
|
+
column: 2
|
|
4600
4601
|
},
|
|
4601
4602
|
end: {
|
|
4602
|
-
line:
|
|
4603
|
-
column:
|
|
4603
|
+
line: 150,
|
|
4604
|
+
column: 53
|
|
4604
4605
|
}
|
|
4605
4606
|
},
|
|
4606
4607
|
"62": {
|
|
4607
4608
|
start: {
|
|
4608
|
-
line:
|
|
4609
|
-
column:
|
|
4609
|
+
line: 152,
|
|
4610
|
+
column: 56
|
|
4610
4611
|
},
|
|
4611
4612
|
end: {
|
|
4612
4613
|
line: 156,
|
|
4613
|
-
column:
|
|
4614
|
+
column: 1
|
|
4614
4615
|
}
|
|
4615
4616
|
},
|
|
4616
4617
|
"63": {
|
|
@@ -4620,7 +4621,7 @@
|
|
|
4620
4621
|
},
|
|
4621
4622
|
end: {
|
|
4622
4623
|
line: 159,
|
|
4623
|
-
column:
|
|
4624
|
+
column: 49
|
|
4624
4625
|
}
|
|
4625
4626
|
},
|
|
4626
4627
|
"64": {
|
|
@@ -4630,7 +4631,7 @@
|
|
|
4630
4631
|
},
|
|
4631
4632
|
end: {
|
|
4632
4633
|
line: 162,
|
|
4633
|
-
column:
|
|
4634
|
+
column: 54
|
|
4634
4635
|
}
|
|
4635
4636
|
},
|
|
4636
4637
|
"65": {
|
|
@@ -4640,7 +4641,7 @@
|
|
|
4640
4641
|
},
|
|
4641
4642
|
end: {
|
|
4642
4643
|
line: 165,
|
|
4643
|
-
column:
|
|
4644
|
+
column: 43
|
|
4644
4645
|
}
|
|
4645
4646
|
},
|
|
4646
4647
|
"66": {
|
|
@@ -4650,7 +4651,7 @@
|
|
|
4650
4651
|
},
|
|
4651
4652
|
end: {
|
|
4652
4653
|
line: 168,
|
|
4653
|
-
column:
|
|
4654
|
+
column: 178
|
|
4654
4655
|
}
|
|
4655
4656
|
},
|
|
4656
4657
|
"67": {
|
|
@@ -4660,7 +4661,7 @@
|
|
|
4660
4661
|
},
|
|
4661
4662
|
end: {
|
|
4662
4663
|
line: 171,
|
|
4663
|
-
column:
|
|
4664
|
+
column: 184
|
|
4664
4665
|
}
|
|
4665
4666
|
},
|
|
4666
4667
|
"68": {
|
|
@@ -4670,7 +4671,7 @@
|
|
|
4670
4671
|
},
|
|
4671
4672
|
end: {
|
|
4672
4673
|
line: 174,
|
|
4673
|
-
column:
|
|
4674
|
+
column: 193
|
|
4674
4675
|
}
|
|
4675
4676
|
},
|
|
4676
4677
|
"69": {
|
|
@@ -4680,7 +4681,7 @@
|
|
|
4680
4681
|
},
|
|
4681
4682
|
end: {
|
|
4682
4683
|
line: 177,
|
|
4683
|
-
column:
|
|
4684
|
+
column: 72
|
|
4684
4685
|
}
|
|
4685
4686
|
},
|
|
4686
4687
|
"70": {
|
|
@@ -4690,7 +4691,7 @@
|
|
|
4690
4691
|
},
|
|
4691
4692
|
end: {
|
|
4692
4693
|
line: 180,
|
|
4693
|
-
column:
|
|
4694
|
+
column: 111
|
|
4694
4695
|
}
|
|
4695
4696
|
},
|
|
4696
4697
|
"71": {
|
|
@@ -4700,7 +4701,7 @@
|
|
|
4700
4701
|
},
|
|
4701
4702
|
end: {
|
|
4702
4703
|
line: 183,
|
|
4703
|
-
column:
|
|
4704
|
+
column: 115
|
|
4704
4705
|
}
|
|
4705
4706
|
},
|
|
4706
4707
|
"72": {
|
|
@@ -4710,7 +4711,7 @@
|
|
|
4710
4711
|
},
|
|
4711
4712
|
end: {
|
|
4712
4713
|
line: 186,
|
|
4713
|
-
column:
|
|
4714
|
+
column: 85
|
|
4714
4715
|
}
|
|
4715
4716
|
},
|
|
4716
4717
|
"73": {
|
|
@@ -4730,7 +4731,7 @@
|
|
|
4730
4731
|
},
|
|
4731
4732
|
end: {
|
|
4732
4733
|
line: 192,
|
|
4733
|
-
column:
|
|
4734
|
+
column: 132
|
|
4734
4735
|
}
|
|
4735
4736
|
},
|
|
4736
4737
|
"75": {
|
|
@@ -4740,7 +4741,7 @@
|
|
|
4740
4741
|
},
|
|
4741
4742
|
end: {
|
|
4742
4743
|
line: 195,
|
|
4743
|
-
column:
|
|
4744
|
+
column: 41
|
|
4744
4745
|
}
|
|
4745
4746
|
},
|
|
4746
4747
|
"76": {
|
|
@@ -4750,7 +4751,7 @@
|
|
|
4750
4751
|
},
|
|
4751
4752
|
end: {
|
|
4752
4753
|
line: 198,
|
|
4753
|
-
column:
|
|
4754
|
+
column: 66
|
|
4754
4755
|
}
|
|
4755
4756
|
},
|
|
4756
4757
|
"77": {
|
|
@@ -4760,7 +4761,7 @@
|
|
|
4760
4761
|
},
|
|
4761
4762
|
end: {
|
|
4762
4763
|
line: 201,
|
|
4763
|
-
column:
|
|
4764
|
+
column: 39
|
|
4764
4765
|
}
|
|
4765
4766
|
},
|
|
4766
4767
|
"78": {
|
|
@@ -4770,6 +4771,16 @@
|
|
|
4770
4771
|
},
|
|
4771
4772
|
end: {
|
|
4772
4773
|
line: 204,
|
|
4774
|
+
column: 77
|
|
4775
|
+
}
|
|
4776
|
+
},
|
|
4777
|
+
"79": {
|
|
4778
|
+
start: {
|
|
4779
|
+
line: 207,
|
|
4780
|
+
column: 2
|
|
4781
|
+
},
|
|
4782
|
+
end: {
|
|
4783
|
+
line: 207,
|
|
4773
4784
|
column: 51
|
|
4774
4785
|
}
|
|
4775
4786
|
}
|
|
@@ -5144,7 +5155,8 @@
|
|
|
5144
5155
|
"75": 0,
|
|
5145
5156
|
"76": 0,
|
|
5146
5157
|
"77": 0,
|
|
5147
|
-
"78": 0
|
|
5158
|
+
"78": 0,
|
|
5159
|
+
"79": 0
|
|
5148
5160
|
},
|
|
5149
5161
|
f: {
|
|
5150
5162
|
"0": 0,
|
|
@@ -5162,7 +5174,7 @@
|
|
|
5162
5174
|
},
|
|
5163
5175
|
b: {},
|
|
5164
5176
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
5165
|
-
hash: "
|
|
5177
|
+
hash: "8cf653284c4dc9adb146799faad797d9a1d64597"
|
|
5166
5178
|
};
|
|
5167
5179
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
5168
5180
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -5266,47 +5278,48 @@
|
|
|
5266
5278
|
var NO_ROUTES_ASSIGNMENT = (cov_26237ygvis().s[35]++, "`routes` or its nested properties should not be assigned to other variables.");
|
|
5267
5279
|
var NO_ROUTES_REASSIGNMENT = (cov_26237ygvis().s[36]++, "`routes` or its nested properties should not be re-assigned.");
|
|
5268
5280
|
var NO_NAMESPACE_SPECIFIER_IMPORT_FOR_RAMDA_MESSAGE = (cov_26237ygvis().s[37]++, 'Use `import { methodsToImport } from "ramda"` instead');
|
|
5269
|
-
var
|
|
5270
|
-
var
|
|
5271
|
-
var
|
|
5272
|
-
var
|
|
5273
|
-
var
|
|
5274
|
-
var
|
|
5275
|
-
var
|
|
5276
|
-
var
|
|
5277
|
-
var
|
|
5278
|
-
var
|
|
5279
|
-
var
|
|
5280
|
-
var
|
|
5281
|
-
var
|
|
5282
|
-
var
|
|
5283
|
-
var
|
|
5284
|
-
var
|
|
5285
|
-
var
|
|
5286
|
-
var
|
|
5287
|
-
var
|
|
5288
|
-
(cov_26237ygvis().s[57]++, "Use neetoUI
|
|
5289
|
-
|
|
5290
|
-
var
|
|
5291
|
-
var
|
|
5292
|
-
var
|
|
5293
|
-
var
|
|
5294
|
-
var
|
|
5295
|
-
var
|
|
5296
|
-
var
|
|
5297
|
-
var
|
|
5298
|
-
var
|
|
5299
|
-
var
|
|
5300
|
-
var
|
|
5301
|
-
var
|
|
5302
|
-
var
|
|
5303
|
-
var
|
|
5304
|
-
var
|
|
5305
|
-
var
|
|
5306
|
-
var
|
|
5307
|
-
var
|
|
5308
|
-
var
|
|
5309
|
-
var
|
|
5281
|
+
var PREFER_EAGER_VALIDATION_MESSAGE = (cov_26237ygvis().s[38]++, "Prefer to use Formik defaults for `validateOnBlur` and `validateOnChange` to ensure eager validation. Refer https://bit.ly/formik-eager-validation");
|
|
5282
|
+
var PREFIX_NEETO_UI_IMPORT_ALIAS_MESSAGE = (cov_26237ygvis().s[39]++, "Aliases for anything imported from neetoUI or neetoIcons should start with `NeetoUI`");
|
|
5283
|
+
var REPLACE_WITH_HANDLE_META_CLICK = (cov_26237ygvis().s[40]++, "Replace with handleMetaClick function");
|
|
5284
|
+
var ROUTE_SHOULD_BE_A_STRING = (cov_26237ygvis().s[41]++, "Route should be a plain string literal.");
|
|
5285
|
+
var ROUTE_SHOULD_MATCH_OBJECT_PATH = (cov_26237ygvis().s[42]++, "Route string should match with its object path.");
|
|
5286
|
+
var ROUTES_HAS_ALREADY_BEEN_DECLARED = (cov_26237ygvis().s[43]++, "Identifier `routes` has already been declared");
|
|
5287
|
+
var ROUTES_CONSTANT_SHOULD_BE_DECLARED = (cov_26237ygvis().s[44]++, "A constant object named `routes` should be declared inside routes.js");
|
|
5288
|
+
var ROUTES_SHOULD_USE_DEFAULT_EXPORT = (cov_26237ygvis().s[45]++, "`routes` should be exported using the default export method.");
|
|
5289
|
+
var USE_ARRAY_METHODS = (cov_26237ygvis().s[46]++, "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");
|
|
5290
|
+
var USE_AXIOS_CONFIG_FOR_PASSING_QUERY_PARAMETERS_MESSAGE = (cov_26237ygvis().s[47]++, "Use 'params attribute in axios configuration' to pass query parameters.");
|
|
5291
|
+
var USE_INLINE_SVG_FOR_RENDER = (cov_26237ygvis().s[48]++, "Use inline SVG instead of img tag for rendering SVGs");
|
|
5292
|
+
var USE_LINK_FOR_NAVIGATION = (cov_26237ygvis().s[49]++, "Use Link or NavLink component from 'react-router-dom' for click-navigation instead of onClick handler");
|
|
5293
|
+
var USE_ANCHOR_FOR_NAVIGATION = (cov_26237ygvis().s[50]++, "Use Anchor element (<a>) for click-navigation instead of onClick handler");
|
|
5294
|
+
var USE_BUTTON_TO_FOR_LINK_NAVIGATION = (cov_26237ygvis().s[51]++, "Use `to` prop of Button (<Button to='path'>) for click-navigation instead of onClick handler");
|
|
5295
|
+
var USE_BUTTON_TO_FOR_ANCHOR_NAVIGATION = (cov_26237ygvis().s[52]++, "Use `href` prop of Button (<Button href='path'>) for click-navigation instead of onClick handler");
|
|
5296
|
+
var USE_NEETO_SMALLER_CASE = (cov_26237ygvis().s[53]++, "Use 'neeto' instead of 'Neeto' in strings");
|
|
5297
|
+
var USE_NEETOUI_BORDER_COLOR = (cov_26237ygvis().s[54]++, "Use neetoUI border color. Refer https://bit.ly/neeto-ui-border-colors for more details.");
|
|
5298
|
+
var USE_NEETOUI_BORDER_RADIUS = (cov_26237ygvis().s[55]++, "Use neetoUI border radius. Refer https://bit.ly/neeto-ui-border-radius for more details.");
|
|
5299
|
+
var USE_NEETOUI_BOX_SHADOW = (cov_26237ygvis().s[56]++, "Use neetoUI border shadow. Refer https://bit.ly/neeto-ui-box-shadows for more details.");
|
|
5300
|
+
var USE_NEETOUI_TEXT_COLOR = (cov_26237ygvis().s[57]++, "Use neetoUI text color. Refer https://bit.ly/neeto-ui-text-color for more details.");
|
|
5301
|
+
(cov_26237ygvis().s[58]++, "Use neetoUI background color. Refer https://bit.ly/neeto-ui-background-color for more details.");
|
|
5302
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_SELECTOR = (cov_26237ygvis().s[59]++, "Don't use zustand store hook without a selector function. It will impact the performance");
|
|
5303
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_COMPARATOR_FUNCTION = (cov_26237ygvis().s[60]++, "Don't pick multiple zustand state items without comparator function");
|
|
5304
|
+
var USE_PROP_FOR_PICKING_SINGLE_ITEM = (cov_26237ygvis().s[61]++, "Use prop instead of pick when picking single item");
|
|
5305
|
+
var ENSURE_ZUSTAND_STORES_ARE_TYPE_ANNOTATED = (cov_26237ygvis().s[62]++, "\n Zustand stores should be type annotated like this:\n /** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\n const useUserStore = create(...)\n");
|
|
5306
|
+
var USE_REACT_QUERY_FOR_MANAGING_REMOTE_DATA = (cov_26237ygvis().s[63]++, "API calls should be managed using React Query");
|
|
5307
|
+
var FILES_INSIDE_REACT_QUERY_FOLDER_SHOULD_END_WITH_API = (cov_26237ygvis().s[64]++, "Files inside reactQuery folder should end with Api");
|
|
5308
|
+
var USE_ZUSTAND_FOR_GLOBAL_STATE_MANAGEMENT = (cov_26237ygvis().s[65]++, "Use zustand for global state management");
|
|
5309
|
+
var AVOID_T_FUNCTIONS_IN_STRING_INTERPOLATION = (cov_26237ygvis().s[66]++, "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");
|
|
5310
|
+
var AVOID_MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_26237ygvis().s[67]++, "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");
|
|
5311
|
+
var USE_TRANS_COMPONENTS_AND_VALUES_PROPS = (cov_26237ygvis().s[68]++, "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");
|
|
5312
|
+
var USE_TRANSLATION_HOOK_IN_COMPONENTS = (cov_26237ygvis().s[69]++, "Use translation function from `useTranslation()` hook in components.");
|
|
5313
|
+
var USE_COMPONENTS_CHILDREN_PROP_IN_TRANS = (cov_26237ygvis().s[70]++, "Use components children prop instead of label prop in `Trans` component to avoid multiple translation keys.");
|
|
5314
|
+
var USE_I18NEXT_PLURALS = (cov_26237ygvis().s[71]++, "Use plurals that comes with the `i18next` package for hard-coded strings. Refer: https://bit.ly/i18next-plurals");
|
|
5315
|
+
var USE_PLURALIZE_PACKAGE = (cov_26237ygvis().s[72]++, "Use `pluralize` package for dynamic values. Refer: https://bit.ly/i18next-plurals");
|
|
5316
|
+
var USE_COPY_TO_CLIPBOARD_FROM_NEETO_COMMONS = (cov_26237ygvis().s[73]++, "Use `copyToClipboard` from `@bigbinary/neeto-commons-frontend` package. Refer: https://bit.ly/copy-to-clipboard-utility-function");
|
|
5317
|
+
var USE_ZUSTAND_PICK_TRANSFORMER = (cov_26237ygvis().s[74]++, "Replace the boilerplate with zustand-pick syntax offered by babel-preset-neeto. Refer: https://bit.ly/zustand-pick-transform-doc");
|
|
5318
|
+
var HARD_CODED_STRING_SHOULD_BE_LOCALIZED = (cov_26237ygvis().s[75]++, "Hard-coded string should be localized");
|
|
5319
|
+
var PROPS_NOT_SORTED = (cov_26237ygvis().s[76]++, "Props inside spread attributes should be alphabetically sorted");
|
|
5320
|
+
var MERGE_ADJACENT_SPREAD_ATTRIBUTES = (cov_26237ygvis().s[77]++, "This spread attribute can be merged");
|
|
5321
|
+
var DIFFERENT_PROPS_MUST_BE_OUTSIDE = (cov_26237ygvis().s[78]++, "Props with different key and value should be outside the spread attribute");
|
|
5322
|
+
var PROP_KEY_VALUE_DUPLICATE = (cov_26237ygvis().s[79]++, "Prop key and value names should not be repeated");
|
|
5310
5323
|
|
|
5311
5324
|
function cov_22o2x8aeul() {
|
|
5312
5325
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/api-connector-name-should-match-filename.js";
|
|
@@ -13469,84 +13482,1472 @@
|
|
|
13469
13482
|
column: 54
|
|
13470
13483
|
}
|
|
13471
13484
|
},
|
|
13472
|
-
"20": {
|
|
13485
|
+
"20": {
|
|
13486
|
+
start: {
|
|
13487
|
+
line: 44,
|
|
13488
|
+
column: 33
|
|
13489
|
+
},
|
|
13490
|
+
end: {
|
|
13491
|
+
line: 44,
|
|
13492
|
+
column: 52
|
|
13493
|
+
}
|
|
13494
|
+
},
|
|
13495
|
+
"21": {
|
|
13496
|
+
start: {
|
|
13497
|
+
line: 47,
|
|
13498
|
+
column: 8
|
|
13499
|
+
},
|
|
13500
|
+
end: {
|
|
13501
|
+
line: 50,
|
|
13502
|
+
column: 28
|
|
13503
|
+
}
|
|
13504
|
+
},
|
|
13505
|
+
"22": {
|
|
13506
|
+
start: {
|
|
13507
|
+
line: 53,
|
|
13508
|
+
column: 8
|
|
13509
|
+
},
|
|
13510
|
+
end: {
|
|
13511
|
+
line: 53,
|
|
13512
|
+
column: 79
|
|
13513
|
+
}
|
|
13514
|
+
},
|
|
13515
|
+
"23": {
|
|
13516
|
+
start: {
|
|
13517
|
+
line: 56,
|
|
13518
|
+
column: 8
|
|
13519
|
+
},
|
|
13520
|
+
end: {
|
|
13521
|
+
line: 56,
|
|
13522
|
+
column: 72
|
|
13523
|
+
}
|
|
13524
|
+
},
|
|
13525
|
+
"24": {
|
|
13526
|
+
start: {
|
|
13527
|
+
line: 58,
|
|
13528
|
+
column: 6
|
|
13529
|
+
},
|
|
13530
|
+
end: {
|
|
13531
|
+
line: 58,
|
|
13532
|
+
column: 49
|
|
13533
|
+
}
|
|
13534
|
+
},
|
|
13535
|
+
"25": {
|
|
13536
|
+
start: {
|
|
13537
|
+
line: 58,
|
|
13538
|
+
column: 42
|
|
13539
|
+
},
|
|
13540
|
+
end: {
|
|
13541
|
+
line: 58,
|
|
13542
|
+
column: 49
|
|
13543
|
+
}
|
|
13544
|
+
},
|
|
13545
|
+
"26": {
|
|
13546
|
+
start: {
|
|
13547
|
+
line: 60,
|
|
13548
|
+
column: 6
|
|
13549
|
+
},
|
|
13550
|
+
end: {
|
|
13551
|
+
line: 65,
|
|
13552
|
+
column: 9
|
|
13553
|
+
}
|
|
13554
|
+
},
|
|
13555
|
+
"27": {
|
|
13556
|
+
start: {
|
|
13557
|
+
line: 64,
|
|
13558
|
+
column: 22
|
|
13559
|
+
},
|
|
13560
|
+
end: {
|
|
13561
|
+
line: 64,
|
|
13562
|
+
column: 50
|
|
13563
|
+
}
|
|
13564
|
+
}
|
|
13565
|
+
},
|
|
13566
|
+
fnMap: {
|
|
13567
|
+
"0": {
|
|
13568
|
+
name: "(anonymous_0)",
|
|
13569
|
+
decl: {
|
|
13570
|
+
start: {
|
|
13571
|
+
line: 19,
|
|
13572
|
+
column: 10
|
|
13573
|
+
},
|
|
13574
|
+
end: {
|
|
13575
|
+
line: 19,
|
|
13576
|
+
column: 11
|
|
13577
|
+
}
|
|
13578
|
+
},
|
|
13579
|
+
loc: {
|
|
13580
|
+
start: {
|
|
13581
|
+
line: 19,
|
|
13582
|
+
column: 22
|
|
13583
|
+
},
|
|
13584
|
+
end: {
|
|
13585
|
+
line: 67,
|
|
13586
|
+
column: 3
|
|
13587
|
+
}
|
|
13588
|
+
},
|
|
13589
|
+
line: 19
|
|
13590
|
+
},
|
|
13591
|
+
"1": {
|
|
13592
|
+
name: "(anonymous_1)",
|
|
13593
|
+
decl: {
|
|
13594
|
+
start: {
|
|
13595
|
+
line: 20,
|
|
13596
|
+
column: 4
|
|
13597
|
+
},
|
|
13598
|
+
end: {
|
|
13599
|
+
line: 20,
|
|
13600
|
+
column: 5
|
|
13601
|
+
}
|
|
13602
|
+
},
|
|
13603
|
+
loc: {
|
|
13604
|
+
start: {
|
|
13605
|
+
line: 20,
|
|
13606
|
+
column: 27
|
|
13607
|
+
},
|
|
13608
|
+
end: {
|
|
13609
|
+
line: 66,
|
|
13610
|
+
column: 5
|
|
13611
|
+
}
|
|
13612
|
+
},
|
|
13613
|
+
line: 20
|
|
13614
|
+
},
|
|
13615
|
+
"2": {
|
|
13616
|
+
name: "(anonymous_2)",
|
|
13617
|
+
decl: {
|
|
13618
|
+
start: {
|
|
13619
|
+
line: 36,
|
|
13620
|
+
column: 13
|
|
13621
|
+
},
|
|
13622
|
+
end: {
|
|
13623
|
+
line: 36,
|
|
13624
|
+
column: 14
|
|
13625
|
+
}
|
|
13626
|
+
},
|
|
13627
|
+
loc: {
|
|
13628
|
+
start: {
|
|
13629
|
+
line: 36,
|
|
13630
|
+
column: 25
|
|
13631
|
+
},
|
|
13632
|
+
end: {
|
|
13633
|
+
line: 36,
|
|
13634
|
+
column: 53
|
|
13635
|
+
}
|
|
13636
|
+
},
|
|
13637
|
+
line: 36
|
|
13638
|
+
},
|
|
13639
|
+
"3": {
|
|
13640
|
+
name: "(anonymous_3)",
|
|
13641
|
+
decl: {
|
|
13642
|
+
start: {
|
|
13643
|
+
line: 64,
|
|
13644
|
+
column: 13
|
|
13645
|
+
},
|
|
13646
|
+
end: {
|
|
13647
|
+
line: 64,
|
|
13648
|
+
column: 14
|
|
13649
|
+
}
|
|
13650
|
+
},
|
|
13651
|
+
loc: {
|
|
13652
|
+
start: {
|
|
13653
|
+
line: 64,
|
|
13654
|
+
column: 22
|
|
13655
|
+
},
|
|
13656
|
+
end: {
|
|
13657
|
+
line: 64,
|
|
13658
|
+
column: 50
|
|
13659
|
+
}
|
|
13660
|
+
},
|
|
13661
|
+
line: 64
|
|
13662
|
+
}
|
|
13663
|
+
},
|
|
13664
|
+
branchMap: {
|
|
13665
|
+
"0": {
|
|
13666
|
+
loc: {
|
|
13667
|
+
start: {
|
|
13668
|
+
line: 21,
|
|
13669
|
+
column: 6
|
|
13670
|
+
},
|
|
13671
|
+
end: {
|
|
13672
|
+
line: 21,
|
|
13673
|
+
column: 72
|
|
13674
|
+
}
|
|
13675
|
+
},
|
|
13676
|
+
type: "if",
|
|
13677
|
+
locations: [{
|
|
13678
|
+
start: {
|
|
13679
|
+
line: 21,
|
|
13680
|
+
column: 6
|
|
13681
|
+
},
|
|
13682
|
+
end: {
|
|
13683
|
+
line: 21,
|
|
13684
|
+
column: 72
|
|
13685
|
+
}
|
|
13686
|
+
}, {
|
|
13687
|
+
start: {
|
|
13688
|
+
line: undefined,
|
|
13689
|
+
column: undefined
|
|
13690
|
+
},
|
|
13691
|
+
end: {
|
|
13692
|
+
line: undefined,
|
|
13693
|
+
column: undefined
|
|
13694
|
+
}
|
|
13695
|
+
}],
|
|
13696
|
+
line: 21
|
|
13697
|
+
},
|
|
13698
|
+
"1": {
|
|
13699
|
+
loc: {
|
|
13700
|
+
start: {
|
|
13701
|
+
line: 23,
|
|
13702
|
+
column: 6
|
|
13703
|
+
},
|
|
13704
|
+
end: {
|
|
13705
|
+
line: 23,
|
|
13706
|
+
column: 60
|
|
13707
|
+
}
|
|
13708
|
+
},
|
|
13709
|
+
type: "if",
|
|
13710
|
+
locations: [{
|
|
13711
|
+
start: {
|
|
13712
|
+
line: 23,
|
|
13713
|
+
column: 6
|
|
13714
|
+
},
|
|
13715
|
+
end: {
|
|
13716
|
+
line: 23,
|
|
13717
|
+
column: 60
|
|
13718
|
+
}
|
|
13719
|
+
}, {
|
|
13720
|
+
start: {
|
|
13721
|
+
line: undefined,
|
|
13722
|
+
column: undefined
|
|
13723
|
+
},
|
|
13724
|
+
end: {
|
|
13725
|
+
line: undefined,
|
|
13726
|
+
column: undefined
|
|
13727
|
+
}
|
|
13728
|
+
}],
|
|
13729
|
+
line: 23
|
|
13730
|
+
},
|
|
13731
|
+
"2": {
|
|
13732
|
+
loc: {
|
|
13733
|
+
start: {
|
|
13734
|
+
line: 28,
|
|
13735
|
+
column: 6
|
|
13736
|
+
},
|
|
13737
|
+
end: {
|
|
13738
|
+
line: 28,
|
|
13739
|
+
column: 30
|
|
13740
|
+
}
|
|
13741
|
+
},
|
|
13742
|
+
type: "if",
|
|
13743
|
+
locations: [{
|
|
13744
|
+
start: {
|
|
13745
|
+
line: 28,
|
|
13746
|
+
column: 6
|
|
13747
|
+
},
|
|
13748
|
+
end: {
|
|
13749
|
+
line: 28,
|
|
13750
|
+
column: 30
|
|
13751
|
+
}
|
|
13752
|
+
}, {
|
|
13753
|
+
start: {
|
|
13754
|
+
line: undefined,
|
|
13755
|
+
column: undefined
|
|
13756
|
+
},
|
|
13757
|
+
end: {
|
|
13758
|
+
line: undefined,
|
|
13759
|
+
column: undefined
|
|
13760
|
+
}
|
|
13761
|
+
}],
|
|
13762
|
+
line: 28
|
|
13763
|
+
},
|
|
13764
|
+
"3": {
|
|
13765
|
+
loc: {
|
|
13766
|
+
start: {
|
|
13767
|
+
line: 33,
|
|
13768
|
+
column: 6
|
|
13769
|
+
},
|
|
13770
|
+
end: {
|
|
13771
|
+
line: 33,
|
|
13772
|
+
column: 56
|
|
13773
|
+
}
|
|
13774
|
+
},
|
|
13775
|
+
type: "if",
|
|
13776
|
+
locations: [{
|
|
13777
|
+
start: {
|
|
13778
|
+
line: 33,
|
|
13779
|
+
column: 6
|
|
13780
|
+
},
|
|
13781
|
+
end: {
|
|
13782
|
+
line: 33,
|
|
13783
|
+
column: 56
|
|
13784
|
+
}
|
|
13785
|
+
}, {
|
|
13786
|
+
start: {
|
|
13787
|
+
line: undefined,
|
|
13788
|
+
column: undefined
|
|
13789
|
+
},
|
|
13790
|
+
end: {
|
|
13791
|
+
line: undefined,
|
|
13792
|
+
column: undefined
|
|
13793
|
+
}
|
|
13794
|
+
}],
|
|
13795
|
+
line: 33
|
|
13796
|
+
},
|
|
13797
|
+
"4": {
|
|
13798
|
+
loc: {
|
|
13799
|
+
start: {
|
|
13800
|
+
line: 41,
|
|
13801
|
+
column: 6
|
|
13802
|
+
},
|
|
13803
|
+
end: {
|
|
13804
|
+
line: 41,
|
|
13805
|
+
column: 36
|
|
13806
|
+
}
|
|
13807
|
+
},
|
|
13808
|
+
type: "if",
|
|
13809
|
+
locations: [{
|
|
13810
|
+
start: {
|
|
13811
|
+
line: 41,
|
|
13812
|
+
column: 6
|
|
13813
|
+
},
|
|
13814
|
+
end: {
|
|
13815
|
+
line: 41,
|
|
13816
|
+
column: 36
|
|
13817
|
+
}
|
|
13818
|
+
}, {
|
|
13819
|
+
start: {
|
|
13820
|
+
line: undefined,
|
|
13821
|
+
column: undefined
|
|
13822
|
+
},
|
|
13823
|
+
end: {
|
|
13824
|
+
line: undefined,
|
|
13825
|
+
column: undefined
|
|
13826
|
+
}
|
|
13827
|
+
}],
|
|
13828
|
+
line: 41
|
|
13829
|
+
},
|
|
13830
|
+
"5": {
|
|
13831
|
+
loc: {
|
|
13832
|
+
start: {
|
|
13833
|
+
line: 47,
|
|
13834
|
+
column: 8
|
|
13835
|
+
},
|
|
13836
|
+
end: {
|
|
13837
|
+
line: 50,
|
|
13838
|
+
column: 28
|
|
13839
|
+
}
|
|
13840
|
+
},
|
|
13841
|
+
type: "binary-expr",
|
|
13842
|
+
locations: [{
|
|
13843
|
+
start: {
|
|
13844
|
+
line: 47,
|
|
13845
|
+
column: 8
|
|
13846
|
+
},
|
|
13847
|
+
end: {
|
|
13848
|
+
line: 50,
|
|
13849
|
+
column: 22
|
|
13850
|
+
}
|
|
13851
|
+
}, {
|
|
13852
|
+
start: {
|
|
13853
|
+
line: 50,
|
|
13854
|
+
column: 26
|
|
13855
|
+
},
|
|
13856
|
+
end: {
|
|
13857
|
+
line: 50,
|
|
13858
|
+
column: 28
|
|
13859
|
+
}
|
|
13860
|
+
}],
|
|
13861
|
+
line: 47
|
|
13862
|
+
},
|
|
13863
|
+
"6": {
|
|
13864
|
+
loc: {
|
|
13865
|
+
start: {
|
|
13866
|
+
line: 58,
|
|
13867
|
+
column: 6
|
|
13868
|
+
},
|
|
13869
|
+
end: {
|
|
13870
|
+
line: 58,
|
|
13871
|
+
column: 49
|
|
13872
|
+
}
|
|
13873
|
+
},
|
|
13874
|
+
type: "if",
|
|
13875
|
+
locations: [{
|
|
13876
|
+
start: {
|
|
13877
|
+
line: 58,
|
|
13878
|
+
column: 6
|
|
13879
|
+
},
|
|
13880
|
+
end: {
|
|
13881
|
+
line: 58,
|
|
13882
|
+
column: 49
|
|
13883
|
+
}
|
|
13884
|
+
}, {
|
|
13885
|
+
start: {
|
|
13886
|
+
line: undefined,
|
|
13887
|
+
column: undefined
|
|
13888
|
+
},
|
|
13889
|
+
end: {
|
|
13890
|
+
line: undefined,
|
|
13891
|
+
column: undefined
|
|
13892
|
+
}
|
|
13893
|
+
}],
|
|
13894
|
+
line: 58
|
|
13895
|
+
}
|
|
13896
|
+
},
|
|
13897
|
+
s: {
|
|
13898
|
+
"0": 0,
|
|
13899
|
+
"1": 0,
|
|
13900
|
+
"2": 0,
|
|
13901
|
+
"3": 0,
|
|
13902
|
+
"4": 0,
|
|
13903
|
+
"5": 0,
|
|
13904
|
+
"6": 0,
|
|
13905
|
+
"7": 0,
|
|
13906
|
+
"8": 0,
|
|
13907
|
+
"9": 0,
|
|
13908
|
+
"10": 0,
|
|
13909
|
+
"11": 0,
|
|
13910
|
+
"12": 0,
|
|
13911
|
+
"13": 0,
|
|
13912
|
+
"14": 0,
|
|
13913
|
+
"15": 0,
|
|
13914
|
+
"16": 0,
|
|
13915
|
+
"17": 0,
|
|
13916
|
+
"18": 0,
|
|
13917
|
+
"19": 0,
|
|
13918
|
+
"20": 0,
|
|
13919
|
+
"21": 0,
|
|
13920
|
+
"22": 0,
|
|
13921
|
+
"23": 0,
|
|
13922
|
+
"24": 0,
|
|
13923
|
+
"25": 0,
|
|
13924
|
+
"26": 0,
|
|
13925
|
+
"27": 0
|
|
13926
|
+
},
|
|
13927
|
+
f: {
|
|
13928
|
+
"0": 0,
|
|
13929
|
+
"1": 0,
|
|
13930
|
+
"2": 0,
|
|
13931
|
+
"3": 0
|
|
13932
|
+
},
|
|
13933
|
+
b: {
|
|
13934
|
+
"0": [0, 0],
|
|
13935
|
+
"1": [0, 0],
|
|
13936
|
+
"2": [0, 0],
|
|
13937
|
+
"3": [0, 0],
|
|
13938
|
+
"4": [0, 0],
|
|
13939
|
+
"5": [0, 0],
|
|
13940
|
+
"6": [0, 0]
|
|
13941
|
+
},
|
|
13942
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
13943
|
+
hash: "9503b0f29b951901a0a8682a0c6a82d056968e43"
|
|
13944
|
+
};
|
|
13945
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
13946
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
13947
|
+
coverage[path] = coverageData;
|
|
13948
|
+
}
|
|
13949
|
+
var actualCoverage = coverage[path];
|
|
13950
|
+
{
|
|
13951
|
+
// @ts-ignore
|
|
13952
|
+
cov_17yhjdv6rr = function () {
|
|
13953
|
+
return actualCoverage;
|
|
13954
|
+
};
|
|
13955
|
+
}
|
|
13956
|
+
return actualCoverage;
|
|
13957
|
+
}
|
|
13958
|
+
cov_17yhjdv6rr();
|
|
13959
|
+
var _ref = (cov_17yhjdv6rr().s[0]++, require("prettier")),
|
|
13960
|
+
resolveConfig = _ref.resolveConfig;
|
|
13961
|
+
var ensureCompactObjects = {
|
|
13962
|
+
meta: {
|
|
13963
|
+
type: "problem",
|
|
13964
|
+
docs: {
|
|
13965
|
+
url: "https://github.com/bigbinary/eslint-plugin-neeto/blob/main/docs/src/rules/ensure-compact-objects.md",
|
|
13966
|
+
description: "Ensures compact objects"
|
|
13967
|
+
},
|
|
13968
|
+
fixable: "whitespace"
|
|
13969
|
+
},
|
|
13970
|
+
create: function create(context) {
|
|
13971
|
+
cov_17yhjdv6rr().f[0]++;
|
|
13972
|
+
cov_17yhjdv6rr().s[1]++;
|
|
13973
|
+
return {
|
|
13974
|
+
ObjectExpression: function ObjectExpression(node) {
|
|
13975
|
+
var _resolveConfig$sync;
|
|
13976
|
+
cov_17yhjdv6rr().f[1]++;
|
|
13977
|
+
cov_17yhjdv6rr().s[2]++;
|
|
13978
|
+
if (isExcludedFile(EXCLUDED_FILES, context.getFilename())) {
|
|
13979
|
+
cov_17yhjdv6rr().b[0][0]++;
|
|
13980
|
+
cov_17yhjdv6rr().s[3]++;
|
|
13981
|
+
return;
|
|
13982
|
+
} else {
|
|
13983
|
+
cov_17yhjdv6rr().b[0][1]++;
|
|
13984
|
+
}
|
|
13985
|
+
cov_17yhjdv6rr().s[4]++;
|
|
13986
|
+
if (!matches(OBJECT_EXPRESSION_PATTERN, node)) {
|
|
13987
|
+
cov_17yhjdv6rr().b[1][0]++;
|
|
13988
|
+
cov_17yhjdv6rr().s[5]++;
|
|
13989
|
+
return;
|
|
13990
|
+
} else {
|
|
13991
|
+
cov_17yhjdv6rr().b[1][1]++;
|
|
13992
|
+
}
|
|
13993
|
+
var sourceCode = (cov_17yhjdv6rr().s[6]++, context.getSourceCode());
|
|
13994
|
+
var hasComments = (cov_17yhjdv6rr().s[7]++, isNotEmpty$1(sourceCode.getCommentsInside(node)));
|
|
13995
|
+
cov_17yhjdv6rr().s[8]++;
|
|
13996
|
+
if (hasComments) {
|
|
13997
|
+
cov_17yhjdv6rr().b[2][0]++;
|
|
13998
|
+
cov_17yhjdv6rr().s[9]++;
|
|
13999
|
+
return;
|
|
14000
|
+
} else {
|
|
14001
|
+
cov_17yhjdv6rr().b[2][1]++;
|
|
14002
|
+
}
|
|
14003
|
+
var openingBraceLine = (cov_17yhjdv6rr().s[10]++, node.loc.start.line);
|
|
14004
|
+
var closingBraceLine = (cov_17yhjdv6rr().s[11]++, node.loc.end.line);
|
|
14005
|
+
cov_17yhjdv6rr().s[12]++;
|
|
14006
|
+
if (openingBraceLine === closingBraceLine) {
|
|
14007
|
+
cov_17yhjdv6rr().b[3][0]++;
|
|
14008
|
+
cov_17yhjdv6rr().s[13]++;
|
|
14009
|
+
return;
|
|
14010
|
+
} else {
|
|
14011
|
+
cov_17yhjdv6rr().b[3][1]++;
|
|
14012
|
+
}
|
|
14013
|
+
var singleLineExpression = (cov_17yhjdv6rr().s[14]++, node.properties.map(function (property) {
|
|
14014
|
+
cov_17yhjdv6rr().f[2]++;
|
|
14015
|
+
cov_17yhjdv6rr().s[15]++;
|
|
14016
|
+
return sourceCode.getText(property);
|
|
14017
|
+
}).join(", "));
|
|
14018
|
+
var _fix = (cov_17yhjdv6rr().s[16]++, "{ ".concat(singleLineExpression, " }"));
|
|
14019
|
+
cov_17yhjdv6rr().s[17]++;
|
|
14020
|
+
if (/\r|\n/.test(_fix)) {
|
|
14021
|
+
cov_17yhjdv6rr().b[4][0]++;
|
|
14022
|
+
cov_17yhjdv6rr().s[18]++;
|
|
14023
|
+
return;
|
|
14024
|
+
} else {
|
|
14025
|
+
cov_17yhjdv6rr().b[4][1]++;
|
|
14026
|
+
}
|
|
14027
|
+
var openingBraceColumn = (cov_17yhjdv6rr().s[19]++, node.loc.start.column);
|
|
14028
|
+
var closingBraceColumn = (cov_17yhjdv6rr().s[20]++, node.loc.end.column);
|
|
14029
|
+
var printWidth = (cov_17yhjdv6rr().s[21]++, (cov_17yhjdv6rr().b[5][0]++, (_resolveConfig$sync = resolveConfig.sync(context.getFilename(), {
|
|
14030
|
+
useCache: true,
|
|
14031
|
+
editorconfig: true
|
|
14032
|
+
})) === null || _resolveConfig$sync === void 0 ? void 0 : _resolveConfig$sync.printWidth) || (cov_17yhjdv6rr().b[5][1]++, 80));
|
|
14033
|
+
var countOfTokensAfterClosingBrace = (cov_17yhjdv6rr().s[22]++, sourceCode.lines[closingBraceLine - 1].slice(closingBraceColumn).length);
|
|
14034
|
+
var resultLength = (cov_17yhjdv6rr().s[23]++, openingBraceColumn + _fix.length + countOfTokensAfterClosingBrace);
|
|
14035
|
+
cov_17yhjdv6rr().s[24]++;
|
|
14036
|
+
if (resultLength > printWidth - 10) {
|
|
14037
|
+
cov_17yhjdv6rr().b[6][0]++;
|
|
14038
|
+
cov_17yhjdv6rr().s[25]++;
|
|
14039
|
+
return;
|
|
14040
|
+
} else {
|
|
14041
|
+
cov_17yhjdv6rr().b[6][1]++;
|
|
14042
|
+
}
|
|
14043
|
+
cov_17yhjdv6rr().s[26]++;
|
|
14044
|
+
context.report({
|
|
14045
|
+
node: node,
|
|
14046
|
+
loc: {
|
|
14047
|
+
start: node.loc.start,
|
|
14048
|
+
end: node.loc.end
|
|
14049
|
+
},
|
|
14050
|
+
message: replaceWith(_fix),
|
|
14051
|
+
fix: function fix(fixer) {
|
|
14052
|
+
cov_17yhjdv6rr().f[3]++;
|
|
14053
|
+
cov_17yhjdv6rr().s[27]++;
|
|
14054
|
+
return fixer.replaceText(node, _fix);
|
|
14055
|
+
}
|
|
14056
|
+
});
|
|
14057
|
+
}
|
|
14058
|
+
};
|
|
14059
|
+
}
|
|
14060
|
+
};
|
|
14061
|
+
|
|
14062
|
+
function cov_1vqs7wr62a() {
|
|
14063
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/constants.js";
|
|
14064
|
+
var hash = "648486849d0dd92af004eedb2b63de242d50aed2";
|
|
14065
|
+
var global = new Function("return this")();
|
|
14066
|
+
var gcv = "__coverage__";
|
|
14067
|
+
var coverageData = {
|
|
14068
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/constants.js",
|
|
14069
|
+
statementMap: {
|
|
14070
|
+
"0": {
|
|
14071
|
+
start: {
|
|
14072
|
+
line: 7,
|
|
14073
|
+
column: 38
|
|
14074
|
+
},
|
|
14075
|
+
end: {
|
|
14076
|
+
line: 12,
|
|
14077
|
+
column: 1
|
|
14078
|
+
}
|
|
14079
|
+
},
|
|
14080
|
+
"1": {
|
|
14081
|
+
start: {
|
|
14082
|
+
line: 14,
|
|
14083
|
+
column: 29
|
|
14084
|
+
},
|
|
14085
|
+
end: {
|
|
14086
|
+
line: 20,
|
|
14087
|
+
column: 1
|
|
14088
|
+
}
|
|
14089
|
+
},
|
|
14090
|
+
"2": {
|
|
14091
|
+
start: {
|
|
14092
|
+
line: 22,
|
|
14093
|
+
column: 30
|
|
14094
|
+
},
|
|
14095
|
+
end: {
|
|
14096
|
+
line: 27,
|
|
14097
|
+
column: 1
|
|
14098
|
+
}
|
|
14099
|
+
},
|
|
14100
|
+
"3": {
|
|
14101
|
+
start: {
|
|
14102
|
+
line: 29,
|
|
14103
|
+
column: 27
|
|
14104
|
+
},
|
|
14105
|
+
end: {
|
|
14106
|
+
line: 35,
|
|
14107
|
+
column: 1
|
|
14108
|
+
}
|
|
14109
|
+
},
|
|
14110
|
+
"4": {
|
|
14111
|
+
start: {
|
|
14112
|
+
line: 37,
|
|
14113
|
+
column: 23
|
|
14114
|
+
},
|
|
14115
|
+
end: {
|
|
14116
|
+
line: 43,
|
|
14117
|
+
column: 1
|
|
14118
|
+
}
|
|
14119
|
+
},
|
|
14120
|
+
"5": {
|
|
14121
|
+
start: {
|
|
14122
|
+
line: 45,
|
|
14123
|
+
column: 32
|
|
14124
|
+
},
|
|
14125
|
+
end: {
|
|
14126
|
+
line: 45,
|
|
14127
|
+
column: 70
|
|
14128
|
+
}
|
|
14129
|
+
},
|
|
14130
|
+
"6": {
|
|
14131
|
+
start: {
|
|
14132
|
+
line: 47,
|
|
14133
|
+
column: 31
|
|
14134
|
+
},
|
|
14135
|
+
end: {
|
|
14136
|
+
line: 63,
|
|
14137
|
+
column: 1
|
|
14138
|
+
}
|
|
14139
|
+
},
|
|
14140
|
+
"7": {
|
|
14141
|
+
start: {
|
|
14142
|
+
line: 65,
|
|
14143
|
+
column: 44
|
|
14144
|
+
},
|
|
14145
|
+
end: {
|
|
14146
|
+
line: 85,
|
|
14147
|
+
column: 1
|
|
14148
|
+
}
|
|
14149
|
+
},
|
|
14150
|
+
"8": {
|
|
14151
|
+
start: {
|
|
14152
|
+
line: 87,
|
|
14153
|
+
column: 36
|
|
14154
|
+
},
|
|
14155
|
+
end: {
|
|
14156
|
+
line: 100,
|
|
14157
|
+
column: 1
|
|
14158
|
+
}
|
|
14159
|
+
},
|
|
14160
|
+
"9": {
|
|
14161
|
+
start: {
|
|
14162
|
+
line: 102,
|
|
14163
|
+
column: 43
|
|
14164
|
+
},
|
|
14165
|
+
end: {
|
|
14166
|
+
line: 114,
|
|
14167
|
+
column: 1
|
|
14168
|
+
}
|
|
14169
|
+
}
|
|
14170
|
+
},
|
|
14171
|
+
fnMap: {},
|
|
14172
|
+
branchMap: {},
|
|
14173
|
+
s: {
|
|
14174
|
+
"0": 0,
|
|
14175
|
+
"1": 0,
|
|
14176
|
+
"2": 0,
|
|
14177
|
+
"3": 0,
|
|
14178
|
+
"4": 0,
|
|
14179
|
+
"5": 0,
|
|
14180
|
+
"6": 0,
|
|
14181
|
+
"7": 0,
|
|
14182
|
+
"8": 0,
|
|
14183
|
+
"9": 0
|
|
14184
|
+
},
|
|
14185
|
+
f: {},
|
|
14186
|
+
b: {},
|
|
14187
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14188
|
+
hash: "648486849d0dd92af004eedb2b63de242d50aed2"
|
|
14189
|
+
};
|
|
14190
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
14191
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
14192
|
+
coverage[path] = coverageData;
|
|
14193
|
+
}
|
|
14194
|
+
var actualCoverage = coverage[path];
|
|
14195
|
+
{
|
|
14196
|
+
// @ts-ignore
|
|
14197
|
+
cov_1vqs7wr62a = function () {
|
|
14198
|
+
return actualCoverage;
|
|
14199
|
+
};
|
|
14200
|
+
}
|
|
14201
|
+
return actualCoverage;
|
|
14202
|
+
}
|
|
14203
|
+
cov_1vqs7wr62a();
|
|
14204
|
+
var NEETOUI_FORMIK_IMPORT_PATTERN = (cov_1vqs7wr62a().s[0]++, {
|
|
14205
|
+
type: TYPES.IMPORT_DECLARATION,
|
|
14206
|
+
source: {
|
|
14207
|
+
value: "neetoui/formik"
|
|
14208
|
+
}
|
|
14209
|
+
});
|
|
14210
|
+
var NEETOUI_FORM_PATTERN = (cov_1vqs7wr62a().s[1]++, {
|
|
14211
|
+
type: TYPES.IMPORT_SPECIFIER,
|
|
14212
|
+
imported: {
|
|
14213
|
+
type: TYPES.IDENTIFIER,
|
|
14214
|
+
name: "Form"
|
|
14215
|
+
}
|
|
14216
|
+
});
|
|
14217
|
+
var FORMIK_IMPORT_PATTERN = (cov_1vqs7wr62a().s[2]++, {
|
|
14218
|
+
type: TYPES.IMPORT_DECLARATION,
|
|
14219
|
+
source: {
|
|
14220
|
+
value: "formik"
|
|
14221
|
+
}
|
|
14222
|
+
});
|
|
14223
|
+
var USE_FORMIK_PATTERN = (cov_1vqs7wr62a().s[3]++, {
|
|
14224
|
+
type: TYPES.IMPORT_SPECIFIER,
|
|
14225
|
+
imported: {
|
|
14226
|
+
type: TYPES.IDENTIFIER,
|
|
14227
|
+
name: "useFormik"
|
|
14228
|
+
}
|
|
14229
|
+
});
|
|
14230
|
+
var FORMIK_PATTERN = (cov_1vqs7wr62a().s[4]++, {
|
|
14231
|
+
type: TYPES.IMPORT_SPECIFIER,
|
|
14232
|
+
imported: {
|
|
14233
|
+
type: TYPES.IDENTIFIER,
|
|
14234
|
+
name: "Formik"
|
|
14235
|
+
}
|
|
14236
|
+
});
|
|
14237
|
+
var VALIDATION_PROPS = (cov_1vqs7wr62a().s[5]++, ["validateOnBlur", "validateOnChange"]);
|
|
14238
|
+
var IMPORT_PATTERNS = (cov_1vqs7wr62a().s[6]++, {
|
|
14239
|
+
// import { Form } from 'neetoui/formik'
|
|
14240
|
+
NEETOUI_FORM: {
|
|
14241
|
+
IMPORT_PATTERN: NEETOUI_FORMIK_IMPORT_PATTERN,
|
|
14242
|
+
VARIABLE_PATTERN: NEETOUI_FORM_PATTERN
|
|
14243
|
+
},
|
|
14244
|
+
// import { useFormik } from 'formik'
|
|
14245
|
+
USE_FORMIK: {
|
|
14246
|
+
IMPORT_PATTERN: FORMIK_IMPORT_PATTERN,
|
|
14247
|
+
VARIABLE_PATTERN: USE_FORMIK_PATTERN
|
|
14248
|
+
},
|
|
14249
|
+
// import { Formik } from 'formik'
|
|
14250
|
+
FORMIK: {
|
|
14251
|
+
IMPORT_PATTERN: FORMIK_IMPORT_PATTERN,
|
|
14252
|
+
VARIABLE_PATTERN: FORMIK_PATTERN
|
|
14253
|
+
}
|
|
14254
|
+
});
|
|
14255
|
+
var NEETOUI_FORMIK_PROPS_PATTERN = (cov_1vqs7wr62a().s[7]++, {
|
|
14256
|
+
type: TYPES.JSX_ATTRIBUTE,
|
|
14257
|
+
name: {
|
|
14258
|
+
type: TYPES.JSX_IDENTIFIER,
|
|
14259
|
+
name: "formikProps"
|
|
14260
|
+
},
|
|
14261
|
+
value: {
|
|
14262
|
+
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
14263
|
+
expression: {
|
|
14264
|
+
type: TYPES.OBJECT_EXPRESSION,
|
|
14265
|
+
properties: existsBy$1({
|
|
14266
|
+
type: TYPES.PROPERTY,
|
|
14267
|
+
key: {
|
|
14268
|
+
type: TYPES.IDENTIFIER,
|
|
14269
|
+
name: ramda.includes(ramda.__, VALIDATION_PROPS)
|
|
14270
|
+
},
|
|
14271
|
+
value: matchesAny([{
|
|
14272
|
+
type: TYPES.IDENTIFIER
|
|
14273
|
+
}, {
|
|
14274
|
+
type: TYPES.LITERAL,
|
|
14275
|
+
raw: isNot$1("true")
|
|
14276
|
+
}])
|
|
14277
|
+
})
|
|
14278
|
+
}
|
|
14279
|
+
}
|
|
14280
|
+
});
|
|
14281
|
+
var FORMIK_PROPS_PATTERN = (cov_1vqs7wr62a().s[8]++, {
|
|
14282
|
+
type: TYPES.JSX_ATTRIBUTE,
|
|
14283
|
+
name: {
|
|
14284
|
+
type: TYPES.JSX_IDENTIFIER,
|
|
14285
|
+
name: ramda.includes(ramda.__, VALIDATION_PROPS)
|
|
14286
|
+
},
|
|
14287
|
+
value: {
|
|
14288
|
+
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
14289
|
+
expression: matchesAny([{
|
|
14290
|
+
type: TYPES.IDENTIFIER
|
|
14291
|
+
}, {
|
|
14292
|
+
type: TYPES.LITERAL,
|
|
14293
|
+
raw: isNot$1("true")
|
|
14294
|
+
}])
|
|
14295
|
+
}
|
|
14296
|
+
});
|
|
14297
|
+
var FORMIK_SPREAD_PROPS_PATTERN = (cov_1vqs7wr62a().s[9]++, {
|
|
14298
|
+
type: TYPES.JSX_SPREAD_ATTRIBUTE,
|
|
14299
|
+
argument: {
|
|
14300
|
+
type: TYPES.OBJECT_EXPRESSION,
|
|
14301
|
+
properties: existsBy$1({
|
|
14302
|
+
type: TYPES.PROPERTY,
|
|
14303
|
+
key: {
|
|
14304
|
+
type: TYPES.IDENTIFIER,
|
|
14305
|
+
name: ramda.includes(ramda.__, VALIDATION_PROPS)
|
|
14306
|
+
}
|
|
14307
|
+
})
|
|
14308
|
+
}
|
|
14309
|
+
});
|
|
14310
|
+
|
|
14311
|
+
function cov_1khijzsm6g() {
|
|
14312
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/utils.js";
|
|
14313
|
+
var hash = "0feb8c205fa931f8c746c8b704b49d0a22add026";
|
|
14314
|
+
var global = new Function("return this")();
|
|
14315
|
+
var gcv = "__coverage__";
|
|
14316
|
+
var coverageData = {
|
|
14317
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/utils.js",
|
|
14318
|
+
statementMap: {
|
|
14319
|
+
"0": {
|
|
14320
|
+
start: {
|
|
14321
|
+
line: 15,
|
|
14322
|
+
column: 36
|
|
14323
|
+
},
|
|
14324
|
+
end: {
|
|
14325
|
+
line: 24,
|
|
14326
|
+
column: 1
|
|
14327
|
+
}
|
|
14328
|
+
},
|
|
14329
|
+
"1": {
|
|
14330
|
+
start: {
|
|
14331
|
+
line: 17,
|
|
14332
|
+
column: 4
|
|
14333
|
+
},
|
|
14334
|
+
end: {
|
|
14335
|
+
line: 17,
|
|
14336
|
+
column: 37
|
|
14337
|
+
}
|
|
14338
|
+
},
|
|
14339
|
+
"2": {
|
|
14340
|
+
start: {
|
|
14341
|
+
line: 19,
|
|
14342
|
+
column: 22
|
|
14343
|
+
},
|
|
14344
|
+
end: {
|
|
14345
|
+
line: 19,
|
|
14346
|
+
column: 53
|
|
14347
|
+
}
|
|
14348
|
+
},
|
|
14349
|
+
"3": {
|
|
14350
|
+
start: {
|
|
14351
|
+
line: 21,
|
|
14352
|
+
column: 2
|
|
14353
|
+
},
|
|
14354
|
+
end: {
|
|
14355
|
+
line: 21,
|
|
14356
|
+
column: 36
|
|
14357
|
+
}
|
|
14358
|
+
},
|
|
14359
|
+
"4": {
|
|
14360
|
+
start: {
|
|
14361
|
+
line: 21,
|
|
14362
|
+
column: 26
|
|
14363
|
+
},
|
|
14364
|
+
end: {
|
|
14365
|
+
line: 21,
|
|
14366
|
+
column: 36
|
|
14367
|
+
}
|
|
14368
|
+
},
|
|
14369
|
+
"5": {
|
|
14370
|
+
start: {
|
|
14371
|
+
line: 23,
|
|
14372
|
+
column: 2
|
|
14373
|
+
},
|
|
14374
|
+
end: {
|
|
14375
|
+
line: 23,
|
|
14376
|
+
column: 77
|
|
14377
|
+
}
|
|
14378
|
+
},
|
|
14379
|
+
"6": {
|
|
14380
|
+
start: {
|
|
14381
|
+
line: 27,
|
|
14382
|
+
column: 39
|
|
14383
|
+
},
|
|
14384
|
+
end: {
|
|
14385
|
+
line: 34,
|
|
14386
|
+
column: 2
|
|
14387
|
+
}
|
|
14388
|
+
},
|
|
14389
|
+
"7": {
|
|
14390
|
+
start: {
|
|
14391
|
+
line: 27,
|
|
14392
|
+
column: 55
|
|
14393
|
+
},
|
|
14394
|
+
end: {
|
|
14395
|
+
line: 34,
|
|
14396
|
+
column: 1
|
|
14397
|
+
}
|
|
14398
|
+
},
|
|
14399
|
+
"8": {
|
|
14400
|
+
start: {
|
|
14401
|
+
line: 37,
|
|
14402
|
+
column: 38
|
|
14403
|
+
},
|
|
14404
|
+
end: {
|
|
14405
|
+
line: 57,
|
|
14406
|
+
column: 2
|
|
14407
|
+
}
|
|
14408
|
+
},
|
|
14409
|
+
"9": {
|
|
14410
|
+
start: {
|
|
14411
|
+
line: 37,
|
|
14412
|
+
column: 53
|
|
14413
|
+
},
|
|
14414
|
+
end: {
|
|
14415
|
+
line: 57,
|
|
14416
|
+
column: 1
|
|
14417
|
+
}
|
|
14418
|
+
},
|
|
14419
|
+
"10": {
|
|
14420
|
+
start: {
|
|
14421
|
+
line: 61,
|
|
14422
|
+
column: 38
|
|
14423
|
+
},
|
|
14424
|
+
end: {
|
|
14425
|
+
line: 70,
|
|
14426
|
+
column: 2
|
|
14427
|
+
}
|
|
14428
|
+
},
|
|
14429
|
+
"11": {
|
|
14430
|
+
start: {
|
|
14431
|
+
line: 61,
|
|
14432
|
+
column: 54
|
|
14433
|
+
},
|
|
14434
|
+
end: {
|
|
14435
|
+
line: 70,
|
|
14436
|
+
column: 1
|
|
14437
|
+
}
|
|
14438
|
+
},
|
|
14439
|
+
"12": {
|
|
14440
|
+
start: {
|
|
14441
|
+
line: 68,
|
|
14442
|
+
column: 4
|
|
14443
|
+
},
|
|
14444
|
+
end: {
|
|
14445
|
+
line: 69,
|
|
14446
|
+
column: 53
|
|
14447
|
+
}
|
|
14448
|
+
}
|
|
14449
|
+
},
|
|
14450
|
+
fnMap: {
|
|
14451
|
+
"0": {
|
|
14452
|
+
name: "(anonymous_0)",
|
|
14453
|
+
decl: {
|
|
14454
|
+
start: {
|
|
14455
|
+
line: 15,
|
|
14456
|
+
column: 36
|
|
14457
|
+
},
|
|
14458
|
+
end: {
|
|
14459
|
+
line: 15,
|
|
14460
|
+
column: 37
|
|
14461
|
+
}
|
|
14462
|
+
},
|
|
14463
|
+
loc: {
|
|
14464
|
+
start: {
|
|
14465
|
+
line: 15,
|
|
14466
|
+
column: 67
|
|
14467
|
+
},
|
|
14468
|
+
end: {
|
|
14469
|
+
line: 24,
|
|
14470
|
+
column: 1
|
|
14471
|
+
}
|
|
14472
|
+
},
|
|
14473
|
+
line: 15
|
|
14474
|
+
},
|
|
14475
|
+
"1": {
|
|
14476
|
+
name: "(anonymous_1)",
|
|
14477
|
+
decl: {
|
|
14478
|
+
start: {
|
|
14479
|
+
line: 27,
|
|
14480
|
+
column: 39
|
|
14481
|
+
},
|
|
14482
|
+
end: {
|
|
14483
|
+
line: 27,
|
|
14484
|
+
column: 40
|
|
14485
|
+
}
|
|
14486
|
+
},
|
|
14487
|
+
loc: {
|
|
14488
|
+
start: {
|
|
14489
|
+
line: 27,
|
|
14490
|
+
column: 55
|
|
14491
|
+
},
|
|
14492
|
+
end: {
|
|
14493
|
+
line: 34,
|
|
14494
|
+
column: 1
|
|
14495
|
+
}
|
|
14496
|
+
},
|
|
14497
|
+
line: 27
|
|
14498
|
+
},
|
|
14499
|
+
"2": {
|
|
14500
|
+
name: "(anonymous_2)",
|
|
14501
|
+
decl: {
|
|
14502
|
+
start: {
|
|
14503
|
+
line: 37,
|
|
14504
|
+
column: 38
|
|
14505
|
+
},
|
|
14506
|
+
end: {
|
|
14507
|
+
line: 37,
|
|
14508
|
+
column: 39
|
|
14509
|
+
}
|
|
14510
|
+
},
|
|
14511
|
+
loc: {
|
|
14512
|
+
start: {
|
|
14513
|
+
line: 37,
|
|
14514
|
+
column: 53
|
|
14515
|
+
},
|
|
14516
|
+
end: {
|
|
14517
|
+
line: 57,
|
|
14518
|
+
column: 1
|
|
14519
|
+
}
|
|
14520
|
+
},
|
|
14521
|
+
line: 37
|
|
14522
|
+
},
|
|
14523
|
+
"3": {
|
|
14524
|
+
name: "(anonymous_3)",
|
|
14525
|
+
decl: {
|
|
14526
|
+
start: {
|
|
14527
|
+
line: 61,
|
|
14528
|
+
column: 38
|
|
14529
|
+
},
|
|
14530
|
+
end: {
|
|
14531
|
+
line: 61,
|
|
14532
|
+
column: 39
|
|
14533
|
+
}
|
|
14534
|
+
},
|
|
14535
|
+
loc: {
|
|
14536
|
+
start: {
|
|
14537
|
+
line: 61,
|
|
14538
|
+
column: 54
|
|
14539
|
+
},
|
|
14540
|
+
end: {
|
|
14541
|
+
line: 70,
|
|
14542
|
+
column: 1
|
|
14543
|
+
}
|
|
14544
|
+
},
|
|
14545
|
+
line: 61
|
|
14546
|
+
},
|
|
14547
|
+
"4": {
|
|
14548
|
+
name: "(anonymous_4)",
|
|
14549
|
+
decl: {
|
|
14550
|
+
start: {
|
|
14551
|
+
line: 67,
|
|
14552
|
+
column: 14
|
|
14553
|
+
},
|
|
14554
|
+
end: {
|
|
14555
|
+
line: 67,
|
|
14556
|
+
column: 15
|
|
14557
|
+
}
|
|
14558
|
+
},
|
|
14559
|
+
loc: {
|
|
14560
|
+
start: {
|
|
14561
|
+
line: 68,
|
|
14562
|
+
column: 4
|
|
14563
|
+
},
|
|
14564
|
+
end: {
|
|
14565
|
+
line: 69,
|
|
14566
|
+
column: 53
|
|
14567
|
+
}
|
|
14568
|
+
},
|
|
14569
|
+
line: 68
|
|
14570
|
+
}
|
|
14571
|
+
},
|
|
14572
|
+
branchMap: {
|
|
14573
|
+
"0": {
|
|
14574
|
+
loc: {
|
|
14575
|
+
start: {
|
|
14576
|
+
line: 21,
|
|
14577
|
+
column: 2
|
|
14578
|
+
},
|
|
14579
|
+
end: {
|
|
14580
|
+
line: 21,
|
|
14581
|
+
column: 36
|
|
14582
|
+
}
|
|
14583
|
+
},
|
|
14584
|
+
type: "if",
|
|
14585
|
+
locations: [{
|
|
14586
|
+
start: {
|
|
14587
|
+
line: 21,
|
|
14588
|
+
column: 2
|
|
14589
|
+
},
|
|
14590
|
+
end: {
|
|
14591
|
+
line: 21,
|
|
14592
|
+
column: 36
|
|
14593
|
+
}
|
|
14594
|
+
}, {
|
|
14595
|
+
start: {
|
|
14596
|
+
line: undefined,
|
|
14597
|
+
column: undefined
|
|
14598
|
+
},
|
|
14599
|
+
end: {
|
|
14600
|
+
line: undefined,
|
|
14601
|
+
column: undefined
|
|
14602
|
+
}
|
|
14603
|
+
}],
|
|
14604
|
+
line: 21
|
|
14605
|
+
},
|
|
14606
|
+
"1": {
|
|
14607
|
+
loc: {
|
|
14608
|
+
start: {
|
|
14609
|
+
line: 23,
|
|
14610
|
+
column: 9
|
|
14611
|
+
},
|
|
14612
|
+
end: {
|
|
14613
|
+
line: 23,
|
|
14614
|
+
column: 76
|
|
14615
|
+
}
|
|
14616
|
+
},
|
|
14617
|
+
type: "binary-expr",
|
|
14618
|
+
locations: [{
|
|
14619
|
+
start: {
|
|
14620
|
+
line: 23,
|
|
14621
|
+
column: 9
|
|
14622
|
+
},
|
|
14623
|
+
end: {
|
|
14624
|
+
line: 23,
|
|
14625
|
+
column: 70
|
|
14626
|
+
}
|
|
14627
|
+
}, {
|
|
14628
|
+
start: {
|
|
14629
|
+
line: 23,
|
|
14630
|
+
column: 74
|
|
14631
|
+
},
|
|
14632
|
+
end: {
|
|
14633
|
+
line: 23,
|
|
14634
|
+
column: 76
|
|
14635
|
+
}
|
|
14636
|
+
}],
|
|
14637
|
+
line: 23
|
|
14638
|
+
},
|
|
14639
|
+
"2": {
|
|
14640
|
+
loc: {
|
|
14641
|
+
start: {
|
|
14642
|
+
line: 68,
|
|
14643
|
+
column: 4
|
|
14644
|
+
},
|
|
14645
|
+
end: {
|
|
14646
|
+
line: 69,
|
|
14647
|
+
column: 53
|
|
14648
|
+
}
|
|
14649
|
+
},
|
|
14650
|
+
type: "binary-expr",
|
|
14651
|
+
locations: [{
|
|
14652
|
+
start: {
|
|
14653
|
+
line: 68,
|
|
14654
|
+
column: 4
|
|
14655
|
+
},
|
|
14656
|
+
end: {
|
|
14657
|
+
line: 68,
|
|
14658
|
+
column: 46
|
|
14659
|
+
}
|
|
14660
|
+
}, {
|
|
14661
|
+
start: {
|
|
14662
|
+
line: 69,
|
|
14663
|
+
column: 4
|
|
14664
|
+
},
|
|
14665
|
+
end: {
|
|
14666
|
+
line: 69,
|
|
14667
|
+
column: 53
|
|
14668
|
+
}
|
|
14669
|
+
}],
|
|
14670
|
+
line: 68
|
|
14671
|
+
}
|
|
14672
|
+
},
|
|
14673
|
+
s: {
|
|
14674
|
+
"0": 0,
|
|
14675
|
+
"1": 0,
|
|
14676
|
+
"2": 0,
|
|
14677
|
+
"3": 0,
|
|
14678
|
+
"4": 0,
|
|
14679
|
+
"5": 0,
|
|
14680
|
+
"6": 0,
|
|
14681
|
+
"7": 0,
|
|
14682
|
+
"8": 0,
|
|
14683
|
+
"9": 0,
|
|
14684
|
+
"10": 0,
|
|
14685
|
+
"11": 0,
|
|
14686
|
+
"12": 0
|
|
14687
|
+
},
|
|
14688
|
+
f: {
|
|
14689
|
+
"0": 0,
|
|
14690
|
+
"1": 0,
|
|
14691
|
+
"2": 0,
|
|
14692
|
+
"3": 0,
|
|
14693
|
+
"4": 0
|
|
14694
|
+
},
|
|
14695
|
+
b: {
|
|
14696
|
+
"0": [0, 0],
|
|
14697
|
+
"1": [0, 0],
|
|
14698
|
+
"2": [0, 0]
|
|
14699
|
+
},
|
|
14700
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14701
|
+
hash: "0feb8c205fa931f8c746c8b704b49d0a22add026"
|
|
14702
|
+
};
|
|
14703
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
14704
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
14705
|
+
coverage[path] = coverageData;
|
|
14706
|
+
}
|
|
14707
|
+
var actualCoverage = coverage[path];
|
|
14708
|
+
{
|
|
14709
|
+
// @ts-ignore
|
|
14710
|
+
cov_1khijzsm6g = function () {
|
|
14711
|
+
return actualCoverage;
|
|
14712
|
+
};
|
|
14713
|
+
}
|
|
14714
|
+
return actualCoverage;
|
|
14715
|
+
}
|
|
14716
|
+
cov_1khijzsm6g();
|
|
14717
|
+
cov_1khijzsm6g().s[0]++;
|
|
14718
|
+
var getLocalNameOfImport = function getLocalNameOfImport(imports, importedVariable) {
|
|
14719
|
+
var _ref2, _findBy, _findBy$local;
|
|
14720
|
+
cov_1khijzsm6g().f[0]++;
|
|
14721
|
+
var _ref = (cov_1khijzsm6g().s[1]++, IMPORT_PATTERNS[importedVariable]),
|
|
14722
|
+
IMPORT_PATTERN = _ref.IMPORT_PATTERN,
|
|
14723
|
+
VARIABLE_PATTERN = _ref.VARIABLE_PATTERN;
|
|
14724
|
+
var valueImport = (cov_1khijzsm6g().s[2]++, findBy$1(IMPORT_PATTERN, imports));
|
|
14725
|
+
cov_1khijzsm6g().s[3]++;
|
|
14726
|
+
if (ramda.isNil(valueImport)) {
|
|
14727
|
+
cov_1khijzsm6g().b[0][0]++;
|
|
14728
|
+
cov_1khijzsm6g().s[4]++;
|
|
14729
|
+
return "";
|
|
14730
|
+
} else {
|
|
14731
|
+
cov_1khijzsm6g().b[0][1]++;
|
|
14732
|
+
}
|
|
14733
|
+
cov_1khijzsm6g().s[5]++;
|
|
14734
|
+
return (_ref2 = (cov_1khijzsm6g().b[1][0]++, (_findBy = findBy$1(VARIABLE_PATTERN, valueImport.specifiers)) === null || _findBy === void 0 ? void 0 : (_findBy$local = _findBy.local) === null || _findBy$local === void 0 ? void 0 : _findBy$local.name)) !== null && _ref2 !== void 0 ? _ref2 : (cov_1khijzsm6g().b[1][1]++, "");
|
|
14735
|
+
};
|
|
14736
|
+
|
|
14737
|
+
// <Form formikProps={{ validateOnChage: variable, validateOnBlur: variable }}
|
|
14738
|
+
cov_1khijzsm6g().s[6]++;
|
|
14739
|
+
var neetouiFormPropsPattern = function neetouiFormPropsPattern(elementName) {
|
|
14740
|
+
cov_1khijzsm6g().f[1]++;
|
|
14741
|
+
cov_1khijzsm6g().s[7]++;
|
|
14742
|
+
return {
|
|
14743
|
+
type: TYPES.JSX_OPENING_ELEMENT,
|
|
14744
|
+
name: {
|
|
14745
|
+
type: TYPES.JSX_IDENTIFIER,
|
|
14746
|
+
name: elementName
|
|
14747
|
+
},
|
|
14748
|
+
attributes: existsBy$1(NEETOUI_FORMIK_PROPS_PATTERN)
|
|
14749
|
+
};
|
|
14750
|
+
};
|
|
14751
|
+
|
|
14752
|
+
// const variable = useFormik({ validateOnChage: variable, validateOnBlur: variable });
|
|
14753
|
+
cov_1khijzsm6g().s[8]++;
|
|
14754
|
+
var formikHookPropsPattern = function formikHookPropsPattern(calleeName) {
|
|
14755
|
+
cov_1khijzsm6g().f[2]++;
|
|
14756
|
+
cov_1khijzsm6g().s[9]++;
|
|
14757
|
+
return {
|
|
14758
|
+
type: TYPES.VARIABLE_DECLARATOR,
|
|
14759
|
+
init: {
|
|
14760
|
+
type: TYPES.CALL_EXPRESSION,
|
|
14761
|
+
callee: {
|
|
14762
|
+
type: TYPES.IDENTIFIER,
|
|
14763
|
+
name: calleeName
|
|
14764
|
+
},
|
|
14765
|
+
arguments: existsBy$1({
|
|
14766
|
+
type: TYPES.OBJECT_EXPRESSION,
|
|
14767
|
+
properties: existsBy$1({
|
|
14768
|
+
type: TYPES.PROPERTY,
|
|
14769
|
+
key: {
|
|
14770
|
+
type: TYPES.IDENTIFIER,
|
|
14771
|
+
name: ramda.includes(ramda.__, VALIDATION_PROPS)
|
|
14772
|
+
},
|
|
14773
|
+
value: matchesAny([{
|
|
14774
|
+
type: TYPES.IDENTIFIER
|
|
14775
|
+
}, {
|
|
14776
|
+
type: TYPES.LITERAL,
|
|
14777
|
+
raw: isNot$1("true")
|
|
14778
|
+
}])
|
|
14779
|
+
})
|
|
14780
|
+
})
|
|
14781
|
+
}
|
|
14782
|
+
};
|
|
14783
|
+
};
|
|
14784
|
+
|
|
14785
|
+
// <Formik validateOnBlur={variable} validateOnChange={variable} />
|
|
14786
|
+
// <Formik {...{ validateOnBlur, validateOnChange }}
|
|
14787
|
+
cov_1khijzsm6g().s[10]++;
|
|
14788
|
+
var formikComponentPattern = function formikComponentPattern(elementName) {
|
|
14789
|
+
cov_1khijzsm6g().f[3]++;
|
|
14790
|
+
cov_1khijzsm6g().s[11]++;
|
|
14791
|
+
return {
|
|
14792
|
+
type: TYPES.JSX_OPENING_ELEMENT,
|
|
14793
|
+
name: {
|
|
14794
|
+
type: TYPES.JSX_IDENTIFIER,
|
|
14795
|
+
name: elementName
|
|
14796
|
+
},
|
|
14797
|
+
attributes: function attributes(_attributes) {
|
|
14798
|
+
cov_1khijzsm6g().f[4]++;
|
|
14799
|
+
cov_1khijzsm6g().s[12]++;
|
|
14800
|
+
return (cov_1khijzsm6g().b[2][0]++, existsBy$1(FORMIK_PROPS_PATTERN, _attributes)) || (cov_1khijzsm6g().b[2][1]++, existsBy$1(FORMIK_SPREAD_PROPS_PATTERN, _attributes));
|
|
14801
|
+
}
|
|
14802
|
+
};
|
|
14803
|
+
};
|
|
14804
|
+
|
|
14805
|
+
function cov_20e90f21g7() {
|
|
14806
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/index.js";
|
|
14807
|
+
var hash = "9f909be5a9ccc116d2a02c37052db5bd01b56f0b";
|
|
14808
|
+
var global = new Function("return this")();
|
|
14809
|
+
var gcv = "__coverage__";
|
|
14810
|
+
var coverageData = {
|
|
14811
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/ensure-formik-eager-validation/index.js",
|
|
14812
|
+
statementMap: {
|
|
14813
|
+
"0": {
|
|
14814
|
+
start: {
|
|
14815
|
+
line: 22,
|
|
14816
|
+
column: 23
|
|
14817
|
+
},
|
|
14818
|
+
end: {
|
|
14819
|
+
line: 22,
|
|
14820
|
+
column: 65
|
|
14821
|
+
}
|
|
14822
|
+
},
|
|
14823
|
+
"1": {
|
|
14824
|
+
start: {
|
|
14825
|
+
line: 23,
|
|
14826
|
+
column: 28
|
|
14827
|
+
},
|
|
14828
|
+
end: {
|
|
14829
|
+
line: 23,
|
|
14830
|
+
column: 76
|
|
14831
|
+
}
|
|
14832
|
+
},
|
|
14833
|
+
"2": {
|
|
14834
|
+
start: {
|
|
14835
|
+
line: 24,
|
|
14836
|
+
column: 23
|
|
14837
|
+
},
|
|
14838
|
+
end: {
|
|
14839
|
+
line: 24,
|
|
14840
|
+
column: 65
|
|
14841
|
+
}
|
|
14842
|
+
},
|
|
14843
|
+
"3": {
|
|
14844
|
+
start: {
|
|
14845
|
+
line: 25,
|
|
14846
|
+
column: 26
|
|
14847
|
+
},
|
|
14848
|
+
end: {
|
|
14849
|
+
line: 25,
|
|
14850
|
+
column: 72
|
|
14851
|
+
}
|
|
14852
|
+
},
|
|
14853
|
+
"4": {
|
|
14854
|
+
start: {
|
|
14855
|
+
line: 27,
|
|
14856
|
+
column: 4
|
|
14857
|
+
},
|
|
14858
|
+
end: {
|
|
14859
|
+
line: 52,
|
|
14860
|
+
column: 6
|
|
14861
|
+
}
|
|
14862
|
+
},
|
|
14863
|
+
"5": {
|
|
14864
|
+
start: {
|
|
14865
|
+
line: 29,
|
|
14866
|
+
column: 8
|
|
14867
|
+
},
|
|
14868
|
+
end: {
|
|
14869
|
+
line: 29,
|
|
14870
|
+
column: 52
|
|
14871
|
+
}
|
|
14872
|
+
},
|
|
14873
|
+
"6": {
|
|
13473
14874
|
start: {
|
|
13474
|
-
line:
|
|
13475
|
-
column:
|
|
14875
|
+
line: 29,
|
|
14876
|
+
column: 45
|
|
13476
14877
|
},
|
|
13477
14878
|
end: {
|
|
13478
|
-
line:
|
|
14879
|
+
line: 29,
|
|
13479
14880
|
column: 52
|
|
13480
14881
|
}
|
|
13481
14882
|
},
|
|
13482
|
-
"
|
|
14883
|
+
"7": {
|
|
13483
14884
|
start: {
|
|
13484
|
-
line:
|
|
14885
|
+
line: 31,
|
|
13485
14886
|
column: 8
|
|
13486
14887
|
},
|
|
13487
14888
|
end: {
|
|
13488
|
-
line:
|
|
13489
|
-
column:
|
|
14889
|
+
line: 39,
|
|
14890
|
+
column: 9
|
|
13490
14891
|
}
|
|
13491
14892
|
},
|
|
13492
|
-
"
|
|
14893
|
+
"8": {
|
|
13493
14894
|
start: {
|
|
13494
|
-
line:
|
|
13495
|
-
column:
|
|
14895
|
+
line: 35,
|
|
14896
|
+
column: 10
|
|
13496
14897
|
},
|
|
13497
14898
|
end: {
|
|
13498
|
-
line:
|
|
13499
|
-
column:
|
|
14899
|
+
line: 38,
|
|
14900
|
+
column: 13
|
|
13500
14901
|
}
|
|
13501
14902
|
},
|
|
13502
|
-
"
|
|
14903
|
+
"9": {
|
|
13503
14904
|
start: {
|
|
13504
|
-
line:
|
|
14905
|
+
line: 43,
|
|
13505
14906
|
column: 8
|
|
13506
14907
|
},
|
|
13507
14908
|
end: {
|
|
13508
|
-
line:
|
|
13509
|
-
column:
|
|
14909
|
+
line: 43,
|
|
14910
|
+
column: 35
|
|
13510
14911
|
}
|
|
13511
14912
|
},
|
|
13512
|
-
"
|
|
14913
|
+
"10": {
|
|
13513
14914
|
start: {
|
|
13514
|
-
line:
|
|
13515
|
-
column:
|
|
14915
|
+
line: 43,
|
|
14916
|
+
column: 28
|
|
13516
14917
|
},
|
|
13517
14918
|
end: {
|
|
13518
|
-
line:
|
|
13519
|
-
column:
|
|
14919
|
+
line: 43,
|
|
14920
|
+
column: 35
|
|
13520
14921
|
}
|
|
13521
14922
|
},
|
|
13522
|
-
"
|
|
14923
|
+
"11": {
|
|
13523
14924
|
start: {
|
|
13524
|
-
line:
|
|
13525
|
-
column:
|
|
14925
|
+
line: 45,
|
|
14926
|
+
column: 8
|
|
13526
14927
|
},
|
|
13527
14928
|
end: {
|
|
13528
|
-
line:
|
|
13529
|
-
column:
|
|
14929
|
+
line: 45,
|
|
14930
|
+
column: 74
|
|
13530
14931
|
}
|
|
13531
14932
|
},
|
|
13532
|
-
"
|
|
14933
|
+
"12": {
|
|
13533
14934
|
start: {
|
|
13534
|
-
line:
|
|
13535
|
-
column:
|
|
14935
|
+
line: 45,
|
|
14936
|
+
column: 67
|
|
13536
14937
|
},
|
|
13537
14938
|
end: {
|
|
13538
|
-
line:
|
|
13539
|
-
column:
|
|
14939
|
+
line: 45,
|
|
14940
|
+
column: 74
|
|
13540
14941
|
}
|
|
13541
14942
|
},
|
|
13542
|
-
"
|
|
14943
|
+
"13": {
|
|
13543
14944
|
start: {
|
|
13544
|
-
line:
|
|
13545
|
-
column:
|
|
14945
|
+
line: 47,
|
|
14946
|
+
column: 8
|
|
13546
14947
|
},
|
|
13547
14948
|
end: {
|
|
13548
|
-
line:
|
|
13549
|
-
column:
|
|
14949
|
+
line: 50,
|
|
14950
|
+
column: 11
|
|
13550
14951
|
}
|
|
13551
14952
|
}
|
|
13552
14953
|
},
|
|
@@ -13555,120 +14956,96 @@
|
|
|
13555
14956
|
name: "(anonymous_0)",
|
|
13556
14957
|
decl: {
|
|
13557
14958
|
start: {
|
|
13558
|
-
line:
|
|
14959
|
+
line: 21,
|
|
13559
14960
|
column: 10
|
|
13560
14961
|
},
|
|
13561
14962
|
end: {
|
|
13562
|
-
line:
|
|
14963
|
+
line: 21,
|
|
13563
14964
|
column: 11
|
|
13564
14965
|
}
|
|
13565
14966
|
},
|
|
13566
14967
|
loc: {
|
|
13567
14968
|
start: {
|
|
13568
|
-
line:
|
|
13569
|
-
column:
|
|
14969
|
+
line: 21,
|
|
14970
|
+
column: 21
|
|
13570
14971
|
},
|
|
13571
14972
|
end: {
|
|
13572
|
-
line:
|
|
14973
|
+
line: 53,
|
|
13573
14974
|
column: 3
|
|
13574
14975
|
}
|
|
13575
14976
|
},
|
|
13576
|
-
line:
|
|
14977
|
+
line: 21
|
|
13577
14978
|
},
|
|
13578
14979
|
"1": {
|
|
13579
14980
|
name: "(anonymous_1)",
|
|
13580
14981
|
decl: {
|
|
13581
14982
|
start: {
|
|
13582
|
-
line:
|
|
13583
|
-
column:
|
|
14983
|
+
line: 28,
|
|
14984
|
+
column: 6
|
|
13584
14985
|
},
|
|
13585
14986
|
end: {
|
|
13586
|
-
line:
|
|
13587
|
-
column:
|
|
14987
|
+
line: 28,
|
|
14988
|
+
column: 7
|
|
13588
14989
|
}
|
|
13589
14990
|
},
|
|
13590
14991
|
loc: {
|
|
13591
14992
|
start: {
|
|
13592
|
-
line:
|
|
13593
|
-
column:
|
|
14993
|
+
line: 28,
|
|
14994
|
+
column: 30
|
|
13594
14995
|
},
|
|
13595
14996
|
end: {
|
|
13596
|
-
line:
|
|
13597
|
-
column:
|
|
14997
|
+
line: 40,
|
|
14998
|
+
column: 7
|
|
13598
14999
|
}
|
|
13599
15000
|
},
|
|
13600
|
-
line:
|
|
15001
|
+
line: 28
|
|
13601
15002
|
},
|
|
13602
15003
|
"2": {
|
|
13603
15004
|
name: "(anonymous_2)",
|
|
13604
15005
|
decl: {
|
|
13605
15006
|
start: {
|
|
13606
|
-
line:
|
|
13607
|
-
column:
|
|
13608
|
-
},
|
|
13609
|
-
end: {
|
|
13610
|
-
line: 36,
|
|
13611
|
-
column: 14
|
|
13612
|
-
}
|
|
13613
|
-
},
|
|
13614
|
-
loc: {
|
|
13615
|
-
start: {
|
|
13616
|
-
line: 36,
|
|
13617
|
-
column: 25
|
|
13618
|
-
},
|
|
13619
|
-
end: {
|
|
13620
|
-
line: 36,
|
|
13621
|
-
column: 53
|
|
13622
|
-
}
|
|
13623
|
-
},
|
|
13624
|
-
line: 36
|
|
13625
|
-
},
|
|
13626
|
-
"3": {
|
|
13627
|
-
name: "(anonymous_3)",
|
|
13628
|
-
decl: {
|
|
13629
|
-
start: {
|
|
13630
|
-
line: 64,
|
|
13631
|
-
column: 13
|
|
15007
|
+
line: 42,
|
|
15008
|
+
column: 6
|
|
13632
15009
|
},
|
|
13633
15010
|
end: {
|
|
13634
|
-
line:
|
|
13635
|
-
column:
|
|
15011
|
+
line: 42,
|
|
15012
|
+
column: 7
|
|
13636
15013
|
}
|
|
13637
15014
|
},
|
|
13638
15015
|
loc: {
|
|
13639
15016
|
start: {
|
|
13640
|
-
line:
|
|
13641
|
-
column:
|
|
15017
|
+
line: 42,
|
|
15018
|
+
column: 31
|
|
13642
15019
|
},
|
|
13643
15020
|
end: {
|
|
13644
|
-
line:
|
|
13645
|
-
column:
|
|
15021
|
+
line: 51,
|
|
15022
|
+
column: 7
|
|
13646
15023
|
}
|
|
13647
15024
|
},
|
|
13648
|
-
line:
|
|
15025
|
+
line: 42
|
|
13649
15026
|
}
|
|
13650
15027
|
},
|
|
13651
15028
|
branchMap: {
|
|
13652
15029
|
"0": {
|
|
13653
15030
|
loc: {
|
|
13654
15031
|
start: {
|
|
13655
|
-
line:
|
|
13656
|
-
column:
|
|
15032
|
+
line: 29,
|
|
15033
|
+
column: 8
|
|
13657
15034
|
},
|
|
13658
15035
|
end: {
|
|
13659
|
-
line:
|
|
13660
|
-
column:
|
|
15036
|
+
line: 29,
|
|
15037
|
+
column: 52
|
|
13661
15038
|
}
|
|
13662
15039
|
},
|
|
13663
15040
|
type: "if",
|
|
13664
15041
|
locations: [{
|
|
13665
15042
|
start: {
|
|
13666
|
-
line:
|
|
13667
|
-
column:
|
|
15043
|
+
line: 29,
|
|
15044
|
+
column: 8
|
|
13668
15045
|
},
|
|
13669
15046
|
end: {
|
|
13670
|
-
line:
|
|
13671
|
-
column:
|
|
15047
|
+
line: 29,
|
|
15048
|
+
column: 52
|
|
13672
15049
|
}
|
|
13673
15050
|
}, {
|
|
13674
15051
|
start: {
|
|
@@ -13680,61 +15057,61 @@
|
|
|
13680
15057
|
column: undefined
|
|
13681
15058
|
}
|
|
13682
15059
|
}],
|
|
13683
|
-
line:
|
|
15060
|
+
line: 29
|
|
13684
15061
|
},
|
|
13685
15062
|
"1": {
|
|
13686
15063
|
loc: {
|
|
13687
15064
|
start: {
|
|
13688
|
-
line:
|
|
13689
|
-
column:
|
|
15065
|
+
line: 29,
|
|
15066
|
+
column: 12
|
|
13690
15067
|
},
|
|
13691
15068
|
end: {
|
|
13692
|
-
line:
|
|
13693
|
-
column:
|
|
15069
|
+
line: 29,
|
|
15070
|
+
column: 43
|
|
13694
15071
|
}
|
|
13695
15072
|
},
|
|
13696
|
-
type: "
|
|
15073
|
+
type: "binary-expr",
|
|
13697
15074
|
locations: [{
|
|
13698
15075
|
start: {
|
|
13699
|
-
line:
|
|
13700
|
-
column:
|
|
15076
|
+
line: 29,
|
|
15077
|
+
column: 12
|
|
13701
15078
|
},
|
|
13702
15079
|
end: {
|
|
13703
|
-
line:
|
|
13704
|
-
column:
|
|
15080
|
+
line: 29,
|
|
15081
|
+
column: 28
|
|
13705
15082
|
}
|
|
13706
15083
|
}, {
|
|
13707
15084
|
start: {
|
|
13708
|
-
line:
|
|
13709
|
-
column:
|
|
15085
|
+
line: 29,
|
|
15086
|
+
column: 32
|
|
13710
15087
|
},
|
|
13711
15088
|
end: {
|
|
13712
|
-
line:
|
|
13713
|
-
column:
|
|
15089
|
+
line: 29,
|
|
15090
|
+
column: 43
|
|
13714
15091
|
}
|
|
13715
15092
|
}],
|
|
13716
|
-
line:
|
|
15093
|
+
line: 29
|
|
13717
15094
|
},
|
|
13718
15095
|
"2": {
|
|
13719
15096
|
loc: {
|
|
13720
15097
|
start: {
|
|
13721
|
-
line:
|
|
13722
|
-
column:
|
|
15098
|
+
line: 31,
|
|
15099
|
+
column: 8
|
|
13723
15100
|
},
|
|
13724
15101
|
end: {
|
|
13725
|
-
line:
|
|
13726
|
-
column:
|
|
15102
|
+
line: 39,
|
|
15103
|
+
column: 9
|
|
13727
15104
|
}
|
|
13728
15105
|
},
|
|
13729
15106
|
type: "if",
|
|
13730
15107
|
locations: [{
|
|
13731
15108
|
start: {
|
|
13732
|
-
line:
|
|
13733
|
-
column:
|
|
15109
|
+
line: 31,
|
|
15110
|
+
column: 8
|
|
13734
15111
|
},
|
|
13735
15112
|
end: {
|
|
13736
|
-
line:
|
|
13737
|
-
column:
|
|
15113
|
+
line: 39,
|
|
15114
|
+
column: 9
|
|
13738
15115
|
}
|
|
13739
15116
|
}, {
|
|
13740
15117
|
start: {
|
|
@@ -13746,61 +15123,61 @@
|
|
|
13746
15123
|
column: undefined
|
|
13747
15124
|
}
|
|
13748
15125
|
}],
|
|
13749
|
-
line:
|
|
15126
|
+
line: 31
|
|
13750
15127
|
},
|
|
13751
15128
|
"3": {
|
|
13752
15129
|
loc: {
|
|
13753
15130
|
start: {
|
|
13754
|
-
line:
|
|
13755
|
-
column:
|
|
15131
|
+
line: 32,
|
|
15132
|
+
column: 10
|
|
13756
15133
|
},
|
|
13757
15134
|
end: {
|
|
13758
15135
|
line: 33,
|
|
13759
|
-
column:
|
|
15136
|
+
column: 59
|
|
13760
15137
|
}
|
|
13761
15138
|
},
|
|
13762
|
-
type: "
|
|
15139
|
+
type: "binary-expr",
|
|
13763
15140
|
locations: [{
|
|
13764
15141
|
start: {
|
|
13765
|
-
line:
|
|
13766
|
-
column:
|
|
15142
|
+
line: 32,
|
|
15143
|
+
column: 10
|
|
13767
15144
|
},
|
|
13768
15145
|
end: {
|
|
13769
|
-
line:
|
|
13770
|
-
column:
|
|
15146
|
+
line: 32,
|
|
15147
|
+
column: 65
|
|
13771
15148
|
}
|
|
13772
15149
|
}, {
|
|
13773
15150
|
start: {
|
|
13774
|
-
line:
|
|
13775
|
-
column:
|
|
15151
|
+
line: 33,
|
|
15152
|
+
column: 10
|
|
13776
15153
|
},
|
|
13777
15154
|
end: {
|
|
13778
|
-
line:
|
|
13779
|
-
column:
|
|
15155
|
+
line: 33,
|
|
15156
|
+
column: 59
|
|
13780
15157
|
}
|
|
13781
15158
|
}],
|
|
13782
|
-
line:
|
|
15159
|
+
line: 32
|
|
13783
15160
|
},
|
|
13784
15161
|
"4": {
|
|
13785
15162
|
loc: {
|
|
13786
15163
|
start: {
|
|
13787
|
-
line:
|
|
13788
|
-
column:
|
|
15164
|
+
line: 43,
|
|
15165
|
+
column: 8
|
|
13789
15166
|
},
|
|
13790
15167
|
end: {
|
|
13791
|
-
line:
|
|
13792
|
-
column:
|
|
15168
|
+
line: 43,
|
|
15169
|
+
column: 35
|
|
13793
15170
|
}
|
|
13794
15171
|
},
|
|
13795
15172
|
type: "if",
|
|
13796
15173
|
locations: [{
|
|
13797
15174
|
start: {
|
|
13798
|
-
line:
|
|
13799
|
-
column:
|
|
15175
|
+
line: 43,
|
|
15176
|
+
column: 8
|
|
13800
15177
|
},
|
|
13801
15178
|
end: {
|
|
13802
|
-
line:
|
|
13803
|
-
column:
|
|
15179
|
+
line: 43,
|
|
15180
|
+
column: 35
|
|
13804
15181
|
}
|
|
13805
15182
|
}, {
|
|
13806
15183
|
start: {
|
|
@@ -13812,61 +15189,28 @@
|
|
|
13812
15189
|
column: undefined
|
|
13813
15190
|
}
|
|
13814
15191
|
}],
|
|
13815
|
-
line:
|
|
15192
|
+
line: 43
|
|
13816
15193
|
},
|
|
13817
15194
|
"5": {
|
|
13818
15195
|
loc: {
|
|
13819
15196
|
start: {
|
|
13820
|
-
line:
|
|
13821
|
-
column: 8
|
|
13822
|
-
},
|
|
13823
|
-
end: {
|
|
13824
|
-
line: 50,
|
|
13825
|
-
column: 28
|
|
13826
|
-
}
|
|
13827
|
-
},
|
|
13828
|
-
type: "binary-expr",
|
|
13829
|
-
locations: [{
|
|
13830
|
-
start: {
|
|
13831
|
-
line: 47,
|
|
15197
|
+
line: 45,
|
|
13832
15198
|
column: 8
|
|
13833
15199
|
},
|
|
13834
15200
|
end: {
|
|
13835
|
-
line:
|
|
13836
|
-
column:
|
|
13837
|
-
}
|
|
13838
|
-
}, {
|
|
13839
|
-
start: {
|
|
13840
|
-
line: 50,
|
|
13841
|
-
column: 26
|
|
13842
|
-
},
|
|
13843
|
-
end: {
|
|
13844
|
-
line: 50,
|
|
13845
|
-
column: 28
|
|
13846
|
-
}
|
|
13847
|
-
}],
|
|
13848
|
-
line: 47
|
|
13849
|
-
},
|
|
13850
|
-
"6": {
|
|
13851
|
-
loc: {
|
|
13852
|
-
start: {
|
|
13853
|
-
line: 58,
|
|
13854
|
-
column: 6
|
|
13855
|
-
},
|
|
13856
|
-
end: {
|
|
13857
|
-
line: 58,
|
|
13858
|
-
column: 49
|
|
15201
|
+
line: 45,
|
|
15202
|
+
column: 74
|
|
13859
15203
|
}
|
|
13860
15204
|
},
|
|
13861
15205
|
type: "if",
|
|
13862
15206
|
locations: [{
|
|
13863
15207
|
start: {
|
|
13864
|
-
line:
|
|
13865
|
-
column:
|
|
15208
|
+
line: 45,
|
|
15209
|
+
column: 8
|
|
13866
15210
|
},
|
|
13867
15211
|
end: {
|
|
13868
|
-
line:
|
|
13869
|
-
column:
|
|
15212
|
+
line: 45,
|
|
15213
|
+
column: 74
|
|
13870
15214
|
}
|
|
13871
15215
|
}, {
|
|
13872
15216
|
start: {
|
|
@@ -13878,7 +15222,7 @@
|
|
|
13878
15222
|
column: undefined
|
|
13879
15223
|
}
|
|
13880
15224
|
}],
|
|
13881
|
-
line:
|
|
15225
|
+
line: 45
|
|
13882
15226
|
}
|
|
13883
15227
|
},
|
|
13884
15228
|
s: {
|
|
@@ -13895,27 +15239,12 @@
|
|
|
13895
15239
|
"10": 0,
|
|
13896
15240
|
"11": 0,
|
|
13897
15241
|
"12": 0,
|
|
13898
|
-
"13": 0
|
|
13899
|
-
"14": 0,
|
|
13900
|
-
"15": 0,
|
|
13901
|
-
"16": 0,
|
|
13902
|
-
"17": 0,
|
|
13903
|
-
"18": 0,
|
|
13904
|
-
"19": 0,
|
|
13905
|
-
"20": 0,
|
|
13906
|
-
"21": 0,
|
|
13907
|
-
"22": 0,
|
|
13908
|
-
"23": 0,
|
|
13909
|
-
"24": 0,
|
|
13910
|
-
"25": 0,
|
|
13911
|
-
"26": 0,
|
|
13912
|
-
"27": 0
|
|
15242
|
+
"13": 0
|
|
13913
15243
|
},
|
|
13914
15244
|
f: {
|
|
13915
15245
|
"0": 0,
|
|
13916
15246
|
"1": 0,
|
|
13917
|
-
"2": 0
|
|
13918
|
-
"3": 0
|
|
15247
|
+
"2": 0
|
|
13919
15248
|
},
|
|
13920
15249
|
b: {
|
|
13921
15250
|
"0": [0, 0],
|
|
@@ -13923,11 +15252,10 @@
|
|
|
13923
15252
|
"2": [0, 0],
|
|
13924
15253
|
"3": [0, 0],
|
|
13925
15254
|
"4": [0, 0],
|
|
13926
|
-
"5": [0, 0]
|
|
13927
|
-
"6": [0, 0]
|
|
15255
|
+
"5": [0, 0]
|
|
13928
15256
|
},
|
|
13929
15257
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
13930
|
-
hash: "
|
|
15258
|
+
hash: "9f909be5a9ccc116d2a02c37052db5bd01b56f0b"
|
|
13931
15259
|
};
|
|
13932
15260
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
13933
15261
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -13936,110 +15264,73 @@
|
|
|
13936
15264
|
var actualCoverage = coverage[path];
|
|
13937
15265
|
{
|
|
13938
15266
|
// @ts-ignore
|
|
13939
|
-
|
|
15267
|
+
cov_20e90f21g7 = function () {
|
|
13940
15268
|
return actualCoverage;
|
|
13941
15269
|
};
|
|
13942
15270
|
}
|
|
13943
15271
|
return actualCoverage;
|
|
13944
15272
|
}
|
|
13945
|
-
|
|
13946
|
-
var
|
|
13947
|
-
resolveConfig = _ref.resolveConfig;
|
|
13948
|
-
var ensureCompactObjects = {
|
|
15273
|
+
cov_20e90f21g7();
|
|
15274
|
+
var ensureFormikEagerValidation = {
|
|
13949
15275
|
meta: {
|
|
13950
|
-
type: "
|
|
15276
|
+
type: "error",
|
|
13951
15277
|
docs: {
|
|
13952
|
-
url: "https://github.com/bigbinary/eslint-plugin-neeto/blob/main/docs/src/rules/ensure-
|
|
13953
|
-
description: "
|
|
13954
|
-
}
|
|
13955
|
-
fixable: "whitespace"
|
|
15278
|
+
url: "https://github.com/bigbinary/eslint-plugin-neeto/blob/main/docs/src/rules/ensure-formik-eager-validation.md",
|
|
15279
|
+
description: "Enforces eager validation in formik forms"
|
|
15280
|
+
}
|
|
13956
15281
|
},
|
|
13957
15282
|
create: function create(context) {
|
|
13958
|
-
|
|
13959
|
-
|
|
15283
|
+
cov_20e90f21g7().f[0]++;
|
|
15284
|
+
var allImports = (cov_20e90f21g7().s[0]++, getAllImports(context.getSourceCode().ast));
|
|
15285
|
+
var neetouiFormName = (cov_20e90f21g7().s[1]++, getLocalNameOfImport(allImports, "NEETOUI_FORM"));
|
|
15286
|
+
var formikName = (cov_20e90f21g7().s[2]++, getLocalNameOfImport(allImports, "FORMIK"));
|
|
15287
|
+
var useFormikName = (cov_20e90f21g7().s[3]++, getLocalNameOfImport(allImports, "USE_FORMIK"));
|
|
15288
|
+
cov_20e90f21g7().s[4]++;
|
|
13960
15289
|
return {
|
|
13961
|
-
|
|
13962
|
-
|
|
13963
|
-
|
|
13964
|
-
|
|
13965
|
-
|
|
13966
|
-
|
|
13967
|
-
cov_17yhjdv6rr().s[3]++;
|
|
13968
|
-
return;
|
|
13969
|
-
} else {
|
|
13970
|
-
cov_17yhjdv6rr().b[0][1]++;
|
|
13971
|
-
}
|
|
13972
|
-
cov_17yhjdv6rr().s[4]++;
|
|
13973
|
-
if (!matches(OBJECT_EXPRESSION_PATTERN, node)) {
|
|
13974
|
-
cov_17yhjdv6rr().b[1][0]++;
|
|
13975
|
-
cov_17yhjdv6rr().s[5]++;
|
|
13976
|
-
return;
|
|
13977
|
-
} else {
|
|
13978
|
-
cov_17yhjdv6rr().b[1][1]++;
|
|
13979
|
-
}
|
|
13980
|
-
var sourceCode = (cov_17yhjdv6rr().s[6]++, context.getSourceCode());
|
|
13981
|
-
var hasComments = (cov_17yhjdv6rr().s[7]++, isNotEmpty$1(sourceCode.getCommentsInside(node)));
|
|
13982
|
-
cov_17yhjdv6rr().s[8]++;
|
|
13983
|
-
if (hasComments) {
|
|
13984
|
-
cov_17yhjdv6rr().b[2][0]++;
|
|
13985
|
-
cov_17yhjdv6rr().s[9]++;
|
|
15290
|
+
JSXOpeningElement: function JSXOpeningElement(node) {
|
|
15291
|
+
cov_20e90f21g7().f[1]++;
|
|
15292
|
+
cov_20e90f21g7().s[5]++;
|
|
15293
|
+
if ((cov_20e90f21g7().b[1][0]++, !neetouiFormName) && (cov_20e90f21g7().b[1][1]++, !formikName)) {
|
|
15294
|
+
cov_20e90f21g7().b[0][0]++;
|
|
15295
|
+
cov_20e90f21g7().s[6]++;
|
|
13986
15296
|
return;
|
|
13987
15297
|
} else {
|
|
13988
|
-
|
|
15298
|
+
cov_20e90f21g7().b[0][1]++;
|
|
13989
15299
|
}
|
|
13990
|
-
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
|
|
15300
|
+
cov_20e90f21g7().s[7]++;
|
|
15301
|
+
if ((cov_20e90f21g7().b[3][0]++, matches(neetouiFormPropsPattern(neetouiFormName), node)) || (cov_20e90f21g7().b[3][1]++, matches(formikComponentPattern(formikName), node))) {
|
|
15302
|
+
cov_20e90f21g7().b[2][0]++;
|
|
15303
|
+
cov_20e90f21g7().s[8]++;
|
|
15304
|
+
context.report({
|
|
15305
|
+
node: node,
|
|
15306
|
+
message: PREFER_EAGER_VALIDATION_MESSAGE
|
|
15307
|
+
});
|
|
13997
15308
|
} else {
|
|
13998
|
-
|
|
15309
|
+
cov_20e90f21g7().b[2][1]++;
|
|
13999
15310
|
}
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
if (/\r|\n/.test(_fix)) {
|
|
14008
|
-
cov_17yhjdv6rr().b[4][0]++;
|
|
14009
|
-
cov_17yhjdv6rr().s[18]++;
|
|
15311
|
+
},
|
|
15312
|
+
VariableDeclarator: function VariableDeclarator(node) {
|
|
15313
|
+
cov_20e90f21g7().f[2]++;
|
|
15314
|
+
cov_20e90f21g7().s[9]++;
|
|
15315
|
+
if (!useFormikName) {
|
|
15316
|
+
cov_20e90f21g7().b[4][0]++;
|
|
15317
|
+
cov_20e90f21g7().s[10]++;
|
|
14010
15318
|
return;
|
|
14011
15319
|
} else {
|
|
14012
|
-
|
|
15320
|
+
cov_20e90f21g7().b[4][1]++;
|
|
14013
15321
|
}
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
editorconfig: true
|
|
14019
|
-
})) === null || _resolveConfig$sync === void 0 ? void 0 : _resolveConfig$sync.printWidth) || (cov_17yhjdv6rr().b[5][1]++, 80));
|
|
14020
|
-
var countOfTokensAfterClosingBrace = (cov_17yhjdv6rr().s[22]++, sourceCode.lines[closingBraceLine - 1].slice(closingBraceColumn).length);
|
|
14021
|
-
var resultLength = (cov_17yhjdv6rr().s[23]++, openingBraceColumn + _fix.length + countOfTokensAfterClosingBrace);
|
|
14022
|
-
cov_17yhjdv6rr().s[24]++;
|
|
14023
|
-
if (resultLength > printWidth - 10) {
|
|
14024
|
-
cov_17yhjdv6rr().b[6][0]++;
|
|
14025
|
-
cov_17yhjdv6rr().s[25]++;
|
|
15322
|
+
cov_20e90f21g7().s[11]++;
|
|
15323
|
+
if (!matches(formikHookPropsPattern(useFormikName), node)) {
|
|
15324
|
+
cov_20e90f21g7().b[5][0]++;
|
|
15325
|
+
cov_20e90f21g7().s[12]++;
|
|
14026
15326
|
return;
|
|
14027
15327
|
} else {
|
|
14028
|
-
|
|
15328
|
+
cov_20e90f21g7().b[5][1]++;
|
|
14029
15329
|
}
|
|
14030
|
-
|
|
15330
|
+
cov_20e90f21g7().s[13]++;
|
|
14031
15331
|
context.report({
|
|
14032
15332
|
node: node,
|
|
14033
|
-
|
|
14034
|
-
start: node.loc.start,
|
|
14035
|
-
end: node.loc.end
|
|
14036
|
-
},
|
|
14037
|
-
message: replaceWith(_fix),
|
|
14038
|
-
fix: function fix(fixer) {
|
|
14039
|
-
cov_17yhjdv6rr().f[3]++;
|
|
14040
|
-
cov_17yhjdv6rr().s[27]++;
|
|
14041
|
-
return fixer.replaceText(node, _fix);
|
|
14042
|
-
}
|
|
15333
|
+
message: PREFER_EAGER_VALIDATION_MESSAGE
|
|
14043
15334
|
});
|
|
14044
15335
|
}
|
|
14045
15336
|
};
|
|
@@ -25657,7 +26948,7 @@
|
|
|
25657
26948
|
|
|
25658
26949
|
function cov_2jszpfxbn3() {
|
|
25659
26950
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/constants.js";
|
|
25660
|
-
var hash = "
|
|
26951
|
+
var hash = "f5f8d6f46f03f2aa306efe3919b23f3c41120511";
|
|
25661
26952
|
var global = new Function("return this")();
|
|
25662
26953
|
var gcv = "__coverage__";
|
|
25663
26954
|
var coverageData = {
|
|
@@ -25669,437 +26960,437 @@
|
|
|
25669
26960
|
column: 44
|
|
25670
26961
|
},
|
|
25671
26962
|
end: {
|
|
25672
|
-
line:
|
|
26963
|
+
line: 26,
|
|
25673
26964
|
column: 1
|
|
25674
26965
|
}
|
|
25675
26966
|
},
|
|
25676
26967
|
"1": {
|
|
25677
26968
|
start: {
|
|
25678
|
-
line:
|
|
26969
|
+
line: 28,
|
|
25679
26970
|
column: 41
|
|
25680
26971
|
},
|
|
25681
26972
|
end: {
|
|
25682
|
-
line:
|
|
26973
|
+
line: 35,
|
|
25683
26974
|
column: 1
|
|
25684
26975
|
}
|
|
25685
26976
|
},
|
|
25686
26977
|
"2": {
|
|
25687
26978
|
start: {
|
|
25688
|
-
line:
|
|
26979
|
+
line: 37,
|
|
25689
26980
|
column: 29
|
|
25690
26981
|
},
|
|
25691
26982
|
end: {
|
|
25692
|
-
line:
|
|
26983
|
+
line: 40,
|
|
25693
26984
|
column: 1
|
|
25694
26985
|
}
|
|
25695
26986
|
},
|
|
25696
26987
|
"3": {
|
|
25697
26988
|
start: {
|
|
25698
|
-
line:
|
|
26989
|
+
line: 43,
|
|
25699
26990
|
column: 32
|
|
25700
26991
|
},
|
|
25701
26992
|
end: {
|
|
25702
|
-
line:
|
|
26993
|
+
line: 67,
|
|
25703
26994
|
column: 1
|
|
25704
26995
|
}
|
|
25705
26996
|
},
|
|
25706
26997
|
"4": {
|
|
25707
26998
|
start: {
|
|
25708
|
-
line:
|
|
26999
|
+
line: 54,
|
|
25709
27000
|
column: 12
|
|
25710
27001
|
},
|
|
25711
27002
|
end: {
|
|
25712
|
-
line:
|
|
27003
|
+
line: 55,
|
|
25713
27004
|
column: 55
|
|
25714
27005
|
}
|
|
25715
27006
|
},
|
|
25716
27007
|
"5": {
|
|
25717
27008
|
start: {
|
|
25718
|
-
line:
|
|
27009
|
+
line: 60,
|
|
25719
27010
|
column: 8
|
|
25720
27011
|
},
|
|
25721
27012
|
end: {
|
|
25722
|
-
line:
|
|
27013
|
+
line: 60,
|
|
25723
27014
|
column: 79
|
|
25724
27015
|
}
|
|
25725
27016
|
},
|
|
25726
27017
|
"6": {
|
|
25727
27018
|
start: {
|
|
25728
|
-
line:
|
|
27019
|
+
line: 70,
|
|
25729
27020
|
column: 33
|
|
25730
27021
|
},
|
|
25731
27022
|
end: {
|
|
25732
|
-
line:
|
|
27023
|
+
line: 79,
|
|
25733
27024
|
column: 1
|
|
25734
27025
|
}
|
|
25735
27026
|
},
|
|
25736
27027
|
"7": {
|
|
25737
27028
|
start: {
|
|
25738
|
-
line:
|
|
27029
|
+
line: 78,
|
|
25739
27030
|
column: 4
|
|
25740
27031
|
},
|
|
25741
27032
|
end: {
|
|
25742
|
-
line:
|
|
27033
|
+
line: 78,
|
|
25743
27034
|
column: 75
|
|
25744
27035
|
}
|
|
25745
27036
|
},
|
|
25746
27037
|
"8": {
|
|
25747
27038
|
start: {
|
|
25748
|
-
line:
|
|
27039
|
+
line: 81,
|
|
25749
27040
|
column: 38
|
|
25750
27041
|
},
|
|
25751
27042
|
end: {
|
|
25752
|
-
line:
|
|
27043
|
+
line: 92,
|
|
25753
27044
|
column: 1
|
|
25754
27045
|
}
|
|
25755
27046
|
},
|
|
25756
27047
|
"9": {
|
|
25757
27048
|
start: {
|
|
25758
|
-
line:
|
|
27049
|
+
line: 94,
|
|
25759
27050
|
column: 28
|
|
25760
27051
|
},
|
|
25761
27052
|
end: {
|
|
25762
|
-
line:
|
|
27053
|
+
line: 103,
|
|
25763
27054
|
column: 1
|
|
25764
27055
|
}
|
|
25765
27056
|
},
|
|
25766
27057
|
"10": {
|
|
25767
27058
|
start: {
|
|
25768
|
-
line:
|
|
27059
|
+
line: 100,
|
|
25769
27060
|
column: 18
|
|
25770
27061
|
},
|
|
25771
27062
|
end: {
|
|
25772
|
-
line:
|
|
27063
|
+
line: 100,
|
|
25773
27064
|
column: 31
|
|
25774
27065
|
}
|
|
25775
27066
|
},
|
|
25776
27067
|
"11": {
|
|
25777
27068
|
start: {
|
|
25778
|
-
line:
|
|
27069
|
+
line: 105,
|
|
25779
27070
|
column: 39
|
|
25780
27071
|
},
|
|
25781
27072
|
end: {
|
|
25782
|
-
line:
|
|
27073
|
+
line: 123,
|
|
25783
27074
|
column: 1
|
|
25784
27075
|
}
|
|
25785
27076
|
},
|
|
25786
27077
|
"12": {
|
|
25787
27078
|
start: {
|
|
25788
|
-
line:
|
|
27079
|
+
line: 107,
|
|
25789
27080
|
column: 4
|
|
25790
27081
|
},
|
|
25791
27082
|
end: {
|
|
25792
|
-
line:
|
|
27083
|
+
line: 122,
|
|
25793
27084
|
column: 71
|
|
25794
27085
|
}
|
|
25795
27086
|
},
|
|
25796
27087
|
"13": {
|
|
25797
27088
|
start: {
|
|
25798
|
-
line:
|
|
27089
|
+
line: 125,
|
|
25799
27090
|
column: 37
|
|
25800
27091
|
},
|
|
25801
27092
|
end: {
|
|
25802
|
-
line:
|
|
27093
|
+
line: 144,
|
|
25803
27094
|
column: 1
|
|
25804
27095
|
}
|
|
25805
27096
|
},
|
|
25806
27097
|
"14": {
|
|
25807
27098
|
start: {
|
|
25808
|
-
line:
|
|
27099
|
+
line: 132,
|
|
25809
27100
|
column: 4
|
|
25810
27101
|
},
|
|
25811
27102
|
end: {
|
|
25812
|
-
line:
|
|
27103
|
+
line: 143,
|
|
25813
27104
|
column: 5
|
|
25814
27105
|
}
|
|
25815
27106
|
},
|
|
25816
27107
|
"15": {
|
|
25817
27108
|
start: {
|
|
25818
|
-
line:
|
|
27109
|
+
line: 138,
|
|
25819
27110
|
column: 12
|
|
25820
27111
|
},
|
|
25821
27112
|
end: {
|
|
25822
|
-
line:
|
|
27113
|
+
line: 138,
|
|
25823
27114
|
column: 64
|
|
25824
27115
|
}
|
|
25825
27116
|
},
|
|
25826
27117
|
"16": {
|
|
25827
27118
|
start: {
|
|
25828
|
-
line:
|
|
27119
|
+
line: 146,
|
|
25829
27120
|
column: 34
|
|
25830
27121
|
},
|
|
25831
27122
|
end: {
|
|
25832
|
-
line:
|
|
27123
|
+
line: 201,
|
|
25833
27124
|
column: 1
|
|
25834
27125
|
}
|
|
25835
27126
|
},
|
|
25836
27127
|
"17": {
|
|
25837
27128
|
start: {
|
|
25838
|
-
line:
|
|
27129
|
+
line: 153,
|
|
25839
27130
|
column: 21
|
|
25840
27131
|
},
|
|
25841
27132
|
end: {
|
|
25842
|
-
line:
|
|
27133
|
+
line: 153,
|
|
25843
27134
|
column: 49
|
|
25844
27135
|
}
|
|
25845
27136
|
},
|
|
25846
27137
|
"18": {
|
|
25847
27138
|
start: {
|
|
25848
|
-
line:
|
|
27139
|
+
line: 183,
|
|
25849
27140
|
column: 6
|
|
25850
27141
|
},
|
|
25851
27142
|
end: {
|
|
25852
|
-
line:
|
|
27143
|
+
line: 183,
|
|
25853
27144
|
column: 64
|
|
25854
27145
|
}
|
|
25855
27146
|
},
|
|
25856
27147
|
"19": {
|
|
25857
27148
|
start: {
|
|
25858
|
-
line:
|
|
27149
|
+
line: 195,
|
|
25859
27150
|
column: 10
|
|
25860
27151
|
},
|
|
25861
27152
|
end: {
|
|
25862
|
-
line:
|
|
27153
|
+
line: 197,
|
|
25863
27154
|
column: 46
|
|
25864
27155
|
}
|
|
25865
27156
|
},
|
|
25866
27157
|
"20": {
|
|
25867
27158
|
start: {
|
|
25868
|
-
line:
|
|
27159
|
+
line: 203,
|
|
25869
27160
|
column: 34
|
|
25870
27161
|
},
|
|
25871
27162
|
end: {
|
|
25872
|
-
line:
|
|
27163
|
+
line: 245,
|
|
25873
27164
|
column: 1
|
|
25874
27165
|
}
|
|
25875
27166
|
},
|
|
25876
27167
|
"21": {
|
|
25877
27168
|
start: {
|
|
25878
|
-
line:
|
|
27169
|
+
line: 218,
|
|
25879
27170
|
column: 8
|
|
25880
27171
|
},
|
|
25881
27172
|
end: {
|
|
25882
|
-
line:
|
|
27173
|
+
line: 218,
|
|
25883
27174
|
column: 66
|
|
25884
27175
|
}
|
|
25885
27176
|
},
|
|
25886
27177
|
"22": {
|
|
25887
27178
|
start: {
|
|
25888
|
-
line:
|
|
27179
|
+
line: 222,
|
|
25889
27180
|
column: 10
|
|
25890
27181
|
},
|
|
25891
27182
|
end: {
|
|
25892
|
-
line:
|
|
27183
|
+
line: 225,
|
|
25893
27184
|
column: 12
|
|
25894
27185
|
}
|
|
25895
27186
|
},
|
|
25896
27187
|
"23": {
|
|
25897
27188
|
start: {
|
|
25898
|
-
line:
|
|
27189
|
+
line: 227,
|
|
25899
27190
|
column: 10
|
|
25900
27191
|
},
|
|
25901
27192
|
end: {
|
|
25902
|
-
line:
|
|
27193
|
+
line: 237,
|
|
25903
27194
|
column: 11
|
|
25904
27195
|
}
|
|
25905
27196
|
},
|
|
25906
27197
|
"24": {
|
|
25907
27198
|
start: {
|
|
25908
|
-
line:
|
|
27199
|
+
line: 231,
|
|
25909
27200
|
column: 30
|
|
25910
27201
|
},
|
|
25911
27202
|
end: {
|
|
25912
|
-
line:
|
|
27203
|
+
line: 231,
|
|
25913
27204
|
column: 64
|
|
25914
27205
|
}
|
|
25915
27206
|
},
|
|
25916
27207
|
"25": {
|
|
25917
27208
|
start: {
|
|
25918
|
-
line:
|
|
27209
|
+
line: 240,
|
|
25919
27210
|
column: 32
|
|
25920
27211
|
},
|
|
25921
27212
|
end: {
|
|
25922
|
-
line:
|
|
27213
|
+
line: 240,
|
|
25923
27214
|
column: 66
|
|
25924
27215
|
}
|
|
25925
27216
|
},
|
|
25926
27217
|
"26": {
|
|
25927
27218
|
start: {
|
|
25928
|
-
line:
|
|
27219
|
+
line: 247,
|
|
25929
27220
|
column: 42
|
|
25930
27221
|
},
|
|
25931
27222
|
end: {
|
|
25932
|
-
line:
|
|
27223
|
+
line: 272,
|
|
25933
27224
|
column: 1
|
|
25934
27225
|
}
|
|
25935
27226
|
},
|
|
25936
27227
|
"27": {
|
|
25937
27228
|
start: {
|
|
25938
|
-
line:
|
|
27229
|
+
line: 252,
|
|
25939
27230
|
column: 6
|
|
25940
27231
|
},
|
|
25941
27232
|
end: {
|
|
25942
|
-
line:
|
|
27233
|
+
line: 255,
|
|
25943
27234
|
column: 8
|
|
25944
27235
|
}
|
|
25945
27236
|
},
|
|
25946
27237
|
"28": {
|
|
25947
27238
|
start: {
|
|
25948
|
-
line:
|
|
27239
|
+
line: 258,
|
|
25949
27240
|
column: 28
|
|
25950
27241
|
},
|
|
25951
27242
|
end: {
|
|
25952
|
-
line:
|
|
27243
|
+
line: 258,
|
|
25953
27244
|
column: 62
|
|
25954
27245
|
}
|
|
25955
27246
|
},
|
|
25956
27247
|
"29": {
|
|
25957
27248
|
start: {
|
|
25958
|
-
line:
|
|
27249
|
+
line: 261,
|
|
25959
27250
|
column: 6
|
|
25960
27251
|
},
|
|
25961
27252
|
end: {
|
|
25962
|
-
line:
|
|
27253
|
+
line: 269,
|
|
25963
27254
|
column: 7
|
|
25964
27255
|
}
|
|
25965
27256
|
},
|
|
25966
27257
|
"30": {
|
|
25967
27258
|
start: {
|
|
25968
|
-
line:
|
|
27259
|
+
line: 265,
|
|
25969
27260
|
column: 26
|
|
25970
27261
|
},
|
|
25971
27262
|
end: {
|
|
25972
|
-
line:
|
|
27263
|
+
line: 265,
|
|
25973
27264
|
column: 60
|
|
25974
27265
|
}
|
|
25975
27266
|
},
|
|
25976
27267
|
"31": {
|
|
25977
27268
|
start: {
|
|
25978
|
-
line:
|
|
27269
|
+
line: 274,
|
|
25979
27270
|
column: 33
|
|
25980
27271
|
},
|
|
25981
27272
|
end: {
|
|
25982
|
-
line:
|
|
27273
|
+
line: 322,
|
|
25983
27274
|
column: 1
|
|
25984
27275
|
}
|
|
25985
27276
|
},
|
|
25986
27277
|
"32": {
|
|
25987
27278
|
start: {
|
|
25988
|
-
line:
|
|
27279
|
+
line: 284,
|
|
25989
27280
|
column: 8
|
|
25990
27281
|
},
|
|
25991
27282
|
end: {
|
|
25992
|
-
line:
|
|
27283
|
+
line: 284,
|
|
25993
27284
|
column: 66
|
|
25994
27285
|
}
|
|
25995
27286
|
},
|
|
25996
27287
|
"33": {
|
|
25997
27288
|
start: {
|
|
25998
|
-
line:
|
|
27289
|
+
line: 288,
|
|
25999
27290
|
column: 10
|
|
26000
27291
|
},
|
|
26001
27292
|
end: {
|
|
26002
|
-
line:
|
|
27293
|
+
line: 318,
|
|
26003
27294
|
column: 11
|
|
26004
27295
|
}
|
|
26005
27296
|
},
|
|
26006
27297
|
"34": {
|
|
26007
27298
|
start: {
|
|
26008
|
-
line:
|
|
27299
|
+
line: 324,
|
|
26009
27300
|
column: 35
|
|
26010
27301
|
},
|
|
26011
27302
|
end: {
|
|
26012
|
-
line:
|
|
27303
|
+
line: 350,
|
|
26013
27304
|
column: 1
|
|
26014
27305
|
}
|
|
26015
27306
|
},
|
|
26016
27307
|
"35": {
|
|
26017
27308
|
start: {
|
|
26018
|
-
line:
|
|
27309
|
+
line: 337,
|
|
26019
27310
|
column: 25
|
|
26020
27311
|
},
|
|
26021
27312
|
end: {
|
|
26022
|
-
line:
|
|
27313
|
+
line: 337,
|
|
26023
27314
|
column: 42
|
|
26024
27315
|
}
|
|
26025
27316
|
},
|
|
26026
27317
|
"36": {
|
|
26027
27318
|
start: {
|
|
26028
|
-
line:
|
|
27319
|
+
line: 344,
|
|
26029
27320
|
column: 17
|
|
26030
27321
|
},
|
|
26031
27322
|
end: {
|
|
26032
|
-
line:
|
|
27323
|
+
line: 344,
|
|
26033
27324
|
column: 75
|
|
26034
27325
|
}
|
|
26035
27326
|
},
|
|
26036
27327
|
"37": {
|
|
26037
27328
|
start: {
|
|
26038
|
-
line:
|
|
27329
|
+
line: 352,
|
|
26039
27330
|
column: 40
|
|
26040
27331
|
},
|
|
26041
27332
|
end: {
|
|
26042
|
-
line:
|
|
27333
|
+
line: 371,
|
|
26043
27334
|
column: 1
|
|
26044
27335
|
}
|
|
26045
27336
|
},
|
|
26046
27337
|
"38": {
|
|
26047
27338
|
start: {
|
|
26048
|
-
line:
|
|
27339
|
+
line: 364,
|
|
26049
27340
|
column: 17
|
|
26050
27341
|
},
|
|
26051
27342
|
end: {
|
|
26052
|
-
line:
|
|
27343
|
+
line: 364,
|
|
26053
27344
|
column: 75
|
|
26054
27345
|
}
|
|
26055
27346
|
},
|
|
26056
27347
|
"39": {
|
|
26057
27348
|
start: {
|
|
26058
|
-
line:
|
|
27349
|
+
line: 373,
|
|
26059
27350
|
column: 35
|
|
26060
27351
|
},
|
|
26061
27352
|
end: {
|
|
26062
|
-
line:
|
|
27353
|
+
line: 389,
|
|
26063
27354
|
column: 1
|
|
26064
27355
|
}
|
|
26065
27356
|
},
|
|
26066
27357
|
"40": {
|
|
26067
27358
|
start: {
|
|
26068
|
-
line:
|
|
27359
|
+
line: 391,
|
|
26069
27360
|
column: 32
|
|
26070
27361
|
},
|
|
26071
27362
|
end: {
|
|
26072
|
-
line:
|
|
27363
|
+
line: 396,
|
|
26073
27364
|
column: 1
|
|
26074
27365
|
}
|
|
26075
27366
|
},
|
|
26076
27367
|
"41": {
|
|
26077
27368
|
start: {
|
|
26078
|
-
line:
|
|
27369
|
+
line: 399,
|
|
26079
27370
|
column: 60
|
|
26080
27371
|
},
|
|
26081
27372
|
end: {
|
|
26082
|
-
line:
|
|
27373
|
+
line: 417,
|
|
26083
27374
|
column: 1
|
|
26084
27375
|
}
|
|
26085
27376
|
},
|
|
26086
27377
|
"42": {
|
|
26087
27378
|
start: {
|
|
26088
|
-
line:
|
|
27379
|
+
line: 419,
|
|
26089
27380
|
column: 48
|
|
26090
27381
|
},
|
|
26091
27382
|
end: {
|
|
26092
|
-
line:
|
|
27383
|
+
line: 444,
|
|
26093
27384
|
column: 2
|
|
26094
27385
|
}
|
|
26095
27386
|
},
|
|
26096
27387
|
"43": {
|
|
26097
27388
|
start: {
|
|
26098
|
-
line:
|
|
27389
|
+
line: 446,
|
|
26099
27390
|
column: 42
|
|
26100
27391
|
},
|
|
26101
27392
|
end: {
|
|
26102
|
-
line:
|
|
27393
|
+
line: 470,
|
|
26103
27394
|
column: 2
|
|
26104
27395
|
}
|
|
26105
27396
|
}
|
|
@@ -26109,1134 +27400,1134 @@
|
|
|
26109
27400
|
name: "(anonymous_0)",
|
|
26110
27401
|
decl: {
|
|
26111
27402
|
start: {
|
|
26112
|
-
line:
|
|
27403
|
+
line: 53,
|
|
26113
27404
|
column: 16
|
|
26114
27405
|
},
|
|
26115
27406
|
end: {
|
|
26116
|
-
line:
|
|
27407
|
+
line: 53,
|
|
26117
27408
|
column: 17
|
|
26118
27409
|
}
|
|
26119
27410
|
},
|
|
26120
27411
|
loc: {
|
|
26121
27412
|
start: {
|
|
26122
|
-
line:
|
|
27413
|
+
line: 54,
|
|
26123
27414
|
column: 12
|
|
26124
27415
|
},
|
|
26125
27416
|
end: {
|
|
26126
|
-
line:
|
|
27417
|
+
line: 55,
|
|
26127
27418
|
column: 55
|
|
26128
27419
|
}
|
|
26129
27420
|
},
|
|
26130
|
-
line:
|
|
27421
|
+
line: 54
|
|
26131
27422
|
},
|
|
26132
27423
|
"1": {
|
|
26133
27424
|
name: "(anonymous_1)",
|
|
26134
27425
|
decl: {
|
|
26135
27426
|
start: {
|
|
26136
|
-
line:
|
|
27427
|
+
line: 59,
|
|
26137
27428
|
column: 17
|
|
26138
27429
|
},
|
|
26139
27430
|
end: {
|
|
26140
|
-
line:
|
|
27431
|
+
line: 59,
|
|
26141
27432
|
column: 18
|
|
26142
27433
|
}
|
|
26143
27434
|
},
|
|
26144
27435
|
loc: {
|
|
26145
27436
|
start: {
|
|
26146
|
-
line:
|
|
27437
|
+
line: 60,
|
|
26147
27438
|
column: 8
|
|
26148
27439
|
},
|
|
26149
27440
|
end: {
|
|
26150
|
-
line:
|
|
27441
|
+
line: 60,
|
|
26151
27442
|
column: 79
|
|
26152
27443
|
}
|
|
26153
27444
|
},
|
|
26154
|
-
line:
|
|
27445
|
+
line: 60
|
|
26155
27446
|
},
|
|
26156
27447
|
"2": {
|
|
26157
27448
|
name: "(anonymous_2)",
|
|
26158
27449
|
decl: {
|
|
26159
27450
|
start: {
|
|
26160
|
-
line:
|
|
27451
|
+
line: 77,
|
|
26161
27452
|
column: 13
|
|
26162
27453
|
},
|
|
26163
27454
|
end: {
|
|
26164
|
-
line:
|
|
27455
|
+
line: 77,
|
|
26165
27456
|
column: 14
|
|
26166
27457
|
}
|
|
26167
27458
|
},
|
|
26168
27459
|
loc: {
|
|
26169
27460
|
start: {
|
|
26170
|
-
line:
|
|
27461
|
+
line: 78,
|
|
26171
27462
|
column: 4
|
|
26172
27463
|
},
|
|
26173
27464
|
end: {
|
|
26174
|
-
line:
|
|
27465
|
+
line: 78,
|
|
26175
27466
|
column: 75
|
|
26176
27467
|
}
|
|
26177
27468
|
},
|
|
26178
|
-
line:
|
|
27469
|
+
line: 78
|
|
26179
27470
|
},
|
|
26180
27471
|
"3": {
|
|
26181
27472
|
name: "(anonymous_3)",
|
|
26182
27473
|
decl: {
|
|
26183
27474
|
start: {
|
|
26184
|
-
line:
|
|
27475
|
+
line: 100,
|
|
26185
27476
|
column: 10
|
|
26186
27477
|
},
|
|
26187
27478
|
end: {
|
|
26188
|
-
line:
|
|
27479
|
+
line: 100,
|
|
26189
27480
|
column: 11
|
|
26190
27481
|
}
|
|
26191
27482
|
},
|
|
26192
27483
|
loc: {
|
|
26193
27484
|
start: {
|
|
26194
|
-
line:
|
|
27485
|
+
line: 100,
|
|
26195
27486
|
column: 18
|
|
26196
27487
|
},
|
|
26197
27488
|
end: {
|
|
26198
|
-
line:
|
|
27489
|
+
line: 100,
|
|
26199
27490
|
column: 31
|
|
26200
27491
|
}
|
|
26201
27492
|
},
|
|
26202
|
-
line:
|
|
27493
|
+
line: 100
|
|
26203
27494
|
},
|
|
26204
27495
|
"4": {
|
|
26205
27496
|
name: "(anonymous_4)",
|
|
26206
27497
|
decl: {
|
|
26207
27498
|
start: {
|
|
26208
|
-
line:
|
|
27499
|
+
line: 106,
|
|
26209
27500
|
column: 14
|
|
26210
27501
|
},
|
|
26211
27502
|
end: {
|
|
26212
|
-
line:
|
|
27503
|
+
line: 106,
|
|
26213
27504
|
column: 15
|
|
26214
27505
|
}
|
|
26215
27506
|
},
|
|
26216
27507
|
loc: {
|
|
26217
27508
|
start: {
|
|
26218
|
-
line:
|
|
27509
|
+
line: 107,
|
|
26219
27510
|
column: 4
|
|
26220
27511
|
},
|
|
26221
27512
|
end: {
|
|
26222
|
-
line:
|
|
27513
|
+
line: 122,
|
|
26223
27514
|
column: 71
|
|
26224
27515
|
}
|
|
26225
27516
|
},
|
|
26226
|
-
line:
|
|
27517
|
+
line: 107
|
|
26227
27518
|
},
|
|
26228
27519
|
"5": {
|
|
26229
27520
|
name: "(anonymous_5)",
|
|
26230
27521
|
decl: {
|
|
26231
27522
|
start: {
|
|
26232
|
-
line:
|
|
27523
|
+
line: 131,
|
|
26233
27524
|
column: 13
|
|
26234
27525
|
},
|
|
26235
27526
|
end: {
|
|
26236
|
-
line:
|
|
27527
|
+
line: 131,
|
|
26237
27528
|
column: 14
|
|
26238
27529
|
}
|
|
26239
27530
|
},
|
|
26240
27531
|
loc: {
|
|
26241
27532
|
start: {
|
|
26242
|
-
line:
|
|
27533
|
+
line: 132,
|
|
26243
27534
|
column: 4
|
|
26244
27535
|
},
|
|
26245
27536
|
end: {
|
|
26246
|
-
line:
|
|
27537
|
+
line: 143,
|
|
26247
27538
|
column: 5
|
|
26248
27539
|
}
|
|
26249
27540
|
},
|
|
26250
|
-
line:
|
|
27541
|
+
line: 132
|
|
26251
27542
|
},
|
|
26252
27543
|
"6": {
|
|
26253
27544
|
name: "(anonymous_6)",
|
|
26254
27545
|
decl: {
|
|
26255
27546
|
start: {
|
|
26256
|
-
line:
|
|
27547
|
+
line: 137,
|
|
26257
27548
|
column: 22
|
|
26258
27549
|
},
|
|
26259
27550
|
end: {
|
|
26260
|
-
line:
|
|
27551
|
+
line: 137,
|
|
26261
27552
|
column: 23
|
|
26262
27553
|
}
|
|
26263
27554
|
},
|
|
26264
27555
|
loc: {
|
|
26265
27556
|
start: {
|
|
26266
|
-
line:
|
|
27557
|
+
line: 138,
|
|
26267
27558
|
column: 12
|
|
26268
27559
|
},
|
|
26269
27560
|
end: {
|
|
26270
|
-
line:
|
|
27561
|
+
line: 138,
|
|
26271
27562
|
column: 64
|
|
26272
27563
|
}
|
|
26273
27564
|
},
|
|
26274
|
-
line:
|
|
27565
|
+
line: 138
|
|
26275
27566
|
},
|
|
26276
27567
|
"7": {
|
|
26277
27568
|
name: "(anonymous_7)",
|
|
26278
27569
|
decl: {
|
|
26279
27570
|
start: {
|
|
26280
|
-
line:
|
|
27571
|
+
line: 153,
|
|
26281
27572
|
column: 14
|
|
26282
27573
|
},
|
|
26283
27574
|
end: {
|
|
26284
|
-
line:
|
|
27575
|
+
line: 153,
|
|
26285
27576
|
column: 15
|
|
26286
27577
|
}
|
|
26287
27578
|
},
|
|
26288
27579
|
loc: {
|
|
26289
27580
|
start: {
|
|
26290
|
-
line:
|
|
27581
|
+
line: 153,
|
|
26291
27582
|
column: 21
|
|
26292
27583
|
},
|
|
26293
27584
|
end: {
|
|
26294
|
-
line:
|
|
27585
|
+
line: 153,
|
|
26295
27586
|
column: 49
|
|
26296
27587
|
}
|
|
26297
27588
|
},
|
|
26298
|
-
line:
|
|
27589
|
+
line: 153
|
|
26299
27590
|
},
|
|
26300
27591
|
"8": {
|
|
26301
27592
|
name: "(anonymous_8)",
|
|
26302
27593
|
decl: {
|
|
26303
27594
|
start: {
|
|
26304
|
-
line:
|
|
27595
|
+
line: 182,
|
|
26305
27596
|
column: 12
|
|
26306
27597
|
},
|
|
26307
27598
|
end: {
|
|
26308
|
-
line:
|
|
27599
|
+
line: 182,
|
|
26309
27600
|
column: 13
|
|
26310
27601
|
}
|
|
26311
27602
|
},
|
|
26312
27603
|
loc: {
|
|
26313
27604
|
start: {
|
|
26314
|
-
line:
|
|
27605
|
+
line: 183,
|
|
26315
27606
|
column: 6
|
|
26316
27607
|
},
|
|
26317
27608
|
end: {
|
|
26318
|
-
line:
|
|
27609
|
+
line: 183,
|
|
26319
27610
|
column: 64
|
|
26320
27611
|
}
|
|
26321
27612
|
},
|
|
26322
|
-
line:
|
|
27613
|
+
line: 183
|
|
26323
27614
|
},
|
|
26324
27615
|
"9": {
|
|
26325
27616
|
name: "(anonymous_9)",
|
|
26326
27617
|
decl: {
|
|
26327
27618
|
start: {
|
|
26328
|
-
line:
|
|
27619
|
+
line: 194,
|
|
26329
27620
|
column: 19
|
|
26330
27621
|
},
|
|
26331
27622
|
end: {
|
|
26332
|
-
line:
|
|
27623
|
+
line: 194,
|
|
26333
27624
|
column: 20
|
|
26334
27625
|
}
|
|
26335
27626
|
},
|
|
26336
27627
|
loc: {
|
|
26337
27628
|
start: {
|
|
26338
|
-
line:
|
|
27629
|
+
line: 195,
|
|
26339
27630
|
column: 10
|
|
26340
27631
|
},
|
|
26341
27632
|
end: {
|
|
26342
|
-
line:
|
|
27633
|
+
line: 197,
|
|
26343
27634
|
column: 46
|
|
26344
27635
|
}
|
|
26345
27636
|
},
|
|
26346
|
-
line:
|
|
27637
|
+
line: 195
|
|
26347
27638
|
},
|
|
26348
27639
|
"10": {
|
|
26349
27640
|
name: "(anonymous_10)",
|
|
26350
27641
|
decl: {
|
|
26351
27642
|
start: {
|
|
26352
|
-
line:
|
|
27643
|
+
line: 217,
|
|
26353
27644
|
column: 14
|
|
26354
27645
|
},
|
|
26355
27646
|
end: {
|
|
26356
|
-
line:
|
|
27647
|
+
line: 217,
|
|
26357
27648
|
column: 15
|
|
26358
27649
|
}
|
|
26359
27650
|
},
|
|
26360
27651
|
loc: {
|
|
26361
27652
|
start: {
|
|
26362
|
-
line:
|
|
27653
|
+
line: 218,
|
|
26363
27654
|
column: 8
|
|
26364
27655
|
},
|
|
26365
27656
|
end: {
|
|
26366
|
-
line:
|
|
27657
|
+
line: 218,
|
|
26367
27658
|
column: 66
|
|
26368
27659
|
}
|
|
26369
27660
|
},
|
|
26370
|
-
line:
|
|
27661
|
+
line: 218
|
|
26371
27662
|
},
|
|
26372
27663
|
"11": {
|
|
26373
27664
|
name: "(anonymous_11)",
|
|
26374
27665
|
decl: {
|
|
26375
27666
|
start: {
|
|
26376
|
-
line:
|
|
27667
|
+
line: 221,
|
|
26377
27668
|
column: 14
|
|
26378
27669
|
},
|
|
26379
27670
|
end: {
|
|
26380
|
-
line:
|
|
27671
|
+
line: 221,
|
|
26381
27672
|
column: 15
|
|
26382
27673
|
}
|
|
26383
27674
|
},
|
|
26384
27675
|
loc: {
|
|
26385
27676
|
start: {
|
|
26386
|
-
line:
|
|
27677
|
+
line: 222,
|
|
26387
27678
|
column: 10
|
|
26388
27679
|
},
|
|
26389
27680
|
end: {
|
|
26390
|
-
line:
|
|
27681
|
+
line: 225,
|
|
26391
27682
|
column: 12
|
|
26392
27683
|
}
|
|
26393
27684
|
},
|
|
26394
|
-
line:
|
|
27685
|
+
line: 222
|
|
26395
27686
|
},
|
|
26396
27687
|
"12": {
|
|
26397
27688
|
name: "(anonymous_12)",
|
|
26398
27689
|
decl: {
|
|
26399
27690
|
start: {
|
|
26400
|
-
line:
|
|
27691
|
+
line: 226,
|
|
26401
27692
|
column: 20
|
|
26402
27693
|
},
|
|
26403
27694
|
end: {
|
|
26404
|
-
line:
|
|
27695
|
+
line: 226,
|
|
26405
27696
|
column: 21
|
|
26406
27697
|
}
|
|
26407
27698
|
},
|
|
26408
27699
|
loc: {
|
|
26409
27700
|
start: {
|
|
26410
|
-
line:
|
|
27701
|
+
line: 227,
|
|
26411
27702
|
column: 10
|
|
26412
27703
|
},
|
|
26413
27704
|
end: {
|
|
26414
|
-
line:
|
|
27705
|
+
line: 237,
|
|
26415
27706
|
column: 11
|
|
26416
27707
|
}
|
|
26417
27708
|
},
|
|
26418
|
-
line:
|
|
27709
|
+
line: 227
|
|
26419
27710
|
},
|
|
26420
27711
|
"13": {
|
|
26421
27712
|
name: "(anonymous_13)",
|
|
26422
27713
|
decl: {
|
|
26423
27714
|
start: {
|
|
26424
|
-
line:
|
|
27715
|
+
line: 231,
|
|
26425
27716
|
column: 22
|
|
26426
27717
|
},
|
|
26427
27718
|
end: {
|
|
26428
|
-
line:
|
|
27719
|
+
line: 231,
|
|
26429
27720
|
column: 23
|
|
26430
27721
|
}
|
|
26431
27722
|
},
|
|
26432
27723
|
loc: {
|
|
26433
27724
|
start: {
|
|
26434
|
-
line:
|
|
27725
|
+
line: 231,
|
|
26435
27726
|
column: 30
|
|
26436
27727
|
},
|
|
26437
27728
|
end: {
|
|
26438
|
-
line:
|
|
27729
|
+
line: 231,
|
|
26439
27730
|
column: 64
|
|
26440
27731
|
}
|
|
26441
27732
|
},
|
|
26442
|
-
line:
|
|
27733
|
+
line: 231
|
|
26443
27734
|
},
|
|
26444
27735
|
"14": {
|
|
26445
27736
|
name: "(anonymous_14)",
|
|
26446
27737
|
decl: {
|
|
26447
27738
|
start: {
|
|
26448
|
-
line:
|
|
27739
|
+
line: 240,
|
|
26449
27740
|
column: 16
|
|
26450
27741
|
},
|
|
26451
27742
|
end: {
|
|
26452
|
-
line:
|
|
27743
|
+
line: 240,
|
|
26453
27744
|
column: 17
|
|
26454
27745
|
}
|
|
26455
27746
|
},
|
|
26456
27747
|
loc: {
|
|
26457
27748
|
start: {
|
|
26458
|
-
line:
|
|
27749
|
+
line: 240,
|
|
26459
27750
|
column: 32
|
|
26460
27751
|
},
|
|
26461
27752
|
end: {
|
|
26462
|
-
line:
|
|
27753
|
+
line: 240,
|
|
26463
27754
|
column: 66
|
|
26464
27755
|
}
|
|
26465
27756
|
},
|
|
26466
|
-
line:
|
|
27757
|
+
line: 240
|
|
26467
27758
|
},
|
|
26468
27759
|
"15": {
|
|
26469
27760
|
name: "(anonymous_15)",
|
|
26470
27761
|
decl: {
|
|
26471
27762
|
start: {
|
|
26472
|
-
line:
|
|
27763
|
+
line: 251,
|
|
26473
27764
|
column: 10
|
|
26474
27765
|
},
|
|
26475
27766
|
end: {
|
|
26476
|
-
line:
|
|
27767
|
+
line: 251,
|
|
26477
27768
|
column: 11
|
|
26478
27769
|
}
|
|
26479
27770
|
},
|
|
26480
27771
|
loc: {
|
|
26481
27772
|
start: {
|
|
26482
|
-
line:
|
|
27773
|
+
line: 252,
|
|
26483
27774
|
column: 6
|
|
26484
27775
|
},
|
|
26485
27776
|
end: {
|
|
26486
|
-
line:
|
|
27777
|
+
line: 255,
|
|
26487
27778
|
column: 8
|
|
26488
27779
|
}
|
|
26489
27780
|
},
|
|
26490
|
-
line:
|
|
27781
|
+
line: 252
|
|
26491
27782
|
},
|
|
26492
27783
|
"16": {
|
|
26493
27784
|
name: "(anonymous_16)",
|
|
26494
27785
|
decl: {
|
|
26495
27786
|
start: {
|
|
26496
|
-
line:
|
|
27787
|
+
line: 258,
|
|
26497
27788
|
column: 12
|
|
26498
27789
|
},
|
|
26499
27790
|
end: {
|
|
26500
|
-
line:
|
|
27791
|
+
line: 258,
|
|
26501
27792
|
column: 13
|
|
26502
27793
|
}
|
|
26503
27794
|
},
|
|
26504
27795
|
loc: {
|
|
26505
27796
|
start: {
|
|
26506
|
-
line:
|
|
27797
|
+
line: 258,
|
|
26507
27798
|
column: 28
|
|
26508
27799
|
},
|
|
26509
27800
|
end: {
|
|
26510
|
-
line:
|
|
27801
|
+
line: 258,
|
|
26511
27802
|
column: 62
|
|
26512
27803
|
}
|
|
26513
27804
|
},
|
|
26514
|
-
line:
|
|
27805
|
+
line: 258
|
|
26515
27806
|
},
|
|
26516
27807
|
"17": {
|
|
26517
27808
|
name: "(anonymous_17)",
|
|
26518
27809
|
decl: {
|
|
26519
27810
|
start: {
|
|
26520
|
-
line:
|
|
27811
|
+
line: 260,
|
|
26521
27812
|
column: 15
|
|
26522
27813
|
},
|
|
26523
27814
|
end: {
|
|
26524
|
-
line:
|
|
27815
|
+
line: 260,
|
|
26525
27816
|
column: 16
|
|
26526
27817
|
}
|
|
26527
27818
|
},
|
|
26528
27819
|
loc: {
|
|
26529
27820
|
start: {
|
|
26530
|
-
line:
|
|
27821
|
+
line: 261,
|
|
26531
27822
|
column: 6
|
|
26532
27823
|
},
|
|
26533
27824
|
end: {
|
|
26534
|
-
line:
|
|
27825
|
+
line: 269,
|
|
26535
27826
|
column: 7
|
|
26536
27827
|
}
|
|
26537
27828
|
},
|
|
26538
|
-
line:
|
|
27829
|
+
line: 261
|
|
26539
27830
|
},
|
|
26540
27831
|
"18": {
|
|
26541
27832
|
name: "(anonymous_18)",
|
|
26542
27833
|
decl: {
|
|
26543
27834
|
start: {
|
|
26544
|
-
line:
|
|
27835
|
+
line: 265,
|
|
26545
27836
|
column: 18
|
|
26546
27837
|
},
|
|
26547
27838
|
end: {
|
|
26548
|
-
line:
|
|
27839
|
+
line: 265,
|
|
26549
27840
|
column: 19
|
|
26550
27841
|
}
|
|
26551
27842
|
},
|
|
26552
27843
|
loc: {
|
|
26553
27844
|
start: {
|
|
26554
|
-
line:
|
|
27845
|
+
line: 265,
|
|
26555
27846
|
column: 26
|
|
26556
27847
|
},
|
|
26557
27848
|
end: {
|
|
26558
|
-
line:
|
|
27849
|
+
line: 265,
|
|
26559
27850
|
column: 60
|
|
26560
27851
|
}
|
|
26561
27852
|
},
|
|
26562
|
-
line:
|
|
27853
|
+
line: 265
|
|
26563
27854
|
},
|
|
26564
27855
|
"19": {
|
|
26565
27856
|
name: "(anonymous_19)",
|
|
26566
27857
|
decl: {
|
|
26567
27858
|
start: {
|
|
26568
|
-
line:
|
|
27859
|
+
line: 283,
|
|
26569
27860
|
column: 14
|
|
26570
27861
|
},
|
|
26571
27862
|
end: {
|
|
26572
|
-
line:
|
|
27863
|
+
line: 283,
|
|
26573
27864
|
column: 15
|
|
26574
27865
|
}
|
|
26575
27866
|
},
|
|
26576
27867
|
loc: {
|
|
26577
27868
|
start: {
|
|
26578
|
-
line:
|
|
27869
|
+
line: 284,
|
|
26579
27870
|
column: 8
|
|
26580
27871
|
},
|
|
26581
27872
|
end: {
|
|
26582
|
-
line:
|
|
27873
|
+
line: 284,
|
|
26583
27874
|
column: 66
|
|
26584
27875
|
}
|
|
26585
27876
|
},
|
|
26586
|
-
line:
|
|
27877
|
+
line: 284
|
|
26587
27878
|
},
|
|
26588
27879
|
"20": {
|
|
26589
27880
|
name: "(anonymous_20)",
|
|
26590
27881
|
decl: {
|
|
26591
27882
|
start: {
|
|
26592
|
-
line:
|
|
27883
|
+
line: 287,
|
|
26593
27884
|
column: 20
|
|
26594
27885
|
},
|
|
26595
27886
|
end: {
|
|
26596
|
-
line:
|
|
27887
|
+
line: 287,
|
|
26597
27888
|
column: 21
|
|
26598
27889
|
}
|
|
26599
27890
|
},
|
|
26600
27891
|
loc: {
|
|
26601
27892
|
start: {
|
|
26602
|
-
line:
|
|
27893
|
+
line: 288,
|
|
26603
27894
|
column: 10
|
|
26604
27895
|
},
|
|
26605
27896
|
end: {
|
|
26606
|
-
line:
|
|
27897
|
+
line: 318,
|
|
26607
27898
|
column: 11
|
|
26608
27899
|
}
|
|
26609
27900
|
},
|
|
26610
|
-
line:
|
|
27901
|
+
line: 288
|
|
26611
27902
|
},
|
|
26612
27903
|
"21": {
|
|
26613
27904
|
name: "(anonymous_21)",
|
|
26614
27905
|
decl: {
|
|
26615
27906
|
start: {
|
|
26616
|
-
line:
|
|
27907
|
+
line: 337,
|
|
26617
27908
|
column: 17
|
|
26618
27909
|
},
|
|
26619
27910
|
end: {
|
|
26620
|
-
line:
|
|
27911
|
+
line: 337,
|
|
26621
27912
|
column: 18
|
|
26622
27913
|
}
|
|
26623
27914
|
},
|
|
26624
27915
|
loc: {
|
|
26625
27916
|
start: {
|
|
26626
|
-
line:
|
|
27917
|
+
line: 337,
|
|
26627
27918
|
column: 25
|
|
26628
27919
|
},
|
|
26629
27920
|
end: {
|
|
26630
|
-
line:
|
|
27921
|
+
line: 337,
|
|
26631
27922
|
column: 42
|
|
26632
27923
|
}
|
|
26633
27924
|
},
|
|
26634
|
-
line:
|
|
27925
|
+
line: 337
|
|
26635
27926
|
},
|
|
26636
27927
|
"22": {
|
|
26637
27928
|
name: "(anonymous_22)",
|
|
26638
27929
|
decl: {
|
|
26639
27930
|
start: {
|
|
26640
|
-
line:
|
|
27931
|
+
line: 344,
|
|
26641
27932
|
column: 12
|
|
26642
27933
|
},
|
|
26643
27934
|
end: {
|
|
26644
|
-
line:
|
|
27935
|
+
line: 344,
|
|
26645
27936
|
column: 13
|
|
26646
27937
|
}
|
|
26647
27938
|
},
|
|
26648
27939
|
loc: {
|
|
26649
27940
|
start: {
|
|
26650
|
-
line:
|
|
27941
|
+
line: 344,
|
|
26651
27942
|
column: 17
|
|
26652
27943
|
},
|
|
26653
27944
|
end: {
|
|
26654
|
-
line:
|
|
27945
|
+
line: 344,
|
|
26655
27946
|
column: 75
|
|
26656
27947
|
}
|
|
26657
27948
|
},
|
|
26658
|
-
line:
|
|
27949
|
+
line: 344
|
|
26659
27950
|
},
|
|
26660
27951
|
"23": {
|
|
26661
27952
|
name: "(anonymous_23)",
|
|
26662
27953
|
decl: {
|
|
26663
27954
|
start: {
|
|
26664
|
-
line:
|
|
27955
|
+
line: 364,
|
|
26665
27956
|
column: 12
|
|
26666
27957
|
},
|
|
26667
27958
|
end: {
|
|
26668
|
-
line:
|
|
27959
|
+
line: 364,
|
|
26669
27960
|
column: 13
|
|
26670
27961
|
}
|
|
26671
27962
|
},
|
|
26672
27963
|
loc: {
|
|
26673
27964
|
start: {
|
|
26674
|
-
line:
|
|
27965
|
+
line: 364,
|
|
26675
27966
|
column: 17
|
|
26676
27967
|
},
|
|
26677
27968
|
end: {
|
|
26678
|
-
line:
|
|
27969
|
+
line: 364,
|
|
26679
27970
|
column: 75
|
|
26680
27971
|
}
|
|
26681
27972
|
},
|
|
26682
|
-
line:
|
|
27973
|
+
line: 364
|
|
26683
27974
|
}
|
|
26684
27975
|
},
|
|
26685
27976
|
branchMap: {
|
|
26686
27977
|
"0": {
|
|
26687
27978
|
loc: {
|
|
26688
27979
|
start: {
|
|
26689
|
-
line:
|
|
27980
|
+
line: 54,
|
|
26690
27981
|
column: 12
|
|
26691
27982
|
},
|
|
26692
27983
|
end: {
|
|
26693
|
-
line:
|
|
27984
|
+
line: 55,
|
|
26694
27985
|
column: 55
|
|
26695
27986
|
}
|
|
26696
27987
|
},
|
|
26697
27988
|
type: "binary-expr",
|
|
26698
27989
|
locations: [{
|
|
26699
27990
|
start: {
|
|
26700
|
-
line:
|
|
27991
|
+
line: 54,
|
|
26701
27992
|
column: 12
|
|
26702
27993
|
},
|
|
26703
27994
|
end: {
|
|
26704
|
-
line:
|
|
27995
|
+
line: 54,
|
|
26705
27996
|
column: 52
|
|
26706
27997
|
}
|
|
26707
27998
|
}, {
|
|
26708
27999
|
start: {
|
|
26709
|
-
line:
|
|
28000
|
+
line: 55,
|
|
26710
28001
|
column: 12
|
|
26711
28002
|
},
|
|
26712
28003
|
end: {
|
|
26713
|
-
line:
|
|
28004
|
+
line: 55,
|
|
26714
28005
|
column: 55
|
|
26715
28006
|
}
|
|
26716
28007
|
}],
|
|
26717
|
-
line:
|
|
28008
|
+
line: 54
|
|
26718
28009
|
},
|
|
26719
28010
|
"1": {
|
|
26720
28011
|
loc: {
|
|
26721
28012
|
start: {
|
|
26722
|
-
line:
|
|
28013
|
+
line: 60,
|
|
26723
28014
|
column: 8
|
|
26724
28015
|
},
|
|
26725
28016
|
end: {
|
|
26726
|
-
line:
|
|
28017
|
+
line: 60,
|
|
26727
28018
|
column: 79
|
|
26728
28019
|
}
|
|
26729
28020
|
},
|
|
26730
28021
|
type: "binary-expr",
|
|
26731
28022
|
locations: [{
|
|
26732
28023
|
start: {
|
|
26733
|
-
line:
|
|
28024
|
+
line: 60,
|
|
26734
28025
|
column: 8
|
|
26735
28026
|
},
|
|
26736
28027
|
end: {
|
|
26737
|
-
line:
|
|
28028
|
+
line: 60,
|
|
26738
28029
|
column: 25
|
|
26739
28030
|
}
|
|
26740
28031
|
}, {
|
|
26741
28032
|
start: {
|
|
26742
|
-
line:
|
|
28033
|
+
line: 60,
|
|
26743
28034
|
column: 29
|
|
26744
28035
|
},
|
|
26745
28036
|
end: {
|
|
26746
|
-
line:
|
|
28037
|
+
line: 60,
|
|
26747
28038
|
column: 79
|
|
26748
28039
|
}
|
|
26749
28040
|
}],
|
|
26750
|
-
line:
|
|
28041
|
+
line: 60
|
|
26751
28042
|
},
|
|
26752
28043
|
"2": {
|
|
26753
28044
|
loc: {
|
|
26754
28045
|
start: {
|
|
26755
|
-
line:
|
|
28046
|
+
line: 78,
|
|
26756
28047
|
column: 4
|
|
26757
28048
|
},
|
|
26758
28049
|
end: {
|
|
26759
|
-
line:
|
|
28050
|
+
line: 78,
|
|
26760
28051
|
column: 75
|
|
26761
28052
|
}
|
|
26762
28053
|
},
|
|
26763
28054
|
type: "binary-expr",
|
|
26764
28055
|
locations: [{
|
|
26765
28056
|
start: {
|
|
26766
|
-
line:
|
|
28057
|
+
line: 78,
|
|
26767
28058
|
column: 4
|
|
26768
28059
|
},
|
|
26769
28060
|
end: {
|
|
26770
|
-
line:
|
|
28061
|
+
line: 78,
|
|
26771
28062
|
column: 21
|
|
26772
28063
|
}
|
|
26773
28064
|
}, {
|
|
26774
28065
|
start: {
|
|
26775
|
-
line:
|
|
28066
|
+
line: 78,
|
|
26776
28067
|
column: 25
|
|
26777
28068
|
},
|
|
26778
28069
|
end: {
|
|
26779
|
-
line:
|
|
28070
|
+
line: 78,
|
|
26780
28071
|
column: 75
|
|
26781
28072
|
}
|
|
26782
28073
|
}],
|
|
26783
|
-
line:
|
|
28074
|
+
line: 78
|
|
26784
28075
|
},
|
|
26785
28076
|
"3": {
|
|
26786
28077
|
loc: {
|
|
26787
28078
|
start: {
|
|
26788
|
-
line:
|
|
28079
|
+
line: 107,
|
|
26789
28080
|
column: 4
|
|
26790
28081
|
},
|
|
26791
28082
|
end: {
|
|
26792
|
-
line:
|
|
28083
|
+
line: 122,
|
|
26793
28084
|
column: 71
|
|
26794
28085
|
}
|
|
26795
28086
|
},
|
|
26796
28087
|
type: "binary-expr",
|
|
26797
28088
|
locations: [{
|
|
26798
28089
|
start: {
|
|
26799
|
-
line:
|
|
28090
|
+
line: 107,
|
|
26800
28091
|
column: 4
|
|
26801
28092
|
},
|
|
26802
28093
|
end: {
|
|
26803
|
-
line:
|
|
28094
|
+
line: 107,
|
|
26804
28095
|
column: 22
|
|
26805
28096
|
}
|
|
26806
28097
|
}, {
|
|
26807
28098
|
start: {
|
|
26808
|
-
line:
|
|
28099
|
+
line: 108,
|
|
26809
28100
|
column: 4
|
|
26810
28101
|
},
|
|
26811
28102
|
end: {
|
|
26812
|
-
line:
|
|
28103
|
+
line: 121,
|
|
26813
28104
|
column: 5
|
|
26814
28105
|
}
|
|
26815
28106
|
}, {
|
|
26816
28107
|
start: {
|
|
26817
|
-
line:
|
|
28108
|
+
line: 122,
|
|
26818
28109
|
column: 4
|
|
26819
28110
|
},
|
|
26820
28111
|
end: {
|
|
26821
|
-
line:
|
|
28112
|
+
line: 122,
|
|
26822
28113
|
column: 71
|
|
26823
28114
|
}
|
|
26824
28115
|
}],
|
|
26825
|
-
line:
|
|
28116
|
+
line: 107
|
|
26826
28117
|
},
|
|
26827
28118
|
"4": {
|
|
26828
28119
|
loc: {
|
|
26829
28120
|
start: {
|
|
26830
|
-
line:
|
|
28121
|
+
line: 132,
|
|
26831
28122
|
column: 4
|
|
26832
28123
|
},
|
|
26833
28124
|
end: {
|
|
26834
|
-
line:
|
|
28125
|
+
line: 143,
|
|
26835
28126
|
column: 5
|
|
26836
28127
|
}
|
|
26837
28128
|
},
|
|
26838
28129
|
type: "binary-expr",
|
|
26839
28130
|
locations: [{
|
|
26840
28131
|
start: {
|
|
26841
|
-
line:
|
|
28132
|
+
line: 132,
|
|
26842
28133
|
column: 4
|
|
26843
28134
|
},
|
|
26844
28135
|
end: {
|
|
26845
|
-
line:
|
|
28136
|
+
line: 132,
|
|
26846
28137
|
column: 21
|
|
26847
28138
|
}
|
|
26848
28139
|
}, {
|
|
26849
28140
|
start: {
|
|
26850
|
-
line:
|
|
28141
|
+
line: 133,
|
|
26851
28142
|
column: 4
|
|
26852
28143
|
},
|
|
26853
28144
|
end: {
|
|
26854
|
-
line:
|
|
28145
|
+
line: 143,
|
|
26855
28146
|
column: 5
|
|
26856
28147
|
}
|
|
26857
28148
|
}],
|
|
26858
|
-
line:
|
|
28149
|
+
line: 132
|
|
26859
28150
|
},
|
|
26860
28151
|
"5": {
|
|
26861
28152
|
loc: {
|
|
26862
28153
|
start: {
|
|
26863
|
-
line:
|
|
28154
|
+
line: 138,
|
|
26864
28155
|
column: 12
|
|
26865
28156
|
},
|
|
26866
28157
|
end: {
|
|
26867
|
-
line:
|
|
28158
|
+
line: 138,
|
|
26868
28159
|
column: 64
|
|
26869
28160
|
}
|
|
26870
28161
|
},
|
|
26871
28162
|
type: "binary-expr",
|
|
26872
28163
|
locations: [{
|
|
26873
28164
|
start: {
|
|
26874
|
-
line:
|
|
28165
|
+
line: 138,
|
|
26875
28166
|
column: 12
|
|
26876
28167
|
},
|
|
26877
28168
|
end: {
|
|
26878
|
-
line:
|
|
28169
|
+
line: 138,
|
|
26879
28170
|
column: 30
|
|
26880
28171
|
}
|
|
26881
28172
|
}, {
|
|
26882
28173
|
start: {
|
|
26883
|
-
line:
|
|
28174
|
+
line: 138,
|
|
26884
28175
|
column: 34
|
|
26885
28176
|
},
|
|
26886
28177
|
end: {
|
|
26887
|
-
line:
|
|
28178
|
+
line: 138,
|
|
26888
28179
|
column: 64
|
|
26889
28180
|
}
|
|
26890
28181
|
}],
|
|
26891
|
-
line:
|
|
28182
|
+
line: 138
|
|
26892
28183
|
},
|
|
26893
28184
|
"6": {
|
|
26894
28185
|
loc: {
|
|
26895
28186
|
start: {
|
|
26896
|
-
line:
|
|
28187
|
+
line: 153,
|
|
26897
28188
|
column: 21
|
|
26898
28189
|
},
|
|
26899
28190
|
end: {
|
|
26900
|
-
line:
|
|
28191
|
+
line: 153,
|
|
26901
28192
|
column: 49
|
|
26902
28193
|
}
|
|
26903
28194
|
},
|
|
26904
28195
|
type: "binary-expr",
|
|
26905
28196
|
locations: [{
|
|
26906
28197
|
start: {
|
|
26907
|
-
line:
|
|
28198
|
+
line: 153,
|
|
26908
28199
|
column: 21
|
|
26909
28200
|
},
|
|
26910
28201
|
end: {
|
|
26911
|
-
line:
|
|
28202
|
+
line: 153,
|
|
26912
28203
|
column: 34
|
|
26913
28204
|
}
|
|
26914
28205
|
}, {
|
|
26915
28206
|
start: {
|
|
26916
|
-
line:
|
|
28207
|
+
line: 153,
|
|
26917
28208
|
column: 38
|
|
26918
28209
|
},
|
|
26919
28210
|
end: {
|
|
26920
|
-
line:
|
|
28211
|
+
line: 153,
|
|
26921
28212
|
column: 49
|
|
26922
28213
|
}
|
|
26923
28214
|
}],
|
|
26924
|
-
line:
|
|
28215
|
+
line: 153
|
|
26925
28216
|
},
|
|
26926
28217
|
"7": {
|
|
26927
28218
|
loc: {
|
|
26928
28219
|
start: {
|
|
26929
|
-
line:
|
|
28220
|
+
line: 183,
|
|
26930
28221
|
column: 6
|
|
26931
28222
|
},
|
|
26932
28223
|
end: {
|
|
26933
|
-
line:
|
|
28224
|
+
line: 183,
|
|
26934
28225
|
column: 64
|
|
26935
28226
|
}
|
|
26936
28227
|
},
|
|
26937
28228
|
type: "binary-expr",
|
|
26938
28229
|
locations: [{
|
|
26939
28230
|
start: {
|
|
26940
|
-
line:
|
|
28231
|
+
line: 183,
|
|
26941
28232
|
column: 6
|
|
26942
28233
|
},
|
|
26943
28234
|
end: {
|
|
26944
|
-
line:
|
|
28235
|
+
line: 183,
|
|
26945
28236
|
column: 25
|
|
26946
28237
|
}
|
|
26947
28238
|
}, {
|
|
26948
28239
|
start: {
|
|
26949
|
-
line:
|
|
28240
|
+
line: 183,
|
|
26950
28241
|
column: 29
|
|
26951
28242
|
},
|
|
26952
28243
|
end: {
|
|
26953
|
-
line:
|
|
28244
|
+
line: 183,
|
|
26954
28245
|
column: 64
|
|
26955
28246
|
}
|
|
26956
28247
|
}],
|
|
26957
|
-
line:
|
|
28248
|
+
line: 183
|
|
26958
28249
|
},
|
|
26959
28250
|
"8": {
|
|
26960
28251
|
loc: {
|
|
26961
28252
|
start: {
|
|
26962
|
-
line:
|
|
28253
|
+
line: 195,
|
|
26963
28254
|
column: 10
|
|
26964
28255
|
},
|
|
26965
28256
|
end: {
|
|
26966
|
-
line:
|
|
28257
|
+
line: 197,
|
|
26967
28258
|
column: 46
|
|
26968
28259
|
}
|
|
26969
28260
|
},
|
|
26970
28261
|
type: "binary-expr",
|
|
26971
28262
|
locations: [{
|
|
26972
28263
|
start: {
|
|
26973
|
-
line:
|
|
28264
|
+
line: 195,
|
|
26974
28265
|
column: 10
|
|
26975
28266
|
},
|
|
26976
28267
|
end: {
|
|
26977
|
-
line:
|
|
28268
|
+
line: 195,
|
|
26978
28269
|
column: 27
|
|
26979
28270
|
}
|
|
26980
28271
|
}, {
|
|
26981
28272
|
start: {
|
|
26982
|
-
line:
|
|
28273
|
+
line: 196,
|
|
26983
28274
|
column: 10
|
|
26984
28275
|
},
|
|
26985
28276
|
end: {
|
|
26986
|
-
line:
|
|
28277
|
+
line: 196,
|
|
26987
28278
|
column: 43
|
|
26988
28279
|
}
|
|
26989
28280
|
}, {
|
|
26990
28281
|
start: {
|
|
26991
|
-
line:
|
|
28282
|
+
line: 197,
|
|
26992
28283
|
column: 10
|
|
26993
28284
|
},
|
|
26994
28285
|
end: {
|
|
26995
|
-
line:
|
|
28286
|
+
line: 197,
|
|
26996
28287
|
column: 46
|
|
26997
28288
|
}
|
|
26998
28289
|
}],
|
|
26999
|
-
line:
|
|
28290
|
+
line: 195
|
|
27000
28291
|
},
|
|
27001
28292
|
"9": {
|
|
27002
28293
|
loc: {
|
|
27003
28294
|
start: {
|
|
27004
|
-
line:
|
|
28295
|
+
line: 218,
|
|
27005
28296
|
column: 8
|
|
27006
28297
|
},
|
|
27007
28298
|
end: {
|
|
27008
|
-
line:
|
|
28299
|
+
line: 218,
|
|
27009
28300
|
column: 66
|
|
27010
28301
|
}
|
|
27011
28302
|
},
|
|
27012
28303
|
type: "binary-expr",
|
|
27013
28304
|
locations: [{
|
|
27014
28305
|
start: {
|
|
27015
|
-
line:
|
|
28306
|
+
line: 218,
|
|
27016
28307
|
column: 8
|
|
27017
28308
|
},
|
|
27018
28309
|
end: {
|
|
27019
|
-
line:
|
|
28310
|
+
line: 218,
|
|
27020
28311
|
column: 27
|
|
27021
28312
|
}
|
|
27022
28313
|
}, {
|
|
27023
28314
|
start: {
|
|
27024
|
-
line:
|
|
28315
|
+
line: 218,
|
|
27025
28316
|
column: 31
|
|
27026
28317
|
},
|
|
27027
28318
|
end: {
|
|
27028
|
-
line:
|
|
28319
|
+
line: 218,
|
|
27029
28320
|
column: 66
|
|
27030
28321
|
}
|
|
27031
28322
|
}],
|
|
27032
|
-
line:
|
|
28323
|
+
line: 218
|
|
27033
28324
|
},
|
|
27034
28325
|
"10": {
|
|
27035
28326
|
loc: {
|
|
27036
28327
|
start: {
|
|
27037
|
-
line:
|
|
28328
|
+
line: 233,
|
|
27038
28329
|
column: 14
|
|
27039
28330
|
},
|
|
27040
28331
|
end: {
|
|
27041
|
-
line:
|
|
28332
|
+
line: 235,
|
|
27042
28333
|
column: 25
|
|
27043
28334
|
}
|
|
27044
28335
|
},
|
|
27045
28336
|
type: "cond-expr",
|
|
27046
28337
|
locations: [{
|
|
27047
28338
|
start: {
|
|
27048
|
-
line:
|
|
28339
|
+
line: 234,
|
|
27049
28340
|
column: 18
|
|
27050
28341
|
},
|
|
27051
28342
|
end: {
|
|
27052
|
-
line:
|
|
28343
|
+
line: 234,
|
|
27053
28344
|
column: 34
|
|
27054
28345
|
}
|
|
27055
28346
|
}, {
|
|
27056
28347
|
start: {
|
|
27057
|
-
line:
|
|
28348
|
+
line: 235,
|
|
27058
28349
|
column: 18
|
|
27059
28350
|
},
|
|
27060
28351
|
end: {
|
|
27061
|
-
line:
|
|
28352
|
+
line: 235,
|
|
27062
28353
|
column: 25
|
|
27063
28354
|
}
|
|
27064
28355
|
}],
|
|
27065
|
-
line:
|
|
28356
|
+
line: 233
|
|
27066
28357
|
},
|
|
27067
28358
|
"11": {
|
|
27068
28359
|
loc: {
|
|
27069
28360
|
start: {
|
|
27070
|
-
line:
|
|
28361
|
+
line: 267,
|
|
27071
28362
|
column: 10
|
|
27072
28363
|
},
|
|
27073
28364
|
end: {
|
|
27074
|
-
line:
|
|
28365
|
+
line: 267,
|
|
27075
28366
|
column: 71
|
|
27076
28367
|
}
|
|
27077
28368
|
},
|
|
27078
28369
|
type: "cond-expr",
|
|
27079
28370
|
locations: [{
|
|
27080
28371
|
start: {
|
|
27081
|
-
line:
|
|
28372
|
+
line: 267,
|
|
27082
28373
|
column: 49
|
|
27083
28374
|
},
|
|
27084
28375
|
end: {
|
|
27085
|
-
line:
|
|
28376
|
+
line: 267,
|
|
27086
28377
|
column: 63
|
|
27087
28378
|
}
|
|
27088
28379
|
}, {
|
|
27089
28380
|
start: {
|
|
27090
|
-
line:
|
|
28381
|
+
line: 267,
|
|
27091
28382
|
column: 66
|
|
27092
28383
|
},
|
|
27093
28384
|
end: {
|
|
27094
|
-
line:
|
|
28385
|
+
line: 267,
|
|
27095
28386
|
column: 71
|
|
27096
28387
|
}
|
|
27097
28388
|
}],
|
|
27098
|
-
line:
|
|
28389
|
+
line: 267
|
|
27099
28390
|
},
|
|
27100
28391
|
"12": {
|
|
27101
28392
|
loc: {
|
|
27102
28393
|
start: {
|
|
27103
|
-
line:
|
|
28394
|
+
line: 284,
|
|
27104
28395
|
column: 8
|
|
27105
28396
|
},
|
|
27106
28397
|
end: {
|
|
27107
|
-
line:
|
|
28398
|
+
line: 284,
|
|
27108
28399
|
column: 66
|
|
27109
28400
|
}
|
|
27110
28401
|
},
|
|
27111
28402
|
type: "binary-expr",
|
|
27112
28403
|
locations: [{
|
|
27113
28404
|
start: {
|
|
27114
|
-
line:
|
|
28405
|
+
line: 284,
|
|
27115
28406
|
column: 8
|
|
27116
28407
|
},
|
|
27117
28408
|
end: {
|
|
27118
|
-
line:
|
|
28409
|
+
line: 284,
|
|
27119
28410
|
column: 27
|
|
27120
28411
|
}
|
|
27121
28412
|
}, {
|
|
27122
28413
|
start: {
|
|
27123
|
-
line:
|
|
28414
|
+
line: 284,
|
|
27124
28415
|
column: 31
|
|
27125
28416
|
},
|
|
27126
28417
|
end: {
|
|
27127
|
-
line:
|
|
28418
|
+
line: 284,
|
|
27128
28419
|
column: 66
|
|
27129
28420
|
}
|
|
27130
28421
|
}],
|
|
27131
|
-
line:
|
|
28422
|
+
line: 284
|
|
27132
28423
|
},
|
|
27133
28424
|
"13": {
|
|
27134
28425
|
loc: {
|
|
27135
28426
|
start: {
|
|
27136
|
-
line:
|
|
28427
|
+
line: 288,
|
|
27137
28428
|
column: 10
|
|
27138
28429
|
},
|
|
27139
28430
|
end: {
|
|
27140
|
-
line:
|
|
28431
|
+
line: 318,
|
|
27141
28432
|
column: 11
|
|
27142
28433
|
}
|
|
27143
28434
|
},
|
|
27144
28435
|
type: "binary-expr",
|
|
27145
28436
|
locations: [{
|
|
27146
28437
|
start: {
|
|
27147
|
-
line:
|
|
28438
|
+
line: 288,
|
|
27148
28439
|
column: 10
|
|
27149
28440
|
},
|
|
27150
28441
|
end: {
|
|
27151
|
-
line:
|
|
28442
|
+
line: 288,
|
|
27152
28443
|
column: 26
|
|
27153
28444
|
}
|
|
27154
28445
|
}, {
|
|
27155
28446
|
start: {
|
|
27156
|
-
line:
|
|
28447
|
+
line: 289,
|
|
27157
28448
|
column: 10
|
|
27158
28449
|
},
|
|
27159
28450
|
end: {
|
|
27160
|
-
line:
|
|
28451
|
+
line: 298,
|
|
27161
28452
|
column: 11
|
|
27162
28453
|
}
|
|
27163
28454
|
}, {
|
|
27164
28455
|
start: {
|
|
27165
|
-
line:
|
|
28456
|
+
line: 299,
|
|
27166
28457
|
column: 10
|
|
27167
28458
|
},
|
|
27168
28459
|
end: {
|
|
27169
|
-
line:
|
|
28460
|
+
line: 318,
|
|
27170
28461
|
column: 11
|
|
27171
28462
|
}
|
|
27172
28463
|
}],
|
|
27173
|
-
line:
|
|
28464
|
+
line: 288
|
|
27174
28465
|
},
|
|
27175
28466
|
"14": {
|
|
27176
28467
|
loc: {
|
|
27177
28468
|
start: {
|
|
27178
|
-
line:
|
|
28469
|
+
line: 344,
|
|
27179
28470
|
column: 17
|
|
27180
28471
|
},
|
|
27181
28472
|
end: {
|
|
27182
|
-
line:
|
|
28473
|
+
line: 344,
|
|
27183
28474
|
column: 75
|
|
27184
28475
|
}
|
|
27185
28476
|
},
|
|
27186
28477
|
type: "binary-expr",
|
|
27187
28478
|
locations: [{
|
|
27188
28479
|
start: {
|
|
27189
|
-
line:
|
|
28480
|
+
line: 344,
|
|
27190
28481
|
column: 17
|
|
27191
28482
|
},
|
|
27192
28483
|
end: {
|
|
27193
|
-
line:
|
|
28484
|
+
line: 344,
|
|
27194
28485
|
column: 31
|
|
27195
28486
|
}
|
|
27196
28487
|
}, {
|
|
27197
28488
|
start: {
|
|
27198
|
-
line:
|
|
28489
|
+
line: 344,
|
|
27199
28490
|
column: 35
|
|
27200
28491
|
},
|
|
27201
28492
|
end: {
|
|
27202
|
-
line:
|
|
28493
|
+
line: 344,
|
|
27203
28494
|
column: 75
|
|
27204
28495
|
}
|
|
27205
28496
|
}],
|
|
27206
|
-
line:
|
|
28497
|
+
line: 344
|
|
27207
28498
|
},
|
|
27208
28499
|
"15": {
|
|
27209
28500
|
loc: {
|
|
27210
28501
|
start: {
|
|
27211
|
-
line:
|
|
28502
|
+
line: 364,
|
|
27212
28503
|
column: 17
|
|
27213
28504
|
},
|
|
27214
28505
|
end: {
|
|
27215
|
-
line:
|
|
28506
|
+
line: 364,
|
|
27216
28507
|
column: 75
|
|
27217
28508
|
}
|
|
27218
28509
|
},
|
|
27219
28510
|
type: "binary-expr",
|
|
27220
28511
|
locations: [{
|
|
27221
28512
|
start: {
|
|
27222
|
-
line:
|
|
28513
|
+
line: 364,
|
|
27223
28514
|
column: 17
|
|
27224
28515
|
},
|
|
27225
28516
|
end: {
|
|
27226
|
-
line:
|
|
28517
|
+
line: 364,
|
|
27227
28518
|
column: 31
|
|
27228
28519
|
}
|
|
27229
28520
|
}, {
|
|
27230
28521
|
start: {
|
|
27231
|
-
line:
|
|
28522
|
+
line: 364,
|
|
27232
28523
|
column: 35
|
|
27233
28524
|
},
|
|
27234
28525
|
end: {
|
|
27235
|
-
line:
|
|
28526
|
+
line: 364,
|
|
27236
28527
|
column: 75
|
|
27237
28528
|
}
|
|
27238
28529
|
}],
|
|
27239
|
-
line:
|
|
28530
|
+
line: 364
|
|
27240
28531
|
}
|
|
27241
28532
|
},
|
|
27242
28533
|
s: {
|
|
@@ -27330,7 +28621,7 @@
|
|
|
27330
28621
|
"15": [0, 0]
|
|
27331
28622
|
},
|
|
27332
28623
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
27333
|
-
hash: "
|
|
28624
|
+
hash: "f5f8d6f46f03f2aa306efe3919b23f3c41120511"
|
|
27334
28625
|
};
|
|
27335
28626
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
27336
28627
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -27346,7 +28637,7 @@
|
|
|
27346
28637
|
return actualCoverage;
|
|
27347
28638
|
}
|
|
27348
28639
|
cov_2jszpfxbn3();
|
|
27349
|
-
var NEETO_COMMONS_UTILS_IMPORT_PATTERNS = (cov_2jszpfxbn3().s[0]++, ["neetocommons/utils", "@bigbinary/neeto-commons-frontend/utils"]);
|
|
28640
|
+
var NEETO_COMMONS_UTILS_IMPORT_PATTERNS = (cov_2jszpfxbn3().s[0]++, ["neetocommons/utils", "@bigbinary/neeto-commons-frontend/utils", "neetomolecules/CopyToClipboardButton", "@bigbinary/neeto-molecules/CopyToClipboardButton"]);
|
|
27350
28641
|
var NOT_EQUALS_DEEP_CALL_EXP_PATTERN = (cov_2jszpfxbn3().s[1]++, {
|
|
27351
28642
|
type: TYPES.CALL_EXPRESSION,
|
|
27352
28643
|
callee: {
|
|
@@ -63715,6 +65006,7 @@
|
|
|
63715
65006
|
"combine-multiple-independent-awaits": combineMultipleIndependentAwaits,
|
|
63716
65007
|
"consistent-button-link-anchor": consistentButtonLinkAnchor,
|
|
63717
65008
|
"ensure-compact-objects": ensureCompactObjects,
|
|
65009
|
+
"ensure-formik-eager-validation": ensureFormikEagerValidation,
|
|
63718
65010
|
"ensure-zustand-stores-are-type-annotated": ensureZustandStoresAreTypeAnnotated,
|
|
63719
65011
|
"files-inside-react-query-folder-should-end-with-api": filesInsideReactQueryFolderShouldEndWithApi,
|
|
63720
65012
|
"file-name-and-export-name-standards": fileNameAndExportNameStandards,
|