@bigbinary/eslint-plugin-neeto 1.0.46 → 1.0.48

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