@bigbinary/eslint-plugin-neeto 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/index.js +1174 -662
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -222,6 +222,7 @@
|
|
|
222
222
|
"@bigbinary/neeto/no-axios-import-outside-apis": ["error", resolve.alias],
|
|
223
223
|
"@bigbinary/neeto/no-blacklisted-imports": "warn",
|
|
224
224
|
"@bigbinary/neeto/no-conditional-overlays": "error",
|
|
225
|
+
"@bigbinary/neeto/no-deprecated-imports-from-zustand": "error",
|
|
225
226
|
"@bigbinary/neeto/no-dangling-constants": "error",
|
|
226
227
|
"@bigbinary/neeto/no-excess-function-arguments": "warn",
|
|
227
228
|
"@bigbinary/neeto/no-globalProps-destructure": "error",
|
|
@@ -831,7 +832,7 @@
|
|
|
831
832
|
|
|
832
833
|
function cov_2kvndqkrrx() {
|
|
833
834
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/constants.js";
|
|
834
|
-
var hash = "
|
|
835
|
+
var hash = "1a32ceebfdaf3ce469601e8f1fc5ece138adafa3";
|
|
835
836
|
var global = new Function("return this")();
|
|
836
837
|
var gcv = "__coverage__";
|
|
837
838
|
var coverageData = {
|
|
@@ -906,6 +907,46 @@
|
|
|
906
907
|
line: 65,
|
|
907
908
|
column: 1
|
|
908
909
|
}
|
|
910
|
+
},
|
|
911
|
+
"7": {
|
|
912
|
+
start: {
|
|
913
|
+
line: 67,
|
|
914
|
+
column: 32
|
|
915
|
+
},
|
|
916
|
+
end: {
|
|
917
|
+
line: 67,
|
|
918
|
+
column: 53
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"8": {
|
|
922
|
+
start: {
|
|
923
|
+
line: 69,
|
|
924
|
+
column: 35
|
|
925
|
+
},
|
|
926
|
+
end: {
|
|
927
|
+
line: 69,
|
|
928
|
+
column: 49
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"9": {
|
|
932
|
+
start: {
|
|
933
|
+
line: 71,
|
|
934
|
+
column: 33
|
|
935
|
+
},
|
|
936
|
+
end: {
|
|
937
|
+
line: 71,
|
|
938
|
+
column: 56
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"10": {
|
|
942
|
+
start: {
|
|
943
|
+
line: 73,
|
|
944
|
+
column: 32
|
|
945
|
+
},
|
|
946
|
+
end: {
|
|
947
|
+
line: 73,
|
|
948
|
+
column: 46
|
|
949
|
+
}
|
|
909
950
|
}
|
|
910
951
|
},
|
|
911
952
|
fnMap: {},
|
|
@@ -917,12 +958,16 @@
|
|
|
917
958
|
"3": 0,
|
|
918
959
|
"4": 0,
|
|
919
960
|
"5": 0,
|
|
920
|
-
"6": 0
|
|
961
|
+
"6": 0,
|
|
962
|
+
"7": 0,
|
|
963
|
+
"8": 0,
|
|
964
|
+
"9": 0,
|
|
965
|
+
"10": 0
|
|
921
966
|
},
|
|
922
967
|
f: {},
|
|
923
968
|
b: {},
|
|
924
969
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
925
|
-
hash: "
|
|
970
|
+
hash: "1a32ceebfdaf3ce469601e8f1fc5ece138adafa3"
|
|
926
971
|
};
|
|
927
972
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
928
973
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -994,6 +1039,10 @@
|
|
|
994
1039
|
type: TYPES.IMPORT_SPECIFIER
|
|
995
1040
|
}]
|
|
996
1041
|
});
|
|
1042
|
+
var CAMEL_CASE_REGEX = (cov_2kvndqkrrx().s[7]++, /^[a-z][A-Za-z0-9]*$/);
|
|
1043
|
+
var CONSTANT_CASE_REGEX = (cov_2kvndqkrrx().s[8]++, /^[A-Z0-9_]+$/);
|
|
1044
|
+
var PASCAL_CASE_REGEX = (cov_2kvndqkrrx().s[9]++, /^(?:[A-Z][a-z0-9]+)+$/);
|
|
1045
|
+
var SNAKE_CASE_REGEX = (cov_2kvndqkrrx().s[10]++, /^[a-z0-9_]+$/);
|
|
997
1046
|
|
|
998
1047
|
function _typeof(obj) {
|
|
999
1048
|
"@babel/helpers - typeof";
|
|
@@ -3537,7 +3586,7 @@
|
|
|
3537
3586
|
|
|
3538
3587
|
function cov_26237ygvis() {
|
|
3539
3588
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/utils/messages.js";
|
|
3540
|
-
var hash = "
|
|
3589
|
+
var hash = "63f64d98ea236f4c737f987542a6bf761941f20e";
|
|
3541
3590
|
var global = new Function("return this")();
|
|
3542
3591
|
var gcv = "__coverage__";
|
|
3543
3592
|
var coverageData = {
|
|
@@ -3744,462 +3793,482 @@
|
|
|
3744
3793
|
}
|
|
3745
3794
|
},
|
|
3746
3795
|
"20": {
|
|
3796
|
+
start: {
|
|
3797
|
+
line: 34,
|
|
3798
|
+
column: 47
|
|
3799
|
+
},
|
|
3800
|
+
end: {
|
|
3801
|
+
line: 35,
|
|
3802
|
+
column: 98
|
|
3803
|
+
}
|
|
3804
|
+
},
|
|
3805
|
+
"21": {
|
|
3747
3806
|
start: {
|
|
3748
3807
|
line: 35,
|
|
3749
3808
|
column: 2
|
|
3750
3809
|
},
|
|
3751
3810
|
end: {
|
|
3752
3811
|
line: 35,
|
|
3753
|
-
column:
|
|
3812
|
+
column: 98
|
|
3754
3813
|
}
|
|
3755
3814
|
},
|
|
3756
|
-
"
|
|
3815
|
+
"22": {
|
|
3757
3816
|
start: {
|
|
3758
3817
|
line: 38,
|
|
3759
3818
|
column: 2
|
|
3760
3819
|
},
|
|
3761
3820
|
end: {
|
|
3762
3821
|
line: 38,
|
|
3763
|
-
column:
|
|
3822
|
+
column: 68
|
|
3764
3823
|
}
|
|
3765
3824
|
},
|
|
3766
|
-
"
|
|
3825
|
+
"23": {
|
|
3767
3826
|
start: {
|
|
3768
3827
|
line: 41,
|
|
3769
3828
|
column: 2
|
|
3770
3829
|
},
|
|
3771
3830
|
end: {
|
|
3772
3831
|
line: 41,
|
|
3773
|
-
column:
|
|
3832
|
+
column: 62
|
|
3774
3833
|
}
|
|
3775
3834
|
},
|
|
3776
|
-
"
|
|
3835
|
+
"24": {
|
|
3777
3836
|
start: {
|
|
3778
3837
|
line: 44,
|
|
3779
3838
|
column: 2
|
|
3780
3839
|
},
|
|
3781
3840
|
end: {
|
|
3782
3841
|
line: 44,
|
|
3783
|
-
column:
|
|
3842
|
+
column: 46
|
|
3784
3843
|
}
|
|
3785
3844
|
},
|
|
3786
|
-
"
|
|
3845
|
+
"25": {
|
|
3787
3846
|
start: {
|
|
3788
3847
|
line: 47,
|
|
3789
3848
|
column: 2
|
|
3790
3849
|
},
|
|
3791
3850
|
end: {
|
|
3792
3851
|
line: 47,
|
|
3793
|
-
column:
|
|
3852
|
+
column: 57
|
|
3794
3853
|
}
|
|
3795
3854
|
},
|
|
3796
|
-
"
|
|
3855
|
+
"26": {
|
|
3797
3856
|
start: {
|
|
3798
3857
|
line: 50,
|
|
3799
3858
|
column: 2
|
|
3800
3859
|
},
|
|
3801
3860
|
end: {
|
|
3802
3861
|
line: 50,
|
|
3803
|
-
column:
|
|
3862
|
+
column: 78
|
|
3804
3863
|
}
|
|
3805
3864
|
},
|
|
3806
|
-
"
|
|
3865
|
+
"27": {
|
|
3807
3866
|
start: {
|
|
3808
3867
|
line: 53,
|
|
3809
3868
|
column: 2
|
|
3810
3869
|
},
|
|
3811
3870
|
end: {
|
|
3812
3871
|
line: 53,
|
|
3813
|
-
column:
|
|
3872
|
+
column: 54
|
|
3814
3873
|
}
|
|
3815
3874
|
},
|
|
3816
|
-
"
|
|
3875
|
+
"28": {
|
|
3817
3876
|
start: {
|
|
3818
|
-
line:
|
|
3819
|
-
column:
|
|
3877
|
+
line: 56,
|
|
3878
|
+
column: 2
|
|
3820
3879
|
},
|
|
3821
3880
|
end: {
|
|
3822
|
-
line:
|
|
3823
|
-
column:
|
|
3881
|
+
line: 56,
|
|
3882
|
+
column: 92
|
|
3824
3883
|
}
|
|
3825
3884
|
},
|
|
3826
|
-
"
|
|
3885
|
+
"29": {
|
|
3827
3886
|
start: {
|
|
3828
|
-
line:
|
|
3829
|
-
column:
|
|
3887
|
+
line: 58,
|
|
3888
|
+
column: 54
|
|
3830
3889
|
},
|
|
3831
3890
|
end: {
|
|
3832
|
-
line:
|
|
3833
|
-
column:
|
|
3891
|
+
line: 58,
|
|
3892
|
+
column: 150
|
|
3834
3893
|
}
|
|
3835
3894
|
},
|
|
3836
|
-
"
|
|
3895
|
+
"30": {
|
|
3837
3896
|
start: {
|
|
3838
3897
|
line: 60,
|
|
3839
|
-
column:
|
|
3898
|
+
column: 52
|
|
3840
3899
|
},
|
|
3841
3900
|
end: {
|
|
3842
3901
|
line: 60,
|
|
3843
|
-
column:
|
|
3902
|
+
column: 134
|
|
3844
3903
|
}
|
|
3845
3904
|
},
|
|
3846
|
-
"
|
|
3905
|
+
"31": {
|
|
3847
3906
|
start: {
|
|
3848
3907
|
line: 63,
|
|
3849
3908
|
column: 2
|
|
3850
3909
|
},
|
|
3851
3910
|
end: {
|
|
3852
3911
|
line: 63,
|
|
3853
|
-
column:
|
|
3912
|
+
column: 67
|
|
3854
3913
|
}
|
|
3855
3914
|
},
|
|
3856
|
-
"
|
|
3915
|
+
"32": {
|
|
3857
3916
|
start: {
|
|
3858
3917
|
line: 66,
|
|
3859
3918
|
column: 2
|
|
3860
3919
|
},
|
|
3861
3920
|
end: {
|
|
3862
3921
|
line: 66,
|
|
3863
|
-
column:
|
|
3922
|
+
column: 80
|
|
3864
3923
|
}
|
|
3865
3924
|
},
|
|
3866
|
-
"
|
|
3925
|
+
"33": {
|
|
3867
3926
|
start: {
|
|
3868
3927
|
line: 69,
|
|
3869
3928
|
column: 2
|
|
3870
3929
|
},
|
|
3871
3930
|
end: {
|
|
3872
3931
|
line: 69,
|
|
3873
|
-
column:
|
|
3932
|
+
column: 64
|
|
3874
3933
|
}
|
|
3875
3934
|
},
|
|
3876
|
-
"
|
|
3935
|
+
"34": {
|
|
3877
3936
|
start: {
|
|
3878
3937
|
line: 72,
|
|
3879
3938
|
column: 2
|
|
3880
3939
|
},
|
|
3881
3940
|
end: {
|
|
3882
3941
|
line: 72,
|
|
3883
|
-
column:
|
|
3942
|
+
column: 57
|
|
3884
3943
|
}
|
|
3885
3944
|
},
|
|
3886
|
-
"
|
|
3945
|
+
"35": {
|
|
3887
3946
|
start: {
|
|
3888
3947
|
line: 75,
|
|
3889
3948
|
column: 2
|
|
3890
3949
|
},
|
|
3891
3950
|
end: {
|
|
3892
3951
|
line: 75,
|
|
3893
|
-
column:
|
|
3952
|
+
column: 88
|
|
3894
3953
|
}
|
|
3895
3954
|
},
|
|
3896
|
-
"
|
|
3955
|
+
"36": {
|
|
3897
3956
|
start: {
|
|
3898
3957
|
line: 78,
|
|
3899
3958
|
column: 2
|
|
3900
3959
|
},
|
|
3901
3960
|
end: {
|
|
3902
3961
|
line: 78,
|
|
3903
|
-
column:
|
|
3962
|
+
column: 43
|
|
3904
3963
|
}
|
|
3905
3964
|
},
|
|
3906
|
-
"
|
|
3965
|
+
"37": {
|
|
3907
3966
|
start: {
|
|
3908
3967
|
line: 81,
|
|
3909
3968
|
column: 2
|
|
3910
3969
|
},
|
|
3911
3970
|
end: {
|
|
3912
3971
|
line: 81,
|
|
3913
|
-
column:
|
|
3972
|
+
column: 51
|
|
3914
3973
|
}
|
|
3915
3974
|
},
|
|
3916
|
-
"
|
|
3975
|
+
"38": {
|
|
3917
3976
|
start: {
|
|
3918
3977
|
line: 84,
|
|
3919
3978
|
column: 2
|
|
3920
3979
|
},
|
|
3921
3980
|
end: {
|
|
3922
3981
|
line: 84,
|
|
3923
|
-
column:
|
|
3982
|
+
column: 49
|
|
3924
3983
|
}
|
|
3925
3984
|
},
|
|
3926
|
-
"
|
|
3985
|
+
"39": {
|
|
3927
3986
|
start: {
|
|
3928
3987
|
line: 87,
|
|
3929
3988
|
column: 2
|
|
3930
3989
|
},
|
|
3931
3990
|
end: {
|
|
3932
3991
|
line: 87,
|
|
3933
|
-
column:
|
|
3992
|
+
column: 72
|
|
3934
3993
|
}
|
|
3935
3994
|
},
|
|
3936
|
-
"
|
|
3995
|
+
"40": {
|
|
3937
3996
|
start: {
|
|
3938
3997
|
line: 90,
|
|
3939
3998
|
column: 2
|
|
3940
3999
|
},
|
|
3941
4000
|
end: {
|
|
3942
4001
|
line: 90,
|
|
3943
|
-
column:
|
|
4002
|
+
column: 64
|
|
3944
4003
|
}
|
|
3945
4004
|
},
|
|
3946
|
-
"
|
|
4005
|
+
"41": {
|
|
3947
4006
|
start: {
|
|
3948
4007
|
line: 93,
|
|
3949
4008
|
column: 2
|
|
3950
4009
|
},
|
|
3951
4010
|
end: {
|
|
3952
4011
|
line: 93,
|
|
3953
|
-
column:
|
|
4012
|
+
column: 158
|
|
3954
4013
|
}
|
|
3955
4014
|
},
|
|
3956
|
-
"
|
|
4015
|
+
"42": {
|
|
3957
4016
|
start: {
|
|
3958
4017
|
line: 96,
|
|
3959
4018
|
column: 2
|
|
3960
4019
|
},
|
|
3961
4020
|
end: {
|
|
3962
4021
|
line: 96,
|
|
3963
|
-
column:
|
|
4022
|
+
column: 75
|
|
3964
4023
|
}
|
|
3965
4024
|
},
|
|
3966
|
-
"
|
|
4025
|
+
"43": {
|
|
3967
4026
|
start: {
|
|
3968
4027
|
line: 99,
|
|
3969
4028
|
column: 2
|
|
3970
4029
|
},
|
|
3971
4030
|
end: {
|
|
3972
4031
|
line: 99,
|
|
3973
|
-
column:
|
|
4032
|
+
column: 56
|
|
3974
4033
|
}
|
|
3975
4034
|
},
|
|
3976
|
-
"
|
|
4035
|
+
"44": {
|
|
3977
4036
|
start: {
|
|
3978
4037
|
line: 102,
|
|
3979
4038
|
column: 2
|
|
3980
4039
|
},
|
|
3981
4040
|
end: {
|
|
3982
4041
|
line: 102,
|
|
3983
|
-
column:
|
|
4042
|
+
column: 105
|
|
3984
4043
|
}
|
|
3985
4044
|
},
|
|
3986
|
-
"
|
|
4045
|
+
"45": {
|
|
3987
4046
|
start: {
|
|
3988
4047
|
line: 105,
|
|
3989
4048
|
column: 2
|
|
3990
4049
|
},
|
|
3991
4050
|
end: {
|
|
3992
4051
|
line: 105,
|
|
3993
|
-
column:
|
|
4052
|
+
column: 76
|
|
3994
4053
|
}
|
|
3995
4054
|
},
|
|
3996
|
-
"
|
|
4055
|
+
"46": {
|
|
3997
4056
|
start: {
|
|
3998
4057
|
line: 108,
|
|
3999
4058
|
column: 2
|
|
4000
4059
|
},
|
|
4001
4060
|
end: {
|
|
4002
4061
|
line: 108,
|
|
4003
|
-
column:
|
|
4062
|
+
column: 96
|
|
4004
4063
|
}
|
|
4005
4064
|
},
|
|
4006
|
-
"
|
|
4065
|
+
"47": {
|
|
4007
4066
|
start: {
|
|
4008
4067
|
line: 111,
|
|
4009
4068
|
column: 2
|
|
4010
4069
|
},
|
|
4011
4070
|
end: {
|
|
4012
4071
|
line: 111,
|
|
4013
|
-
column:
|
|
4072
|
+
column: 100
|
|
4014
4073
|
}
|
|
4015
4074
|
},
|
|
4016
|
-
"
|
|
4075
|
+
"48": {
|
|
4017
4076
|
start: {
|
|
4018
4077
|
line: 114,
|
|
4019
4078
|
column: 2
|
|
4020
4079
|
},
|
|
4021
4080
|
end: {
|
|
4022
4081
|
line: 114,
|
|
4023
|
-
column:
|
|
4082
|
+
column: 45
|
|
4024
4083
|
}
|
|
4025
4084
|
},
|
|
4026
|
-
"
|
|
4085
|
+
"49": {
|
|
4027
4086
|
start: {
|
|
4028
4087
|
line: 117,
|
|
4029
4088
|
column: 2
|
|
4030
4089
|
},
|
|
4031
4090
|
end: {
|
|
4032
4091
|
line: 117,
|
|
4033
|
-
column:
|
|
4092
|
+
column: 91
|
|
4034
4093
|
}
|
|
4035
4094
|
},
|
|
4036
|
-
"
|
|
4095
|
+
"50": {
|
|
4037
4096
|
start: {
|
|
4038
4097
|
line: 120,
|
|
4039
4098
|
column: 2
|
|
4040
4099
|
},
|
|
4041
4100
|
end: {
|
|
4042
4101
|
line: 120,
|
|
4043
|
-
column:
|
|
4102
|
+
column: 92
|
|
4044
4103
|
}
|
|
4045
4104
|
},
|
|
4046
|
-
"
|
|
4105
|
+
"51": {
|
|
4047
4106
|
start: {
|
|
4048
4107
|
line: 123,
|
|
4049
4108
|
column: 2
|
|
4050
4109
|
},
|
|
4051
4110
|
end: {
|
|
4052
4111
|
line: 123,
|
|
4053
|
-
column:
|
|
4112
|
+
column: 90
|
|
4054
4113
|
}
|
|
4055
4114
|
},
|
|
4056
|
-
"
|
|
4115
|
+
"52": {
|
|
4057
4116
|
start: {
|
|
4058
4117
|
line: 126,
|
|
4059
4118
|
column: 2
|
|
4060
4119
|
},
|
|
4061
4120
|
end: {
|
|
4062
4121
|
line: 126,
|
|
4063
|
-
column:
|
|
4122
|
+
column: 86
|
|
4064
4123
|
}
|
|
4065
4124
|
},
|
|
4066
|
-
"
|
|
4125
|
+
"53": {
|
|
4067
4126
|
start: {
|
|
4068
4127
|
line: 129,
|
|
4069
4128
|
column: 2
|
|
4070
4129
|
},
|
|
4071
4130
|
end: {
|
|
4072
4131
|
line: 129,
|
|
4073
|
-
column:
|
|
4132
|
+
column: 92
|
|
4074
4133
|
}
|
|
4075
4134
|
},
|
|
4076
|
-
"
|
|
4135
|
+
"54": {
|
|
4077
4136
|
start: {
|
|
4078
4137
|
line: 132,
|
|
4079
4138
|
column: 2
|
|
4080
4139
|
},
|
|
4081
4140
|
end: {
|
|
4082
4141
|
line: 132,
|
|
4083
|
-
column:
|
|
4142
|
+
column: 71
|
|
4084
4143
|
}
|
|
4085
4144
|
},
|
|
4086
|
-
"
|
|
4145
|
+
"55": {
|
|
4087
4146
|
start: {
|
|
4088
|
-
line:
|
|
4089
|
-
column:
|
|
4147
|
+
line: 135,
|
|
4148
|
+
column: 2
|
|
4090
4149
|
},
|
|
4091
4150
|
end: {
|
|
4092
|
-
line:
|
|
4093
|
-
column:
|
|
4151
|
+
line: 135,
|
|
4152
|
+
column: 53
|
|
4094
4153
|
}
|
|
4095
4154
|
},
|
|
4096
|
-
"
|
|
4155
|
+
"56": {
|
|
4097
4156
|
start: {
|
|
4098
|
-
line:
|
|
4099
|
-
column:
|
|
4157
|
+
line: 137,
|
|
4158
|
+
column: 56
|
|
4100
4159
|
},
|
|
4101
4160
|
end: {
|
|
4102
4161
|
line: 141,
|
|
4103
|
-
column:
|
|
4162
|
+
column: 1
|
|
4104
4163
|
}
|
|
4105
4164
|
},
|
|
4106
|
-
"
|
|
4165
|
+
"57": {
|
|
4107
4166
|
start: {
|
|
4108
4167
|
line: 144,
|
|
4109
4168
|
column: 2
|
|
4110
4169
|
},
|
|
4111
4170
|
end: {
|
|
4112
4171
|
line: 144,
|
|
4113
|
-
column:
|
|
4172
|
+
column: 49
|
|
4114
4173
|
}
|
|
4115
4174
|
},
|
|
4116
|
-
"
|
|
4175
|
+
"58": {
|
|
4117
4176
|
start: {
|
|
4118
4177
|
line: 147,
|
|
4119
4178
|
column: 2
|
|
4120
4179
|
},
|
|
4121
4180
|
end: {
|
|
4122
4181
|
line: 147,
|
|
4123
|
-
column:
|
|
4182
|
+
column: 54
|
|
4124
4183
|
}
|
|
4125
4184
|
},
|
|
4126
|
-
"
|
|
4185
|
+
"59": {
|
|
4127
4186
|
start: {
|
|
4128
4187
|
line: 150,
|
|
4129
4188
|
column: 2
|
|
4130
4189
|
},
|
|
4131
4190
|
end: {
|
|
4132
4191
|
line: 150,
|
|
4133
|
-
column:
|
|
4192
|
+
column: 43
|
|
4134
4193
|
}
|
|
4135
4194
|
},
|
|
4136
|
-
"
|
|
4195
|
+
"60": {
|
|
4137
4196
|
start: {
|
|
4138
4197
|
line: 153,
|
|
4139
4198
|
column: 2
|
|
4140
4199
|
},
|
|
4141
4200
|
end: {
|
|
4142
4201
|
line: 153,
|
|
4143
|
-
column:
|
|
4202
|
+
column: 178
|
|
4144
4203
|
}
|
|
4145
4204
|
},
|
|
4146
|
-
"
|
|
4205
|
+
"61": {
|
|
4147
4206
|
start: {
|
|
4148
4207
|
line: 156,
|
|
4149
4208
|
column: 2
|
|
4150
4209
|
},
|
|
4151
4210
|
end: {
|
|
4152
4211
|
line: 156,
|
|
4153
|
-
column:
|
|
4212
|
+
column: 184
|
|
4154
4213
|
}
|
|
4155
4214
|
},
|
|
4156
|
-
"
|
|
4215
|
+
"62": {
|
|
4157
4216
|
start: {
|
|
4158
4217
|
line: 159,
|
|
4159
4218
|
column: 2
|
|
4160
4219
|
},
|
|
4161
4220
|
end: {
|
|
4162
4221
|
line: 159,
|
|
4163
|
-
column:
|
|
4222
|
+
column: 193
|
|
4164
4223
|
}
|
|
4165
4224
|
},
|
|
4166
|
-
"
|
|
4225
|
+
"63": {
|
|
4167
4226
|
start: {
|
|
4168
4227
|
line: 162,
|
|
4169
4228
|
column: 2
|
|
4170
4229
|
},
|
|
4171
4230
|
end: {
|
|
4172
4231
|
line: 162,
|
|
4173
|
-
column:
|
|
4232
|
+
column: 72
|
|
4174
4233
|
}
|
|
4175
4234
|
},
|
|
4176
|
-
"
|
|
4235
|
+
"64": {
|
|
4177
4236
|
start: {
|
|
4178
4237
|
line: 165,
|
|
4179
4238
|
column: 2
|
|
4180
4239
|
},
|
|
4181
4240
|
end: {
|
|
4182
4241
|
line: 165,
|
|
4183
|
-
column:
|
|
4242
|
+
column: 111
|
|
4184
4243
|
}
|
|
4185
4244
|
},
|
|
4186
|
-
"
|
|
4245
|
+
"65": {
|
|
4187
4246
|
start: {
|
|
4188
4247
|
line: 168,
|
|
4189
4248
|
column: 2
|
|
4190
4249
|
},
|
|
4191
4250
|
end: {
|
|
4192
4251
|
line: 168,
|
|
4193
|
-
column:
|
|
4252
|
+
column: 115
|
|
4194
4253
|
}
|
|
4195
4254
|
},
|
|
4196
|
-
"
|
|
4255
|
+
"66": {
|
|
4197
4256
|
start: {
|
|
4198
4257
|
line: 171,
|
|
4199
4258
|
column: 2
|
|
4200
4259
|
},
|
|
4201
4260
|
end: {
|
|
4202
4261
|
line: 171,
|
|
4262
|
+
column: 85
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4265
|
+
"67": {
|
|
4266
|
+
start: {
|
|
4267
|
+
line: 174,
|
|
4268
|
+
column: 2
|
|
4269
|
+
},
|
|
4270
|
+
end: {
|
|
4271
|
+
line: 174,
|
|
4203
4272
|
column: 132
|
|
4204
4273
|
}
|
|
4205
4274
|
}
|
|
@@ -4444,6 +4513,30 @@
|
|
|
4444
4513
|
}
|
|
4445
4514
|
},
|
|
4446
4515
|
line: 32
|
|
4516
|
+
},
|
|
4517
|
+
"10": {
|
|
4518
|
+
name: "(anonymous_10)",
|
|
4519
|
+
decl: {
|
|
4520
|
+
start: {
|
|
4521
|
+
line: 34,
|
|
4522
|
+
column: 47
|
|
4523
|
+
},
|
|
4524
|
+
end: {
|
|
4525
|
+
line: 34,
|
|
4526
|
+
column: 48
|
|
4527
|
+
}
|
|
4528
|
+
},
|
|
4529
|
+
loc: {
|
|
4530
|
+
start: {
|
|
4531
|
+
line: 35,
|
|
4532
|
+
column: 2
|
|
4533
|
+
},
|
|
4534
|
+
end: {
|
|
4535
|
+
line: 35,
|
|
4536
|
+
column: 98
|
|
4537
|
+
}
|
|
4538
|
+
},
|
|
4539
|
+
line: 35
|
|
4447
4540
|
}
|
|
4448
4541
|
},
|
|
4449
4542
|
branchMap: {},
|
|
@@ -4513,7 +4606,9 @@
|
|
|
4513
4606
|
"62": 0,
|
|
4514
4607
|
"63": 0,
|
|
4515
4608
|
"64": 0,
|
|
4516
|
-
"65": 0
|
|
4609
|
+
"65": 0,
|
|
4610
|
+
"66": 0,
|
|
4611
|
+
"67": 0
|
|
4517
4612
|
},
|
|
4518
4613
|
f: {
|
|
4519
4614
|
"0": 0,
|
|
@@ -4525,11 +4620,12 @@
|
|
|
4525
4620
|
"6": 0,
|
|
4526
4621
|
"7": 0,
|
|
4527
4622
|
"8": 0,
|
|
4528
|
-
"9": 0
|
|
4623
|
+
"9": 0,
|
|
4624
|
+
"10": 0
|
|
4529
4625
|
},
|
|
4530
4626
|
b: {},
|
|
4531
4627
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
4532
|
-
hash: "
|
|
4628
|
+
hash: "63f64d98ea236f4c737f987542a6bf761941f20e"
|
|
4533
4629
|
};
|
|
4534
4630
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
4535
4631
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -4607,52 +4703,58 @@
|
|
|
4607
4703
|
cov_26237ygvis().s[19]++;
|
|
4608
4704
|
return "Use either camelCase or PascalCase for naming the function - ".concat(functionName, ".");
|
|
4609
4705
|
};
|
|
4610
|
-
|
|
4611
|
-
var
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
var
|
|
4617
|
-
var
|
|
4618
|
-
var
|
|
4619
|
-
var
|
|
4620
|
-
var
|
|
4621
|
-
var
|
|
4622
|
-
var
|
|
4623
|
-
var
|
|
4624
|
-
var
|
|
4625
|
-
var
|
|
4626
|
-
var
|
|
4627
|
-
var
|
|
4628
|
-
var
|
|
4629
|
-
var
|
|
4630
|
-
var
|
|
4631
|
-
var
|
|
4632
|
-
var
|
|
4633
|
-
var
|
|
4634
|
-
var
|
|
4635
|
-
var
|
|
4636
|
-
var
|
|
4637
|
-
var
|
|
4638
|
-
var
|
|
4639
|
-
var
|
|
4640
|
-
var
|
|
4641
|
-
var
|
|
4642
|
-
var
|
|
4643
|
-
var
|
|
4644
|
-
var
|
|
4645
|
-
var
|
|
4646
|
-
var
|
|
4647
|
-
var
|
|
4648
|
-
var
|
|
4649
|
-
var
|
|
4650
|
-
var
|
|
4651
|
-
var
|
|
4652
|
-
var
|
|
4653
|
-
var
|
|
4654
|
-
var
|
|
4655
|
-
var
|
|
4706
|
+
cov_26237ygvis().s[20]++;
|
|
4707
|
+
var replaceZustandDefaultExportWith = function replaceZustandDefaultExportWith(fix) {
|
|
4708
|
+
cov_26237ygvis().f[10]++;
|
|
4709
|
+
cov_26237ygvis().s[21]++;
|
|
4710
|
+
return "Zustand has deprecated the use of default exports for its functions. Replace this with: ".concat(fix);
|
|
4711
|
+
};
|
|
4712
|
+
var API_CONNECTOR_SHOULD_USE_DEFAULT_EXPORT_MESSAGE = (cov_26237ygvis().s[22]++, "API Connector should be exported using the default export method");
|
|
4713
|
+
var COMBINE_MULTIPLE_INDEPENDENT_AWAITS_MESSAGE = (cov_26237ygvis().s[23]++, "Combine independent awaits to a single `Promise.all` call.");
|
|
4714
|
+
var EXPORTED_OBJECT_AND_FILENAME_SHOULD_MATCH_MESSAGE = (cov_26237ygvis().s[24]++, "Exported object and filename should match.");
|
|
4715
|
+
var GLOBALPROPS_NO_ASSIGNMENT_MESSAGE = (cov_26237ygvis().s[25]++, "globalProps should not be assigned to other variables");
|
|
4716
|
+
var NESTED_GLOBALPROPS_NO_ASSIGNMENT_MESSAGE = (cov_26237ygvis().s[26]++, "Nested properties of globalProps should not be assigned to other variables");
|
|
4717
|
+
var NO_AXIOS_IMPORT_OUTSIDE_APIS_MESSAGE = (cov_26237ygvis().s[27]++, "Do not use axios outside `app/javascript/src/apis`");
|
|
4718
|
+
var NO_CONDITIONAL_RENDER_OF_OVERLAYS = (cov_26237ygvis().s[28]++, "Overlay components should not be rendered conditionally. Use `isOpen` attribute instead.");
|
|
4719
|
+
var NO_EXCESS_API_ACTION_ARGUMENTS_MESSAGE = (cov_26237ygvis().s[29]++, "API actions should use named parameters for more than ".concat(API_ACTIONS_ARGUMENT_LIMIT, " parameters"));
|
|
4720
|
+
var NO_EXCESS_FUNCTION_ARGUMENTS_MESSAGE = (cov_26237ygvis().s[30]++, "Functions should use named parameters for more than ".concat(ARGUMENT_LIMIT, " parameters"));
|
|
4721
|
+
var NO_GLOBALPROPS_REASSIGNMENT_MESSAGE = (cov_26237ygvis().s[31]++, "globalProps or its nested properties should not be re-assigned.");
|
|
4722
|
+
var NO_ROUTES_ASSIGNMENT = (cov_26237ygvis().s[32]++, "`routes` or its nested properties should not be assigned to other variables.");
|
|
4723
|
+
var NO_ROUTES_REASSIGNMENT = (cov_26237ygvis().s[33]++, "`routes` or its nested properties should not be re-assigned.");
|
|
4724
|
+
var NO_NAMESPACE_SPECIFIER_IMPORT_FOR_RAMDA_MESSAGE = (cov_26237ygvis().s[34]++, 'Use `import { methodsToImport } from "ramda"` instead');
|
|
4725
|
+
var PREFIX_NEETO_UI_IMPORT_ALIAS_MESSAGE = (cov_26237ygvis().s[35]++, "Aliases for anything imported from neetoUI or neetoIcons should start with `NeetoUI`");
|
|
4726
|
+
var ROUTE_SHOULD_BE_A_STRING = (cov_26237ygvis().s[36]++, "Route should be a plain string literal.");
|
|
4727
|
+
var ROUTE_SHOULD_MATCH_OBJECT_PATH = (cov_26237ygvis().s[37]++, "Route string should match with its object path.");
|
|
4728
|
+
var ROUTES_HAS_ALREADY_BEEN_DECLARED = (cov_26237ygvis().s[38]++, "Identifier `routes` has already been declared");
|
|
4729
|
+
var ROUTES_CONSTANT_SHOULD_BE_DECLARED = (cov_26237ygvis().s[39]++, "A constant object named `routes` should be declared inside routes.js");
|
|
4730
|
+
var ROUTES_SHOULD_USE_DEFAULT_EXPORT = (cov_26237ygvis().s[40]++, "`routes` should be exported using the default export method.");
|
|
4731
|
+
var USE_ARRAY_METHODS = (cov_26237ygvis().s[41]++, "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");
|
|
4732
|
+
var USE_AXIOS_CONFIG_FOR_PASSING_QUERY_PARAMETERS_MESSAGE = (cov_26237ygvis().s[42]++, "Use 'params attribute in axios configuration' to pass query parameters.");
|
|
4733
|
+
var USE_INLINE_SVG_FOR_RENDER = (cov_26237ygvis().s[43]++, "Use inline SVG instead of img tag for rendering SVGs");
|
|
4734
|
+
var USE_LINK_FOR_NAVIGATION = (cov_26237ygvis().s[44]++, "Use Link or NavLink component from 'react-router-dom' for click-navigation instead of onClick handler");
|
|
4735
|
+
var USE_ANCHOR_FOR_NAVIGATION = (cov_26237ygvis().s[45]++, "Use Anchor element (<a>) for click-navigation instead of onClick handler");
|
|
4736
|
+
var USE_BUTTON_TO_FOR_LINK_NAVIGATION = (cov_26237ygvis().s[46]++, "Use `to` prop of Button (<Button to='path'>) for click-navigation instead of onClick handler");
|
|
4737
|
+
var USE_BUTTON_TO_FOR_ANCHOR_NAVIGATION = (cov_26237ygvis().s[47]++, "Use `href` prop of Button (<Button href='path'>) for click-navigation instead of onClick handler");
|
|
4738
|
+
var USE_NEETO_SMALLER_CASE = (cov_26237ygvis().s[48]++, "Use 'neeto' instead of 'Neeto' in strings");
|
|
4739
|
+
var USE_NEETOUI_BORDER_COLOR = (cov_26237ygvis().s[49]++, "Use neetoUI border color. Refer https://bit.ly/neeto-ui-border-colors for more details.");
|
|
4740
|
+
var USE_NEETOUI_BORDER_RADIUS = (cov_26237ygvis().s[50]++, "Use neetoUI border radius. Refer https://bit.ly/neeto-ui-border-radius for more details.");
|
|
4741
|
+
var USE_NEETOUI_BOX_SHADOW = (cov_26237ygvis().s[51]++, "Use neetoUI border shadow. Refer https://bit.ly/neeto-ui-box-shadows for more details.");
|
|
4742
|
+
var USE_NEETOUI_TEXT_COLOR = (cov_26237ygvis().s[52]++, "Use neetoUI text color. Refer https://bit.ly/neeto-ui-text-color for more details.");
|
|
4743
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_SELECTOR = (cov_26237ygvis().s[53]++, "Don't use zustand store hook without a selector function. It will impact the performance");
|
|
4744
|
+
var DONT_USE_ZUSTAND_STORE_WITHOUT_COMPARATOR_FUNCTION = (cov_26237ygvis().s[54]++, "Don't pick multiple zustand state items without comparator function");
|
|
4745
|
+
var USE_PROP_FOR_PICKING_SINGLE_ITEM = (cov_26237ygvis().s[55]++, "Use prop instead of pick when picking single item");
|
|
4746
|
+
var ENSURE_ZUSTAND_STORES_ARE_TYPE_ANNOTATED = (cov_26237ygvis().s[56]++, "\n Zustand stores should be type annotated like this:\n /** @type {import(\"neetocommons/react-utils\").ZustandStoreHook} */\n const useUserStore = create(...)\n");
|
|
4747
|
+
var USE_REACT_QUERY_FOR_MANAGING_REMOTE_DATA = (cov_26237ygvis().s[57]++, "API calls should be managed using React Query");
|
|
4748
|
+
var FILES_INSIDE_REACT_QUERY_FOLDER_SHOULD_END_WITH_API = (cov_26237ygvis().s[58]++, "Files inside reactQuery folder should end with Api");
|
|
4749
|
+
var USE_ZUSTAND_FOR_GLOBAL_STATE_MANAGEMENT = (cov_26237ygvis().s[59]++, "Use zustand for global state management");
|
|
4750
|
+
var AVOID_T_FUNCTIONS_IN_STRING_INTERPOLATION = (cov_26237ygvis().s[60]++, "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");
|
|
4751
|
+
var AVOID_MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_26237ygvis().s[61]++, "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");
|
|
4752
|
+
var USE_TRANS_COMPONENTS_AND_VALUES_PROPS = (cov_26237ygvis().s[62]++, "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");
|
|
4753
|
+
var USE_TRANSLATION_HOOK_IN_COMPONENTS = (cov_26237ygvis().s[63]++, "Use translation function from `useTranslation()` hook in components.");
|
|
4754
|
+
var USE_COMPONENTS_CHILDREN_PROP_IN_TRANS = (cov_26237ygvis().s[64]++, "Use components children prop instead of label prop in `Trans` component to avoid multiple translation keys.");
|
|
4755
|
+
var USE_I18NEXT_PLURALS = (cov_26237ygvis().s[65]++, "Use plurals that comes with the `i18next` package for hard-coded strings. Refer: https://bit.ly/i18next-plurals");
|
|
4756
|
+
var USE_PLURALIZE_PACKAGE = (cov_26237ygvis().s[66]++, "Use `pluralize` package for dynamic values. Refer: https://bit.ly/i18next-plurals");
|
|
4757
|
+
var USE_COPY_TO_CLIPBOARD_FROM_NEETO_COMMONS = (cov_26237ygvis().s[67]++, "Use `copyToClipboard` from `@bigbinary/neeto-commons-frontend` package. Refer: https://bit.ly/copy-to-clipboard-utility-function");
|
|
4656
4758
|
|
|
4657
4759
|
function cov_22o2x8aeul() {
|
|
4658
4760
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/api-connector-name-should-match-filename.js";
|
|
@@ -14278,7 +14380,7 @@
|
|
|
14278
14380
|
|
|
14279
14381
|
function cov_25a29cwf40() {
|
|
14280
14382
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/file-name-and-export-name-standards/constants.js";
|
|
14281
|
-
var hash = "
|
|
14383
|
+
var hash = "d1ef70007eceffc6fb70eb4ca3ed515202a3dc31";
|
|
14282
14384
|
var global = new Function("return this")();
|
|
14283
14385
|
var gcv = "__coverage__";
|
|
14284
14386
|
var coverageData = {
|
|
@@ -14287,50 +14389,10 @@
|
|
|
14287
14389
|
"0": {
|
|
14288
14390
|
start: {
|
|
14289
14391
|
line: 5,
|
|
14290
|
-
column: 32
|
|
14291
|
-
},
|
|
14292
|
-
end: {
|
|
14293
|
-
line: 5,
|
|
14294
|
-
column: 53
|
|
14295
|
-
}
|
|
14296
|
-
},
|
|
14297
|
-
"1": {
|
|
14298
|
-
start: {
|
|
14299
|
-
line: 7,
|
|
14300
|
-
column: 35
|
|
14301
|
-
},
|
|
14302
|
-
end: {
|
|
14303
|
-
line: 7,
|
|
14304
|
-
column: 49
|
|
14305
|
-
}
|
|
14306
|
-
},
|
|
14307
|
-
"2": {
|
|
14308
|
-
start: {
|
|
14309
|
-
line: 9,
|
|
14310
|
-
column: 33
|
|
14311
|
-
},
|
|
14312
|
-
end: {
|
|
14313
|
-
line: 9,
|
|
14314
|
-
column: 54
|
|
14315
|
-
}
|
|
14316
|
-
},
|
|
14317
|
-
"3": {
|
|
14318
|
-
start: {
|
|
14319
|
-
line: 11,
|
|
14320
|
-
column: 32
|
|
14321
|
-
},
|
|
14322
|
-
end: {
|
|
14323
|
-
line: 11,
|
|
14324
|
-
column: 46
|
|
14325
|
-
}
|
|
14326
|
-
},
|
|
14327
|
-
"4": {
|
|
14328
|
-
start: {
|
|
14329
|
-
line: 13,
|
|
14330
14392
|
column: 30
|
|
14331
14393
|
},
|
|
14332
14394
|
end: {
|
|
14333
|
-
line:
|
|
14395
|
+
line: 10,
|
|
14334
14396
|
column: 1
|
|
14335
14397
|
}
|
|
14336
14398
|
}
|
|
@@ -14338,16 +14400,12 @@
|
|
|
14338
14400
|
fnMap: {},
|
|
14339
14401
|
branchMap: {},
|
|
14340
14402
|
s: {
|
|
14341
|
-
"0": 0
|
|
14342
|
-
"1": 0,
|
|
14343
|
-
"2": 0,
|
|
14344
|
-
"3": 0,
|
|
14345
|
-
"4": 0
|
|
14403
|
+
"0": 0
|
|
14346
14404
|
},
|
|
14347
14405
|
f: {},
|
|
14348
14406
|
b: {},
|
|
14349
14407
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14350
|
-
hash: "
|
|
14408
|
+
hash: "d1ef70007eceffc6fb70eb4ca3ed515202a3dc31"
|
|
14351
14409
|
};
|
|
14352
14410
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
14353
14411
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -14363,11 +14421,7 @@
|
|
|
14363
14421
|
return actualCoverage;
|
|
14364
14422
|
}
|
|
14365
14423
|
cov_25a29cwf40();
|
|
14366
|
-
var
|
|
14367
|
-
var CONSTANT_CASE_REGEX = (cov_25a29cwf40().s[1]++, /^[A-Z0-9_]+$/);
|
|
14368
|
-
var PASCAL_CASE_REGEX$2 = (cov_25a29cwf40().s[2]++, /^[A-Z][A-Za-z0-9]*$/);
|
|
14369
|
-
var SNAKE_CASE_REGEX$1 = (cov_25a29cwf40().s[3]++, /^[a-z0-9_]+$/);
|
|
14370
|
-
var EXPORT_PATTERN = (cov_25a29cwf40().s[4]++, {
|
|
14424
|
+
var EXPORT_PATTERN = (cov_25a29cwf40().s[0]++, {
|
|
14371
14425
|
type: ramda.includes(ramda.__, [TYPES.EXPORT_DEFAULT_DECLARATION, TYPES.EXPORT_NAMED_DECLARATION])
|
|
14372
14426
|
});
|
|
14373
14427
|
|
|
@@ -16883,10 +16937,10 @@
|
|
|
16883
16937
|
cov_qfcdmmo7c().b[2][1]++;
|
|
16884
16938
|
}
|
|
16885
16939
|
var regexes = (cov_qfcdmmo7c().s[9]++, {
|
|
16886
|
-
camelCase: CAMEL_CASE_REGEX
|
|
16940
|
+
camelCase: CAMEL_CASE_REGEX,
|
|
16887
16941
|
CONSTANT_CASE: CONSTANT_CASE_REGEX,
|
|
16888
|
-
PascalCase: PASCAL_CASE_REGEX
|
|
16889
|
-
snake_case: SNAKE_CASE_REGEX
|
|
16942
|
+
PascalCase: PASCAL_CASE_REGEX,
|
|
16943
|
+
snake_case: SNAKE_CASE_REGEX
|
|
16890
16944
|
});
|
|
16891
16945
|
cov_qfcdmmo7c().s[10]++;
|
|
16892
16946
|
return (_ref = (cov_qfcdmmo7c().b[3][0]++, (_regexes$caseStyle = regexes[caseStyle]) === null || _regexes$caseStyle === void 0 ? void 0 : _regexes$caseStyle.test(text))) !== null && _ref !== void 0 ? _ref : (cov_qfcdmmo7c().b[3][1]++, true);
|
|
@@ -17878,7 +17932,7 @@
|
|
|
17878
17932
|
|
|
17879
17933
|
function cov_c0i3as1fp() {
|
|
17880
17934
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/localization/constants.js";
|
|
17881
|
-
var hash = "
|
|
17935
|
+
var hash = "50a77ca6d14e4e05ef27fd378f842869ea818565";
|
|
17882
17936
|
var global = new Function("return this")();
|
|
17883
17937
|
var gcv = "__coverage__";
|
|
17884
17938
|
var coverageData = {
|
|
@@ -17887,180 +17941,170 @@
|
|
|
17887
17941
|
"0": {
|
|
17888
17942
|
start: {
|
|
17889
17943
|
line: 7,
|
|
17890
|
-
column: 26
|
|
17891
|
-
},
|
|
17892
|
-
end: {
|
|
17893
|
-
line: 7,
|
|
17894
|
-
column: 47
|
|
17895
|
-
}
|
|
17896
|
-
},
|
|
17897
|
-
"1": {
|
|
17898
|
-
start: {
|
|
17899
|
-
line: 9,
|
|
17900
17944
|
column: 42
|
|
17901
17945
|
},
|
|
17902
17946
|
end: {
|
|
17903
|
-
line:
|
|
17947
|
+
line: 19,
|
|
17904
17948
|
column: 1
|
|
17905
17949
|
}
|
|
17906
17950
|
},
|
|
17907
|
-
"
|
|
17951
|
+
"1": {
|
|
17908
17952
|
start: {
|
|
17909
|
-
line:
|
|
17953
|
+
line: 21,
|
|
17910
17954
|
column: 28
|
|
17911
17955
|
},
|
|
17912
17956
|
end: {
|
|
17913
|
-
line:
|
|
17957
|
+
line: 24,
|
|
17914
17958
|
column: 1
|
|
17915
17959
|
}
|
|
17916
17960
|
},
|
|
17917
|
-
"
|
|
17961
|
+
"2": {
|
|
17918
17962
|
start: {
|
|
17919
|
-
line:
|
|
17963
|
+
line: 27,
|
|
17920
17964
|
column: 34
|
|
17921
17965
|
},
|
|
17922
17966
|
end: {
|
|
17923
|
-
line:
|
|
17967
|
+
line: 33,
|
|
17924
17968
|
column: 1
|
|
17925
17969
|
}
|
|
17926
17970
|
},
|
|
17927
|
-
"
|
|
17971
|
+
"3": {
|
|
17928
17972
|
start: {
|
|
17929
|
-
line:
|
|
17973
|
+
line: 36,
|
|
17930
17974
|
column: 52
|
|
17931
17975
|
},
|
|
17932
17976
|
end: {
|
|
17933
|
-
line:
|
|
17977
|
+
line: 49,
|
|
17934
17978
|
column: 1
|
|
17935
17979
|
}
|
|
17936
17980
|
},
|
|
17937
|
-
"
|
|
17981
|
+
"4": {
|
|
17938
17982
|
start: {
|
|
17939
|
-
line:
|
|
17983
|
+
line: 52,
|
|
17940
17984
|
column: 59
|
|
17941
17985
|
},
|
|
17942
17986
|
end: {
|
|
17943
|
-
line:
|
|
17987
|
+
line: 56,
|
|
17944
17988
|
column: 1
|
|
17945
17989
|
}
|
|
17946
17990
|
},
|
|
17947
|
-
"
|
|
17991
|
+
"5": {
|
|
17948
17992
|
start: {
|
|
17949
|
-
line:
|
|
17993
|
+
line: 59,
|
|
17950
17994
|
column: 54
|
|
17951
17995
|
},
|
|
17952
17996
|
end: {
|
|
17953
|
-
line:
|
|
17997
|
+
line: 71,
|
|
17954
17998
|
column: 1
|
|
17955
17999
|
}
|
|
17956
18000
|
},
|
|
17957
|
-
"
|
|
18001
|
+
"6": {
|
|
17958
18002
|
start: {
|
|
17959
|
-
line:
|
|
18003
|
+
line: 61,
|
|
17960
18004
|
column: 4
|
|
17961
18005
|
},
|
|
17962
18006
|
end: {
|
|
17963
|
-
line:
|
|
18007
|
+
line: 70,
|
|
17964
18008
|
column: 9
|
|
17965
18009
|
}
|
|
17966
18010
|
},
|
|
17967
|
-
"
|
|
18011
|
+
"7": {
|
|
17968
18012
|
start: {
|
|
17969
|
-
line:
|
|
18013
|
+
line: 74,
|
|
17970
18014
|
column: 39
|
|
17971
18015
|
},
|
|
17972
18016
|
end: {
|
|
17973
|
-
line:
|
|
18017
|
+
line: 82,
|
|
17974
18018
|
column: 1
|
|
17975
18019
|
}
|
|
17976
18020
|
},
|
|
17977
|
-
"
|
|
18021
|
+
"8": {
|
|
17978
18022
|
start: {
|
|
17979
|
-
line:
|
|
18023
|
+
line: 85,
|
|
17980
18024
|
column: 43
|
|
17981
18025
|
},
|
|
17982
18026
|
end: {
|
|
17983
|
-
line:
|
|
18027
|
+
line: 88,
|
|
17984
18028
|
column: 1
|
|
17985
18029
|
}
|
|
17986
18030
|
},
|
|
17987
|
-
"
|
|
18031
|
+
"9": {
|
|
17988
18032
|
start: {
|
|
17989
|
-
line:
|
|
18033
|
+
line: 91,
|
|
17990
18034
|
column: 33
|
|
17991
18035
|
},
|
|
17992
18036
|
end: {
|
|
17993
|
-
line:
|
|
18037
|
+
line: 101,
|
|
17994
18038
|
column: 1
|
|
17995
18039
|
}
|
|
17996
18040
|
},
|
|
17997
|
-
"
|
|
18041
|
+
"10": {
|
|
17998
18042
|
start: {
|
|
17999
|
-
line:
|
|
18043
|
+
line: 104,
|
|
18000
18044
|
column: 44
|
|
18001
18045
|
},
|
|
18002
18046
|
end: {
|
|
18003
|
-
line:
|
|
18047
|
+
line: 132,
|
|
18004
18048
|
column: 1
|
|
18005
18049
|
}
|
|
18006
18050
|
},
|
|
18007
|
-
"
|
|
18051
|
+
"11": {
|
|
18008
18052
|
start: {
|
|
18009
|
-
line:
|
|
18053
|
+
line: 135,
|
|
18010
18054
|
column: 39
|
|
18011
18055
|
},
|
|
18012
18056
|
end: {
|
|
18013
|
-
line:
|
|
18057
|
+
line: 141,
|
|
18014
18058
|
column: 1
|
|
18015
18059
|
}
|
|
18016
18060
|
},
|
|
18017
|
-
"
|
|
18061
|
+
"12": {
|
|
18018
18062
|
start: {
|
|
18019
|
-
line:
|
|
18063
|
+
line: 144,
|
|
18020
18064
|
column: 49
|
|
18021
18065
|
},
|
|
18022
18066
|
end: {
|
|
18023
|
-
line:
|
|
18067
|
+
line: 161,
|
|
18024
18068
|
column: 1
|
|
18025
18069
|
}
|
|
18026
18070
|
},
|
|
18027
|
-
"
|
|
18071
|
+
"13": {
|
|
18028
18072
|
start: {
|
|
18029
|
-
line:
|
|
18073
|
+
line: 164,
|
|
18030
18074
|
column: 52
|
|
18031
18075
|
},
|
|
18032
18076
|
end: {
|
|
18033
|
-
line:
|
|
18077
|
+
line: 181,
|
|
18034
18078
|
column: 1
|
|
18035
18079
|
}
|
|
18036
18080
|
},
|
|
18037
|
-
"
|
|
18081
|
+
"14": {
|
|
18038
18082
|
start: {
|
|
18039
|
-
line:
|
|
18083
|
+
line: 183,
|
|
18040
18084
|
column: 43
|
|
18041
18085
|
},
|
|
18042
18086
|
end: {
|
|
18043
|
-
line:
|
|
18087
|
+
line: 186,
|
|
18044
18088
|
column: 1
|
|
18045
18089
|
}
|
|
18046
18090
|
},
|
|
18047
|
-
"
|
|
18091
|
+
"15": {
|
|
18048
18092
|
start: {
|
|
18049
|
-
line:
|
|
18093
|
+
line: 189,
|
|
18050
18094
|
column: 49
|
|
18051
18095
|
},
|
|
18052
18096
|
end: {
|
|
18053
|
-
line:
|
|
18097
|
+
line: 196,
|
|
18054
18098
|
column: 1
|
|
18055
18099
|
}
|
|
18056
18100
|
},
|
|
18057
|
-
"
|
|
18101
|
+
"16": {
|
|
18058
18102
|
start: {
|
|
18059
|
-
line:
|
|
18103
|
+
line: 199,
|
|
18060
18104
|
column: 47
|
|
18061
18105
|
},
|
|
18062
18106
|
end: {
|
|
18063
|
-
line:
|
|
18107
|
+
line: 220,
|
|
18064
18108
|
column: 1
|
|
18065
18109
|
}
|
|
18066
18110
|
}
|
|
@@ -18070,25 +18114,25 @@
|
|
|
18070
18114
|
name: "(anonymous_0)",
|
|
18071
18115
|
decl: {
|
|
18072
18116
|
start: {
|
|
18073
|
-
line:
|
|
18117
|
+
line: 60,
|
|
18074
18118
|
column: 12
|
|
18075
18119
|
},
|
|
18076
18120
|
end: {
|
|
18077
|
-
line:
|
|
18121
|
+
line: 60,
|
|
18078
18122
|
column: 13
|
|
18079
18123
|
}
|
|
18080
18124
|
},
|
|
18081
18125
|
loc: {
|
|
18082
18126
|
start: {
|
|
18083
|
-
line:
|
|
18127
|
+
line: 61,
|
|
18084
18128
|
column: 4
|
|
18085
18129
|
},
|
|
18086
18130
|
end: {
|
|
18087
|
-
line:
|
|
18131
|
+
line: 70,
|
|
18088
18132
|
column: 9
|
|
18089
18133
|
}
|
|
18090
18134
|
},
|
|
18091
|
-
line:
|
|
18135
|
+
line: 61
|
|
18092
18136
|
}
|
|
18093
18137
|
},
|
|
18094
18138
|
branchMap: {},
|
|
@@ -18109,15 +18153,14 @@
|
|
|
18109
18153
|
"13": 0,
|
|
18110
18154
|
"14": 0,
|
|
18111
18155
|
"15": 0,
|
|
18112
|
-
"16": 0
|
|
18113
|
-
"17": 0
|
|
18156
|
+
"16": 0
|
|
18114
18157
|
},
|
|
18115
18158
|
f: {
|
|
18116
18159
|
"0": 0
|
|
18117
18160
|
},
|
|
18118
18161
|
b: {},
|
|
18119
18162
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
18120
|
-
hash: "
|
|
18163
|
+
hash: "50a77ca6d14e4e05ef27fd378f842869ea818565"
|
|
18121
18164
|
};
|
|
18122
18165
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
18123
18166
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -18135,8 +18178,7 @@
|
|
|
18135
18178
|
cov_c0i3as1fp();
|
|
18136
18179
|
function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
18137
18180
|
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
18138
|
-
var
|
|
18139
|
-
var LOCALIZATION_CALL_PATTERNS = (cov_c0i3as1fp().s[1]++, [{
|
|
18181
|
+
var LOCALIZATION_CALL_PATTERNS = (cov_c0i3as1fp().s[0]++, [{
|
|
18140
18182
|
callee: {
|
|
18141
18183
|
type: TYPES.IDENTIFIER,
|
|
18142
18184
|
name: "t"
|
|
@@ -18156,13 +18198,13 @@
|
|
|
18156
18198
|
type: TYPES.LITERAL
|
|
18157
18199
|
}]
|
|
18158
18200
|
}]);
|
|
18159
|
-
var PLURAL_TYPES = (cov_c0i3as1fp().s[
|
|
18201
|
+
var PLURAL_TYPES = (cov_c0i3as1fp().s[1]++, {
|
|
18160
18202
|
SINGULAR: "SINGULAR",
|
|
18161
18203
|
PLURAL: "PLURAL"
|
|
18162
18204
|
});
|
|
18163
18205
|
|
|
18164
18206
|
// t("common.edit")
|
|
18165
|
-
var T_FUNCTION_PATTERN = (cov_c0i3as1fp().s[
|
|
18207
|
+
var T_FUNCTION_PATTERN = (cov_c0i3as1fp().s[2]++, {
|
|
18166
18208
|
type: TYPES.CALL_EXPRESSION,
|
|
18167
18209
|
callee: {
|
|
18168
18210
|
type: TYPES.IDENTIFIER,
|
|
@@ -18171,7 +18213,7 @@
|
|
|
18171
18213
|
});
|
|
18172
18214
|
|
|
18173
18215
|
// i18next.t("common.edit"), i18n.t("common.edit")
|
|
18174
|
-
var T_FUNCTION_MEMBER_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[
|
|
18216
|
+
var T_FUNCTION_MEMBER_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[3]++, {
|
|
18175
18217
|
type: TYPES.CALL_EXPRESSION,
|
|
18176
18218
|
callee: {
|
|
18177
18219
|
type: TYPES.MEMBER_EXPRESSION,
|
|
@@ -18187,15 +18229,15 @@
|
|
|
18187
18229
|
});
|
|
18188
18230
|
|
|
18189
18231
|
// `${t("common.edit")} ${t("common.field")}`
|
|
18190
|
-
var T_FUNCTIONS_IN_STRING_INTERPOLATION_PATTERN = (cov_c0i3as1fp().s[
|
|
18232
|
+
var T_FUNCTIONS_IN_STRING_INTERPOLATION_PATTERN = (cov_c0i3as1fp().s[4]++, {
|
|
18191
18233
|
expressions: ramda.any(matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN]))
|
|
18192
18234
|
});
|
|
18193
18235
|
|
|
18194
18236
|
// <div>{t("common.edit")} {t("common.field")}</div>
|
|
18195
|
-
var MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_c0i3as1fp().s[
|
|
18237
|
+
var MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_c0i3as1fp().s[5]++, {
|
|
18196
18238
|
children: function children(_children) {
|
|
18197
18239
|
cov_c0i3as1fp().f[0]++;
|
|
18198
|
-
cov_c0i3as1fp().s[
|
|
18240
|
+
cov_c0i3as1fp().s[6]++;
|
|
18199
18241
|
return ramda.count(matches({
|
|
18200
18242
|
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
18201
18243
|
expression: matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN])
|
|
@@ -18204,7 +18246,7 @@
|
|
|
18204
18246
|
});
|
|
18205
18247
|
|
|
18206
18248
|
// <Trans />
|
|
18207
|
-
var TRANS_COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18249
|
+
var TRANS_COMPONENT_PATTERN = (cov_c0i3as1fp().s[7]++, {
|
|
18208
18250
|
openingElement: {
|
|
18209
18251
|
type: TYPES.JSX_OPENING_ELEMENT,
|
|
18210
18252
|
name: {
|
|
@@ -18215,12 +18257,12 @@
|
|
|
18215
18257
|
});
|
|
18216
18258
|
|
|
18217
18259
|
// '<Trans i18nKey="important">This is the <strong>important part</strong></Trans>'
|
|
18218
|
-
var TRANS_WITH_CHILDREN_PATTERN = (cov_c0i3as1fp().s[
|
|
18260
|
+
var TRANS_WITH_CHILDREN_PATTERN = (cov_c0i3as1fp().s[8]++, _objectSpread$1(_objectSpread$1({}, TRANS_COMPONENT_PATTERN), {}, {
|
|
18219
18261
|
children: isNotEmpty$1
|
|
18220
18262
|
}));
|
|
18221
18263
|
|
|
18222
18264
|
// const TestComponent = () => {}
|
|
18223
|
-
var COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18265
|
+
var COMPONENT_PATTERN = (cov_c0i3as1fp().s[9]++, {
|
|
18224
18266
|
type: TYPES.VARIABLE_DECLARATION,
|
|
18225
18267
|
kind: "const",
|
|
18226
18268
|
declarations: [{
|
|
@@ -18230,13 +18272,13 @@
|
|
|
18230
18272
|
},
|
|
18231
18273
|
id: {
|
|
18232
18274
|
type: TYPES.IDENTIFIER,
|
|
18233
|
-
name: ramda.test(PASCAL_CASE_REGEX
|
|
18275
|
+
name: ramda.test(PASCAL_CASE_REGEX)
|
|
18234
18276
|
}
|
|
18235
18277
|
}]
|
|
18236
18278
|
});
|
|
18237
18279
|
|
|
18238
18280
|
// const { t } = useTranslation()
|
|
18239
|
-
var USE_TRANSLATION_HOOK_PATTERN = (cov_c0i3as1fp().s[
|
|
18281
|
+
var USE_TRANSLATION_HOOK_PATTERN = (cov_c0i3as1fp().s[10]++, {
|
|
18240
18282
|
type: TYPES.VARIABLE_DECLARATION,
|
|
18241
18283
|
kind: "const",
|
|
18242
18284
|
declarations: [{
|
|
@@ -18262,7 +18304,7 @@
|
|
|
18262
18304
|
});
|
|
18263
18305
|
|
|
18264
18306
|
// components={{}}
|
|
18265
|
-
var COMPONENTS_PROP_PATTERN = (cov_c0i3as1fp().s[
|
|
18307
|
+
var COMPONENTS_PROP_PATTERN = (cov_c0i3as1fp().s[11]++, {
|
|
18266
18308
|
type: TYPES.JSX_ATTRIBUTE,
|
|
18267
18309
|
name: {
|
|
18268
18310
|
type: TYPES.JSX_IDENTIFIER,
|
|
@@ -18271,7 +18313,7 @@
|
|
|
18271
18313
|
});
|
|
18272
18314
|
|
|
18273
18315
|
// {{Button: <Button label={t("button.edit")}/>}}
|
|
18274
|
-
var COMPONENT_WITH_LABEL_PROP_PATTERN = (cov_c0i3as1fp().s[
|
|
18316
|
+
var COMPONENT_WITH_LABEL_PROP_PATTERN = (cov_c0i3as1fp().s[12]++, {
|
|
18275
18317
|
type: TYPES.PROPERTY,
|
|
18276
18318
|
value: {
|
|
18277
18319
|
type: TYPES.JSX_ELEMENT,
|
|
@@ -18289,7 +18331,7 @@
|
|
|
18289
18331
|
});
|
|
18290
18332
|
|
|
18291
18333
|
// articles > 1 ? t("article") : t("articles");
|
|
18292
|
-
var PLURALIZE_CONDITIONAL_RENDER_PATTERN = (cov_c0i3as1fp().s[
|
|
18334
|
+
var PLURALIZE_CONDITIONAL_RENDER_PATTERN = (cov_c0i3as1fp().s[13]++, {
|
|
18293
18335
|
test: {
|
|
18294
18336
|
type: TYPES.BINARY_EXPRESSION,
|
|
18295
18337
|
operator: ">",
|
|
@@ -18302,13 +18344,13 @@
|
|
|
18302
18344
|
alternate: matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN])
|
|
18303
18345
|
});
|
|
18304
18346
|
// <Pluralize />
|
|
18305
|
-
var PLURALIZE_COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18347
|
+
var PLURALIZE_COMPONENT_PATTERN = (cov_c0i3as1fp().s[14]++, {
|
|
18306
18348
|
type: TYPES.JSX_IDENTIFIER,
|
|
18307
18349
|
name: "Pluralize"
|
|
18308
18350
|
});
|
|
18309
18351
|
|
|
18310
18352
|
// pluralize("edit")
|
|
18311
|
-
var PLURALIZE_CALL_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[
|
|
18353
|
+
var PLURALIZE_CALL_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[15]++, {
|
|
18312
18354
|
type: TYPES.CALL_EXPRESSION,
|
|
18313
18355
|
callee: {
|
|
18314
18356
|
type: TYPES.IDENTIFIER,
|
|
@@ -18320,7 +18362,7 @@
|
|
|
18320
18362
|
});
|
|
18321
18363
|
|
|
18322
18364
|
// import { pluralize } from "some-custom-path", import pluralize from "some-custom-path"
|
|
18323
|
-
var CUSTOM_PLURALIZE_IMPORT_PATTERN = (cov_c0i3as1fp().s[
|
|
18365
|
+
var CUSTOM_PLURALIZE_IMPORT_PATTERN = (cov_c0i3as1fp().s[16]++, {
|
|
18324
18366
|
type: TYPES.IMPORT_DECLARATION,
|
|
18325
18367
|
specifiers: ramda.any(matchesAny([{
|
|
18326
18368
|
type: TYPES.IMPORT_DEFAULT_SPECIFIER,
|
|
@@ -33670,6 +33712,305 @@
|
|
|
33670
33712
|
}
|
|
33671
33713
|
};
|
|
33672
33714
|
|
|
33715
|
+
function cov_ser262mz2() {
|
|
33716
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-deprecated-imports-from-zustand/constants.js";
|
|
33717
|
+
var hash = "d4cfe8a805225421f48624eef7e1bc82b4070e4f";
|
|
33718
|
+
var global = new Function("return this")();
|
|
33719
|
+
var gcv = "__coverage__";
|
|
33720
|
+
var coverageData = {
|
|
33721
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-deprecated-imports-from-zustand/constants.js",
|
|
33722
|
+
statementMap: {
|
|
33723
|
+
"0": {
|
|
33724
|
+
start: {
|
|
33725
|
+
line: 5,
|
|
33726
|
+
column: 38
|
|
33727
|
+
},
|
|
33728
|
+
end: {
|
|
33729
|
+
line: 10,
|
|
33730
|
+
column: 1
|
|
33731
|
+
}
|
|
33732
|
+
}
|
|
33733
|
+
},
|
|
33734
|
+
fnMap: {},
|
|
33735
|
+
branchMap: {},
|
|
33736
|
+
s: {
|
|
33737
|
+
"0": 0
|
|
33738
|
+
},
|
|
33739
|
+
f: {},
|
|
33740
|
+
b: {},
|
|
33741
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33742
|
+
hash: "d4cfe8a805225421f48624eef7e1bc82b4070e4f"
|
|
33743
|
+
};
|
|
33744
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
33745
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33746
|
+
coverage[path] = coverageData;
|
|
33747
|
+
}
|
|
33748
|
+
var actualCoverage = coverage[path];
|
|
33749
|
+
{
|
|
33750
|
+
// @ts-ignore
|
|
33751
|
+
cov_ser262mz2 = function () {
|
|
33752
|
+
return actualCoverage;
|
|
33753
|
+
};
|
|
33754
|
+
}
|
|
33755
|
+
return actualCoverage;
|
|
33756
|
+
}
|
|
33757
|
+
cov_ser262mz2();
|
|
33758
|
+
var ZUSTAND_IMPORT_PATTERN = (cov_ser262mz2().s[0]++, {
|
|
33759
|
+
type: TYPES.IMPORT_DECLARATION,
|
|
33760
|
+
source: {
|
|
33761
|
+
value: ramda.test(/^zustand.*/)
|
|
33762
|
+
}
|
|
33763
|
+
});
|
|
33764
|
+
|
|
33765
|
+
function cov_1vlj6uvrin() {
|
|
33766
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-deprecated-imports-from-zustand/index.js";
|
|
33767
|
+
var hash = "0c135c6ed9a9946ba2c9da1731782a2be6827df4";
|
|
33768
|
+
var global = new Function("return this")();
|
|
33769
|
+
var gcv = "__coverage__";
|
|
33770
|
+
var coverageData = {
|
|
33771
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-deprecated-imports-from-zustand/index.js",
|
|
33772
|
+
statementMap: {
|
|
33773
|
+
"0": {
|
|
33774
|
+
start: {
|
|
33775
|
+
line: 15,
|
|
33776
|
+
column: 22
|
|
33777
|
+
},
|
|
33778
|
+
end: {
|
|
33779
|
+
line: 27,
|
|
33780
|
+
column: 3
|
|
33781
|
+
}
|
|
33782
|
+
},
|
|
33783
|
+
"1": {
|
|
33784
|
+
start: {
|
|
33785
|
+
line: 17,
|
|
33786
|
+
column: 6
|
|
33787
|
+
},
|
|
33788
|
+
end: {
|
|
33789
|
+
line: 17,
|
|
33790
|
+
column: 64
|
|
33791
|
+
}
|
|
33792
|
+
},
|
|
33793
|
+
"2": {
|
|
33794
|
+
start: {
|
|
33795
|
+
line: 17,
|
|
33796
|
+
column: 57
|
|
33797
|
+
},
|
|
33798
|
+
end: {
|
|
33799
|
+
line: 17,
|
|
33800
|
+
column: 64
|
|
33801
|
+
}
|
|
33802
|
+
},
|
|
33803
|
+
"3": {
|
|
33804
|
+
start: {
|
|
33805
|
+
line: 19,
|
|
33806
|
+
column: 18
|
|
33807
|
+
},
|
|
33808
|
+
end: {
|
|
33809
|
+
line: 19,
|
|
33810
|
+
column: 42
|
|
33811
|
+
}
|
|
33812
|
+
},
|
|
33813
|
+
"4": {
|
|
33814
|
+
start: {
|
|
33815
|
+
line: 21,
|
|
33816
|
+
column: 6
|
|
33817
|
+
},
|
|
33818
|
+
end: {
|
|
33819
|
+
line: 25,
|
|
33820
|
+
column: 9
|
|
33821
|
+
}
|
|
33822
|
+
},
|
|
33823
|
+
"5": {
|
|
33824
|
+
start: {
|
|
33825
|
+
line: 24,
|
|
33826
|
+
column: 22
|
|
33827
|
+
},
|
|
33828
|
+
end: {
|
|
33829
|
+
line: 24,
|
|
33830
|
+
column: 50
|
|
33831
|
+
}
|
|
33832
|
+
}
|
|
33833
|
+
},
|
|
33834
|
+
fnMap: {
|
|
33835
|
+
"0": {
|
|
33836
|
+
name: "(anonymous_0)",
|
|
33837
|
+
decl: {
|
|
33838
|
+
start: {
|
|
33839
|
+
line: 15,
|
|
33840
|
+
column: 10
|
|
33841
|
+
},
|
|
33842
|
+
end: {
|
|
33843
|
+
line: 15,
|
|
33844
|
+
column: 11
|
|
33845
|
+
}
|
|
33846
|
+
},
|
|
33847
|
+
loc: {
|
|
33848
|
+
start: {
|
|
33849
|
+
line: 15,
|
|
33850
|
+
column: 22
|
|
33851
|
+
},
|
|
33852
|
+
end: {
|
|
33853
|
+
line: 27,
|
|
33854
|
+
column: 3
|
|
33855
|
+
}
|
|
33856
|
+
},
|
|
33857
|
+
line: 15
|
|
33858
|
+
},
|
|
33859
|
+
"1": {
|
|
33860
|
+
name: "(anonymous_1)",
|
|
33861
|
+
decl: {
|
|
33862
|
+
start: {
|
|
33863
|
+
line: 16,
|
|
33864
|
+
column: 4
|
|
33865
|
+
},
|
|
33866
|
+
end: {
|
|
33867
|
+
line: 16,
|
|
33868
|
+
column: 5
|
|
33869
|
+
}
|
|
33870
|
+
},
|
|
33871
|
+
loc: {
|
|
33872
|
+
start: {
|
|
33873
|
+
line: 16,
|
|
33874
|
+
column: 33
|
|
33875
|
+
},
|
|
33876
|
+
end: {
|
|
33877
|
+
line: 26,
|
|
33878
|
+
column: 5
|
|
33879
|
+
}
|
|
33880
|
+
},
|
|
33881
|
+
line: 16
|
|
33882
|
+
},
|
|
33883
|
+
"2": {
|
|
33884
|
+
name: "(anonymous_2)",
|
|
33885
|
+
decl: {
|
|
33886
|
+
start: {
|
|
33887
|
+
line: 24,
|
|
33888
|
+
column: 13
|
|
33889
|
+
},
|
|
33890
|
+
end: {
|
|
33891
|
+
line: 24,
|
|
33892
|
+
column: 14
|
|
33893
|
+
}
|
|
33894
|
+
},
|
|
33895
|
+
loc: {
|
|
33896
|
+
start: {
|
|
33897
|
+
line: 24,
|
|
33898
|
+
column: 22
|
|
33899
|
+
},
|
|
33900
|
+
end: {
|
|
33901
|
+
line: 24,
|
|
33902
|
+
column: 50
|
|
33903
|
+
}
|
|
33904
|
+
},
|
|
33905
|
+
line: 24
|
|
33906
|
+
}
|
|
33907
|
+
},
|
|
33908
|
+
branchMap: {
|
|
33909
|
+
"0": {
|
|
33910
|
+
loc: {
|
|
33911
|
+
start: {
|
|
33912
|
+
line: 17,
|
|
33913
|
+
column: 6
|
|
33914
|
+
},
|
|
33915
|
+
end: {
|
|
33916
|
+
line: 17,
|
|
33917
|
+
column: 64
|
|
33918
|
+
}
|
|
33919
|
+
},
|
|
33920
|
+
type: "if",
|
|
33921
|
+
locations: [{
|
|
33922
|
+
start: {
|
|
33923
|
+
line: 17,
|
|
33924
|
+
column: 6
|
|
33925
|
+
},
|
|
33926
|
+
end: {
|
|
33927
|
+
line: 17,
|
|
33928
|
+
column: 64
|
|
33929
|
+
}
|
|
33930
|
+
}, {
|
|
33931
|
+
start: {
|
|
33932
|
+
line: undefined,
|
|
33933
|
+
column: undefined
|
|
33934
|
+
},
|
|
33935
|
+
end: {
|
|
33936
|
+
line: undefined,
|
|
33937
|
+
column: undefined
|
|
33938
|
+
}
|
|
33939
|
+
}],
|
|
33940
|
+
line: 17
|
|
33941
|
+
}
|
|
33942
|
+
},
|
|
33943
|
+
s: {
|
|
33944
|
+
"0": 0,
|
|
33945
|
+
"1": 0,
|
|
33946
|
+
"2": 0,
|
|
33947
|
+
"3": 0,
|
|
33948
|
+
"4": 0,
|
|
33949
|
+
"5": 0
|
|
33950
|
+
},
|
|
33951
|
+
f: {
|
|
33952
|
+
"0": 0,
|
|
33953
|
+
"1": 0,
|
|
33954
|
+
"2": 0
|
|
33955
|
+
},
|
|
33956
|
+
b: {
|
|
33957
|
+
"0": [0, 0]
|
|
33958
|
+
},
|
|
33959
|
+
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
33960
|
+
hash: "0c135c6ed9a9946ba2c9da1731782a2be6827df4"
|
|
33961
|
+
};
|
|
33962
|
+
var coverage = global[gcv] || (global[gcv] = {});
|
|
33963
|
+
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
33964
|
+
coverage[path] = coverageData;
|
|
33965
|
+
}
|
|
33966
|
+
var actualCoverage = coverage[path];
|
|
33967
|
+
{
|
|
33968
|
+
// @ts-ignore
|
|
33969
|
+
cov_1vlj6uvrin = function () {
|
|
33970
|
+
return actualCoverage;
|
|
33971
|
+
};
|
|
33972
|
+
}
|
|
33973
|
+
return actualCoverage;
|
|
33974
|
+
}
|
|
33975
|
+
cov_1vlj6uvrin();
|
|
33976
|
+
var noDeprecatedImportsFromZustand = {
|
|
33977
|
+
meta: {
|
|
33978
|
+
type: "problem",
|
|
33979
|
+
docs: {
|
|
33980
|
+
description: "Prevents the usage of deprecated imports from zustand."
|
|
33981
|
+
},
|
|
33982
|
+
fixable: "code"
|
|
33983
|
+
},
|
|
33984
|
+
create: function create(context) {
|
|
33985
|
+
cov_1vlj6uvrin().f[0]++;
|
|
33986
|
+
cov_1vlj6uvrin().s[0]++;
|
|
33987
|
+
return {
|
|
33988
|
+
ImportDefaultSpecifier: function ImportDefaultSpecifier(node) {
|
|
33989
|
+
cov_1vlj6uvrin().f[1]++;
|
|
33990
|
+
cov_1vlj6uvrin().s[1]++;
|
|
33991
|
+
if (!matches(ZUSTAND_IMPORT_PATTERN, node.parent)) {
|
|
33992
|
+
cov_1vlj6uvrin().b[0][0]++;
|
|
33993
|
+
cov_1vlj6uvrin().s[2]++;
|
|
33994
|
+
return;
|
|
33995
|
+
} else {
|
|
33996
|
+
cov_1vlj6uvrin().b[0][1]++;
|
|
33997
|
+
}
|
|
33998
|
+
var _fix = (cov_1vlj6uvrin().s[3]++, "{ ".concat(node.local.name, " }"));
|
|
33999
|
+
cov_1vlj6uvrin().s[4]++;
|
|
34000
|
+
context.report({
|
|
34001
|
+
node: node,
|
|
34002
|
+
message: replaceZustandDefaultExportWith(_fix),
|
|
34003
|
+
fix: function fix(fixer) {
|
|
34004
|
+
cov_1vlj6uvrin().f[2]++;
|
|
34005
|
+
cov_1vlj6uvrin().s[5]++;
|
|
34006
|
+
return fixer.replaceText(node, _fix);
|
|
34007
|
+
}
|
|
34008
|
+
});
|
|
34009
|
+
}
|
|
34010
|
+
};
|
|
34011
|
+
}
|
|
34012
|
+
};
|
|
34013
|
+
|
|
33673
34014
|
function cov_kosjht30j() {
|
|
33674
34015
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/no-excess-function-arguments/index.js";
|
|
33675
34016
|
var hash = "344b8fd732a17735362e01d4ccb6a3e436995f6f";
|
|
@@ -46794,7 +47135,7 @@
|
|
|
46794
47135
|
|
|
46795
47136
|
function cov_2r6kdxisgo() {
|
|
46796
47137
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-camel-case-or-pascal-case-for-function-names/constants.js";
|
|
46797
|
-
var hash = "
|
|
47138
|
+
var hash = "3cf11823419cffe39c05d65d36765ab9b2504764";
|
|
46798
47139
|
var global = new Function("return this")();
|
|
46799
47140
|
var gcv = "__coverage__";
|
|
46800
47141
|
var coverageData = {
|
|
@@ -46829,26 +47170,6 @@
|
|
|
46829
47170
|
line: 26,
|
|
46830
47171
|
column: 1
|
|
46831
47172
|
}
|
|
46832
|
-
},
|
|
46833
|
-
"3": {
|
|
46834
|
-
start: {
|
|
46835
|
-
line: 28,
|
|
46836
|
-
column: 32
|
|
46837
|
-
},
|
|
46838
|
-
end: {
|
|
46839
|
-
line: 28,
|
|
46840
|
-
column: 53
|
|
46841
|
-
}
|
|
46842
|
-
},
|
|
46843
|
-
"4": {
|
|
46844
|
-
start: {
|
|
46845
|
-
line: 30,
|
|
46846
|
-
column: 33
|
|
46847
|
-
},
|
|
46848
|
-
end: {
|
|
46849
|
-
line: 30,
|
|
46850
|
-
column: 54
|
|
46851
|
-
}
|
|
46852
47173
|
}
|
|
46853
47174
|
},
|
|
46854
47175
|
fnMap: {},
|
|
@@ -46856,14 +47177,12 @@
|
|
|
46856
47177
|
s: {
|
|
46857
47178
|
"0": 0,
|
|
46858
47179
|
"1": 0,
|
|
46859
|
-
"2": 0
|
|
46860
|
-
"3": 0,
|
|
46861
|
-
"4": 0
|
|
47180
|
+
"2": 0
|
|
46862
47181
|
},
|
|
46863
47182
|
f: {},
|
|
46864
47183
|
b: {},
|
|
46865
47184
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
46866
|
-
hash: "
|
|
47185
|
+
hash: "3cf11823419cffe39c05d65d36765ab9b2504764"
|
|
46867
47186
|
};
|
|
46868
47187
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
46869
47188
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -46893,8 +47212,6 @@
|
|
|
46893
47212
|
}
|
|
46894
47213
|
});
|
|
46895
47214
|
var FUNCTION_DECLARATION_PATTERNS = (cov_2r6kdxisgo().s[2]++, [FUNCTION_EXPRESSION_PATTERN, FUNCTION_CONSTRUCTOR_PATTERN]);
|
|
46896
|
-
var CAMEL_CASE_REGEX = (cov_2r6kdxisgo().s[3]++, /^[a-z][A-Za-z0-9]*$/);
|
|
46897
|
-
var PASCAL_CASE_REGEX = (cov_2r6kdxisgo().s[4]++, /^[A-Z][A-Za-z0-9]*$/);
|
|
46898
47215
|
|
|
46899
47216
|
function cov_1j0uko43i5() {
|
|
46900
47217
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-camel-case-or-pascal-case-for-function-names/utils.js";
|
|
@@ -49986,166 +50303,121 @@
|
|
|
49986
50303
|
}
|
|
49987
50304
|
};
|
|
49988
50305
|
|
|
49989
|
-
function
|
|
49990
|
-
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename
|
|
49991
|
-
var hash = "
|
|
49992
|
-
var global = new Function("return this")();
|
|
49993
|
-
var gcv = "__coverage__";
|
|
49994
|
-
var coverageData = {
|
|
49995
|
-
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename/constants.js",
|
|
49996
|
-
statementMap: {
|
|
49997
|
-
"0": {
|
|
49998
|
-
start: {
|
|
49999
|
-
line: 1,
|
|
50000
|
-
column: 32
|
|
50001
|
-
},
|
|
50002
|
-
end: {
|
|
50003
|
-
line: 1,
|
|
50004
|
-
column: 46
|
|
50005
|
-
}
|
|
50006
|
-
}
|
|
50007
|
-
},
|
|
50008
|
-
fnMap: {},
|
|
50009
|
-
branchMap: {},
|
|
50010
|
-
s: {
|
|
50011
|
-
"0": 0
|
|
50012
|
-
},
|
|
50013
|
-
f: {},
|
|
50014
|
-
b: {},
|
|
50015
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50016
|
-
hash: "432e2f20dd88e1398d94e58b428244017eabd2ab"
|
|
50017
|
-
};
|
|
50018
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
50019
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
50020
|
-
coverage[path] = coverageData;
|
|
50021
|
-
}
|
|
50022
|
-
var actualCoverage = coverage[path];
|
|
50023
|
-
{
|
|
50024
|
-
// @ts-ignore
|
|
50025
|
-
cov_2ntqbue5f9 = function () {
|
|
50026
|
-
return actualCoverage;
|
|
50027
|
-
};
|
|
50028
|
-
}
|
|
50029
|
-
return actualCoverage;
|
|
50030
|
-
}
|
|
50031
|
-
cov_2ntqbue5f9();
|
|
50032
|
-
var SNAKE_CASE_REGEX = (cov_2ntqbue5f9().s[0]++, /^[a-z0-9_]+$/);
|
|
50033
|
-
|
|
50034
|
-
function cov_wozdupke() {
|
|
50035
|
-
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename/index.js";
|
|
50036
|
-
var hash = "268c958a88c13f7cab72aadb60bc45af74be60df";
|
|
50306
|
+
function cov_1pjjnakm2() {
|
|
50307
|
+
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename.js";
|
|
50308
|
+
var hash = "c13d06ce54b816279a19c8277774d87159c921e4";
|
|
50037
50309
|
var global = new Function("return this")();
|
|
50038
50310
|
var gcv = "__coverage__";
|
|
50039
50311
|
var coverageData = {
|
|
50040
|
-
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename
|
|
50312
|
+
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename.js",
|
|
50041
50313
|
statementMap: {
|
|
50042
50314
|
"0": {
|
|
50043
50315
|
start: {
|
|
50044
|
-
line:
|
|
50316
|
+
line: 5,
|
|
50045
50317
|
column: 20
|
|
50046
50318
|
},
|
|
50047
50319
|
end: {
|
|
50048
|
-
line:
|
|
50320
|
+
line: 5,
|
|
50049
50321
|
column: 55
|
|
50050
50322
|
}
|
|
50051
50323
|
},
|
|
50052
50324
|
"1": {
|
|
50053
50325
|
start: {
|
|
50054
|
-
line:
|
|
50326
|
+
line: 5,
|
|
50055
50327
|
column: 28
|
|
50056
50328
|
},
|
|
50057
50329
|
end: {
|
|
50058
|
-
line:
|
|
50330
|
+
line: 5,
|
|
50059
50331
|
column: 55
|
|
50060
50332
|
}
|
|
50061
50333
|
},
|
|
50062
50334
|
"2": {
|
|
50063
50335
|
start: {
|
|
50064
|
-
line:
|
|
50336
|
+
line: 7,
|
|
50065
50337
|
column: 20
|
|
50066
50338
|
},
|
|
50067
50339
|
end: {
|
|
50068
|
-
line:
|
|
50340
|
+
line: 14,
|
|
50069
50341
|
column: 23
|
|
50070
50342
|
}
|
|
50071
50343
|
},
|
|
50072
50344
|
"3": {
|
|
50073
50345
|
start: {
|
|
50074
|
-
line:
|
|
50346
|
+
line: 8,
|
|
50075
50347
|
column: 2
|
|
50076
50348
|
},
|
|
50077
50349
|
end: {
|
|
50078
|
-
line:
|
|
50350
|
+
line: 14,
|
|
50079
50351
|
column: 23
|
|
50080
50352
|
}
|
|
50081
50353
|
},
|
|
50082
50354
|
"4": {
|
|
50083
50355
|
start: {
|
|
50084
|
-
line:
|
|
50356
|
+
line: 23,
|
|
50085
50357
|
column: 22
|
|
50086
50358
|
},
|
|
50087
50359
|
end: {
|
|
50088
|
-
line:
|
|
50360
|
+
line: 35,
|
|
50089
50361
|
column: 3
|
|
50090
50362
|
}
|
|
50091
50363
|
},
|
|
50092
50364
|
"5": {
|
|
50093
50365
|
start: {
|
|
50094
|
-
line:
|
|
50366
|
+
line: 25,
|
|
50095
50367
|
column: 6
|
|
50096
50368
|
},
|
|
50097
50369
|
end: {
|
|
50098
|
-
line:
|
|
50370
|
+
line: 25,
|
|
50099
50371
|
column: 61
|
|
50100
50372
|
}
|
|
50101
50373
|
},
|
|
50102
50374
|
"6": {
|
|
50103
50375
|
start: {
|
|
50104
|
-
line:
|
|
50376
|
+
line: 25,
|
|
50105
50377
|
column: 54
|
|
50106
50378
|
},
|
|
50107
50379
|
end: {
|
|
50108
|
-
line:
|
|
50380
|
+
line: 25,
|
|
50109
50381
|
column: 61
|
|
50110
50382
|
}
|
|
50111
50383
|
},
|
|
50112
50384
|
"7": {
|
|
50113
50385
|
start: {
|
|
50114
|
-
line:
|
|
50386
|
+
line: 27,
|
|
50115
50387
|
column: 36
|
|
50116
50388
|
},
|
|
50117
50389
|
end: {
|
|
50118
|
-
line:
|
|
50390
|
+
line: 27,
|
|
50119
50391
|
column: 68
|
|
50120
50392
|
}
|
|
50121
50393
|
},
|
|
50122
50394
|
"8": {
|
|
50123
50395
|
start: {
|
|
50124
|
-
line:
|
|
50396
|
+
line: 28,
|
|
50125
50397
|
column: 6
|
|
50126
50398
|
},
|
|
50127
50399
|
end: {
|
|
50128
|
-
line:
|
|
50400
|
+
line: 28,
|
|
50129
50401
|
column: 40
|
|
50130
50402
|
}
|
|
50131
50403
|
},
|
|
50132
50404
|
"9": {
|
|
50133
50405
|
start: {
|
|
50134
|
-
line:
|
|
50406
|
+
line: 28,
|
|
50135
50407
|
column: 33
|
|
50136
50408
|
},
|
|
50137
50409
|
end: {
|
|
50138
|
-
line:
|
|
50410
|
+
line: 28,
|
|
50139
50411
|
column: 40
|
|
50140
50412
|
}
|
|
50141
50413
|
},
|
|
50142
50414
|
"10": {
|
|
50143
50415
|
start: {
|
|
50144
|
-
line:
|
|
50416
|
+
line: 30,
|
|
50145
50417
|
column: 6
|
|
50146
50418
|
},
|
|
50147
50419
|
end: {
|
|
50148
|
-
line:
|
|
50420
|
+
line: 33,
|
|
50149
50421
|
column: 9
|
|
50150
50422
|
}
|
|
50151
50423
|
}
|
|
@@ -50155,119 +50427,119 @@
|
|
|
50155
50427
|
name: "(anonymous_0)",
|
|
50156
50428
|
decl: {
|
|
50157
50429
|
start: {
|
|
50158
|
-
line:
|
|
50430
|
+
line: 5,
|
|
50159
50431
|
column: 20
|
|
50160
50432
|
},
|
|
50161
50433
|
end: {
|
|
50162
|
-
line:
|
|
50434
|
+
line: 5,
|
|
50163
50435
|
column: 21
|
|
50164
50436
|
}
|
|
50165
50437
|
},
|
|
50166
50438
|
loc: {
|
|
50167
50439
|
start: {
|
|
50168
|
-
line:
|
|
50440
|
+
line: 5,
|
|
50169
50441
|
column: 28
|
|
50170
50442
|
},
|
|
50171
50443
|
end: {
|
|
50172
|
-
line:
|
|
50444
|
+
line: 5,
|
|
50173
50445
|
column: 55
|
|
50174
50446
|
}
|
|
50175
50447
|
},
|
|
50176
|
-
line:
|
|
50448
|
+
line: 5
|
|
50177
50449
|
},
|
|
50178
50450
|
"1": {
|
|
50179
50451
|
name: "(anonymous_1)",
|
|
50180
50452
|
decl: {
|
|
50181
50453
|
start: {
|
|
50182
|
-
line:
|
|
50454
|
+
line: 7,
|
|
50183
50455
|
column: 20
|
|
50184
50456
|
},
|
|
50185
50457
|
end: {
|
|
50186
|
-
line:
|
|
50458
|
+
line: 7,
|
|
50187
50459
|
column: 21
|
|
50188
50460
|
}
|
|
50189
50461
|
},
|
|
50190
50462
|
loc: {
|
|
50191
50463
|
start: {
|
|
50192
|
-
line:
|
|
50464
|
+
line: 8,
|
|
50193
50465
|
column: 2
|
|
50194
50466
|
},
|
|
50195
50467
|
end: {
|
|
50196
|
-
line:
|
|
50468
|
+
line: 14,
|
|
50197
50469
|
column: 23
|
|
50198
50470
|
}
|
|
50199
50471
|
},
|
|
50200
|
-
line:
|
|
50472
|
+
line: 8
|
|
50201
50473
|
},
|
|
50202
50474
|
"2": {
|
|
50203
50475
|
name: "(anonymous_2)",
|
|
50204
50476
|
decl: {
|
|
50205
50477
|
start: {
|
|
50206
|
-
line:
|
|
50478
|
+
line: 23,
|
|
50207
50479
|
column: 10
|
|
50208
50480
|
},
|
|
50209
50481
|
end: {
|
|
50210
|
-
line:
|
|
50482
|
+
line: 23,
|
|
50211
50483
|
column: 11
|
|
50212
50484
|
}
|
|
50213
50485
|
},
|
|
50214
50486
|
loc: {
|
|
50215
50487
|
start: {
|
|
50216
|
-
line:
|
|
50488
|
+
line: 23,
|
|
50217
50489
|
column: 22
|
|
50218
50490
|
},
|
|
50219
50491
|
end: {
|
|
50220
|
-
line:
|
|
50492
|
+
line: 35,
|
|
50221
50493
|
column: 3
|
|
50222
50494
|
}
|
|
50223
50495
|
},
|
|
50224
|
-
line:
|
|
50496
|
+
line: 23
|
|
50225
50497
|
},
|
|
50226
50498
|
"3": {
|
|
50227
50499
|
name: "(anonymous_3)",
|
|
50228
50500
|
decl: {
|
|
50229
50501
|
start: {
|
|
50230
|
-
line:
|
|
50502
|
+
line: 24,
|
|
50231
50503
|
column: 4
|
|
50232
50504
|
},
|
|
50233
50505
|
end: {
|
|
50234
|
-
line:
|
|
50506
|
+
line: 24,
|
|
50235
50507
|
column: 5
|
|
50236
50508
|
}
|
|
50237
50509
|
},
|
|
50238
50510
|
loc: {
|
|
50239
50511
|
start: {
|
|
50240
|
-
line:
|
|
50512
|
+
line: 24,
|
|
50241
50513
|
column: 28
|
|
50242
50514
|
},
|
|
50243
50515
|
end: {
|
|
50244
|
-
line:
|
|
50516
|
+
line: 34,
|
|
50245
50517
|
column: 5
|
|
50246
50518
|
}
|
|
50247
50519
|
},
|
|
50248
|
-
line:
|
|
50520
|
+
line: 24
|
|
50249
50521
|
}
|
|
50250
50522
|
},
|
|
50251
50523
|
branchMap: {
|
|
50252
50524
|
"0": {
|
|
50253
50525
|
loc: {
|
|
50254
50526
|
start: {
|
|
50255
|
-
line:
|
|
50527
|
+
line: 25,
|
|
50256
50528
|
column: 6
|
|
50257
50529
|
},
|
|
50258
50530
|
end: {
|
|
50259
|
-
line:
|
|
50531
|
+
line: 25,
|
|
50260
50532
|
column: 61
|
|
50261
50533
|
}
|
|
50262
50534
|
},
|
|
50263
50535
|
type: "if",
|
|
50264
50536
|
locations: [{
|
|
50265
50537
|
start: {
|
|
50266
|
-
line:
|
|
50538
|
+
line: 25,
|
|
50267
50539
|
column: 6
|
|
50268
50540
|
},
|
|
50269
50541
|
end: {
|
|
50270
|
-
line:
|
|
50542
|
+
line: 25,
|
|
50271
50543
|
column: 61
|
|
50272
50544
|
}
|
|
50273
50545
|
}, {
|
|
@@ -50280,27 +50552,27 @@
|
|
|
50280
50552
|
column: undefined
|
|
50281
50553
|
}
|
|
50282
50554
|
}],
|
|
50283
|
-
line:
|
|
50555
|
+
line: 25
|
|
50284
50556
|
},
|
|
50285
50557
|
"1": {
|
|
50286
50558
|
loc: {
|
|
50287
50559
|
start: {
|
|
50288
|
-
line:
|
|
50560
|
+
line: 28,
|
|
50289
50561
|
column: 6
|
|
50290
50562
|
},
|
|
50291
50563
|
end: {
|
|
50292
|
-
line:
|
|
50564
|
+
line: 28,
|
|
50293
50565
|
column: 40
|
|
50294
50566
|
}
|
|
50295
50567
|
},
|
|
50296
50568
|
type: "if",
|
|
50297
50569
|
locations: [{
|
|
50298
50570
|
start: {
|
|
50299
|
-
line:
|
|
50571
|
+
line: 28,
|
|
50300
50572
|
column: 6
|
|
50301
50573
|
},
|
|
50302
50574
|
end: {
|
|
50303
|
-
line:
|
|
50575
|
+
line: 28,
|
|
50304
50576
|
column: 40
|
|
50305
50577
|
}
|
|
50306
50578
|
}, {
|
|
@@ -50313,7 +50585,7 @@
|
|
|
50313
50585
|
column: undefined
|
|
50314
50586
|
}
|
|
50315
50587
|
}],
|
|
50316
|
-
line:
|
|
50588
|
+
line: 28
|
|
50317
50589
|
}
|
|
50318
50590
|
},
|
|
50319
50591
|
s: {
|
|
@@ -50340,7 +50612,7 @@
|
|
|
50340
50612
|
"1": [0, 0]
|
|
50341
50613
|
},
|
|
50342
50614
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50343
|
-
hash: "
|
|
50615
|
+
hash: "c13d06ce54b816279a19c8277774d87159c921e4"
|
|
50344
50616
|
};
|
|
50345
50617
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50346
50618
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50349,23 +50621,23 @@
|
|
|
50349
50621
|
var actualCoverage = coverage[path];
|
|
50350
50622
|
{
|
|
50351
50623
|
// @ts-ignore
|
|
50352
|
-
|
|
50624
|
+
cov_1pjjnakm2 = function () {
|
|
50353
50625
|
return actualCoverage;
|
|
50354
50626
|
};
|
|
50355
50627
|
}
|
|
50356
50628
|
return actualCoverage;
|
|
50357
50629
|
}
|
|
50358
|
-
|
|
50359
|
-
|
|
50630
|
+
cov_1pjjnakm2();
|
|
50631
|
+
cov_1pjjnakm2().s[0]++;
|
|
50360
50632
|
var isSnakeCase = function isSnakeCase(text) {
|
|
50361
|
-
|
|
50362
|
-
|
|
50633
|
+
cov_1pjjnakm2().f[0]++;
|
|
50634
|
+
cov_1pjjnakm2().s[1]++;
|
|
50363
50635
|
return SNAKE_CASE_REGEX.test(text);
|
|
50364
50636
|
};
|
|
50365
|
-
|
|
50637
|
+
cov_1pjjnakm2().s[2]++;
|
|
50366
50638
|
var toSnakeCase = function toSnakeCase(text) {
|
|
50367
|
-
|
|
50368
|
-
|
|
50639
|
+
cov_1pjjnakm2().f[1]++;
|
|
50640
|
+
cov_1pjjnakm2().s[3]++;
|
|
50369
50641
|
return text.replace("-", "_").replace(/([A-Z0-9][a-z])/g, "_$1").replace(/([a-z0-9])([A-Z0-9])/g, "$1_$2").toLowerCase().replace(/[^a-z0-9_]/g, "").replace(/^_/g, "");
|
|
50370
50642
|
};
|
|
50371
50643
|
var useSnakeCaseForApiConnectorFilename = {
|
|
@@ -50376,32 +50648,32 @@
|
|
|
50376
50648
|
}
|
|
50377
50649
|
},
|
|
50378
50650
|
create: function create(context) {
|
|
50379
|
-
|
|
50380
|
-
|
|
50651
|
+
cov_1pjjnakm2().f[2]++;
|
|
50652
|
+
cov_1pjjnakm2().s[4]++;
|
|
50381
50653
|
return {
|
|
50382
50654
|
ImportDeclaration: function ImportDeclaration(node) {
|
|
50383
|
-
|
|
50384
|
-
|
|
50655
|
+
cov_1pjjnakm2().f[3]++;
|
|
50656
|
+
cov_1pjjnakm2().s[5]++;
|
|
50385
50657
|
if (!isPackageImported(context, node, "axios")) {
|
|
50386
|
-
|
|
50387
|
-
|
|
50658
|
+
cov_1pjjnakm2().b[0][0]++;
|
|
50659
|
+
cov_1pjjnakm2().s[6]++;
|
|
50388
50660
|
return;
|
|
50389
50661
|
} else {
|
|
50390
|
-
|
|
50662
|
+
cov_1pjjnakm2().b[0][1]++;
|
|
50391
50663
|
}
|
|
50392
|
-
var _ref = (
|
|
50664
|
+
var _ref = (cov_1pjjnakm2().s[7]++, getFilenameAndExtension(context)),
|
|
50393
50665
|
_ref2 = _slicedToArray$1(_ref, 2),
|
|
50394
50666
|
fileName = _ref2[0],
|
|
50395
50667
|
extension = _ref2[1];
|
|
50396
|
-
|
|
50668
|
+
cov_1pjjnakm2().s[8]++;
|
|
50397
50669
|
if (isSnakeCase(fileName)) {
|
|
50398
|
-
|
|
50399
|
-
|
|
50670
|
+
cov_1pjjnakm2().b[1][0]++;
|
|
50671
|
+
cov_1pjjnakm2().s[9]++;
|
|
50400
50672
|
return;
|
|
50401
50673
|
} else {
|
|
50402
|
-
|
|
50674
|
+
cov_1pjjnakm2().b[1][1]++;
|
|
50403
50675
|
}
|
|
50404
|
-
|
|
50676
|
+
cov_1pjjnakm2().s[10]++;
|
|
50405
50677
|
context.report({
|
|
50406
50678
|
node: node.parent,
|
|
50407
50679
|
message: renameFile("".concat(toSnakeCase(fileName), ".").concat(extension))
|
|
@@ -51452,7 +51724,7 @@
|
|
|
51452
51724
|
|
|
51453
51725
|
function cov_1qf21ie77k() {
|
|
51454
51726
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/webpack-aliases-and-jsconfig-paths-should-be-in-sync.js";
|
|
51455
|
-
var hash = "
|
|
51727
|
+
var hash = "c6aac8704962d0f5cd2f65142b8c06e3df87d522";
|
|
51456
51728
|
var global = new Function("return this")();
|
|
51457
51729
|
var gcv = "__coverage__";
|
|
51458
51730
|
var coverageData = {
|
|
@@ -51461,81 +51733,81 @@
|
|
|
51461
51733
|
"0": {
|
|
51462
51734
|
start: {
|
|
51463
51735
|
line: 7,
|
|
51464
|
-
column:
|
|
51736
|
+
column: 19
|
|
51465
51737
|
},
|
|
51466
51738
|
end: {
|
|
51467
|
-
line:
|
|
51468
|
-
column:
|
|
51739
|
+
line: 7,
|
|
51740
|
+
column: 23
|
|
51469
51741
|
}
|
|
51470
51742
|
},
|
|
51471
51743
|
"1": {
|
|
51472
51744
|
start: {
|
|
51473
|
-
line:
|
|
51474
|
-
column:
|
|
51745
|
+
line: 9,
|
|
51746
|
+
column: 23
|
|
51475
51747
|
},
|
|
51476
51748
|
end: {
|
|
51477
|
-
line:
|
|
51749
|
+
line: 14,
|
|
51478
51750
|
column: 3
|
|
51479
51751
|
}
|
|
51480
51752
|
},
|
|
51481
51753
|
"2": {
|
|
51482
51754
|
start: {
|
|
51483
51755
|
line: 10,
|
|
51484
|
-
column:
|
|
51756
|
+
column: 2
|
|
51485
51757
|
},
|
|
51486
51758
|
end: {
|
|
51487
|
-
line:
|
|
51488
|
-
column:
|
|
51759
|
+
line: 14,
|
|
51760
|
+
column: 3
|
|
51489
51761
|
}
|
|
51490
51762
|
},
|
|
51491
51763
|
"3": {
|
|
51492
51764
|
start: {
|
|
51493
|
-
line:
|
|
51494
|
-
column:
|
|
51765
|
+
line: 12,
|
|
51766
|
+
column: 6
|
|
51495
51767
|
},
|
|
51496
51768
|
end: {
|
|
51497
|
-
line:
|
|
51498
|
-
column:
|
|
51769
|
+
line: 12,
|
|
51770
|
+
column: 16
|
|
51499
51771
|
}
|
|
51500
51772
|
},
|
|
51501
51773
|
"4": {
|
|
51502
51774
|
start: {
|
|
51503
|
-
line:
|
|
51504
|
-
column:
|
|
51775
|
+
line: 16,
|
|
51776
|
+
column: 26
|
|
51505
51777
|
},
|
|
51506
51778
|
end: {
|
|
51507
|
-
line:
|
|
51508
|
-
column:
|
|
51779
|
+
line: 25,
|
|
51780
|
+
column: 1
|
|
51509
51781
|
}
|
|
51510
51782
|
},
|
|
51511
51783
|
"5": {
|
|
51512
51784
|
start: {
|
|
51513
|
-
line:
|
|
51514
|
-
column:
|
|
51785
|
+
line: 17,
|
|
51786
|
+
column: 2
|
|
51515
51787
|
},
|
|
51516
51788
|
end: {
|
|
51517
|
-
line:
|
|
51518
|
-
column:
|
|
51789
|
+
line: 24,
|
|
51790
|
+
column: 3
|
|
51519
51791
|
}
|
|
51520
51792
|
},
|
|
51521
51793
|
"6": {
|
|
51522
51794
|
start: {
|
|
51523
|
-
line:
|
|
51524
|
-
column:
|
|
51795
|
+
line: 18,
|
|
51796
|
+
column: 21
|
|
51525
51797
|
},
|
|
51526
51798
|
end: {
|
|
51527
|
-
line:
|
|
51528
|
-
column:
|
|
51799
|
+
line: 18,
|
|
51800
|
+
column: 65
|
|
51529
51801
|
}
|
|
51530
51802
|
},
|
|
51531
51803
|
"7": {
|
|
51532
51804
|
start: {
|
|
51533
51805
|
line: 19,
|
|
51534
|
-
column:
|
|
51806
|
+
column: 27
|
|
51535
51807
|
},
|
|
51536
51808
|
end: {
|
|
51537
51809
|
line: 19,
|
|
51538
|
-
column:
|
|
51810
|
+
column: 51
|
|
51539
51811
|
}
|
|
51540
51812
|
},
|
|
51541
51813
|
"8": {
|
|
@@ -51545,178 +51817,258 @@
|
|
|
51545
51817
|
},
|
|
51546
51818
|
end: {
|
|
51547
51819
|
line: 21,
|
|
51548
|
-
column:
|
|
51820
|
+
column: 26
|
|
51549
51821
|
}
|
|
51550
51822
|
},
|
|
51551
51823
|
"9": {
|
|
51552
51824
|
start: {
|
|
51553
|
-
line:
|
|
51554
|
-
column:
|
|
51825
|
+
line: 23,
|
|
51826
|
+
column: 4
|
|
51555
51827
|
},
|
|
51556
51828
|
end: {
|
|
51557
|
-
line:
|
|
51558
|
-
column:
|
|
51829
|
+
line: 23,
|
|
51830
|
+
column: 14
|
|
51559
51831
|
}
|
|
51560
51832
|
},
|
|
51561
51833
|
"10": {
|
|
51562
51834
|
start: {
|
|
51563
|
-
line:
|
|
51564
|
-
column:
|
|
51835
|
+
line: 27,
|
|
51836
|
+
column: 26
|
|
51565
51837
|
},
|
|
51566
51838
|
end: {
|
|
51567
|
-
line:
|
|
51568
|
-
column:
|
|
51839
|
+
line: 32,
|
|
51840
|
+
column: 3
|
|
51569
51841
|
}
|
|
51570
51842
|
},
|
|
51571
51843
|
"11": {
|
|
51572
51844
|
start: {
|
|
51573
|
-
line:
|
|
51574
|
-
column:
|
|
51845
|
+
line: 28,
|
|
51846
|
+
column: 2
|
|
51575
51847
|
},
|
|
51576
51848
|
end: {
|
|
51577
|
-
line:
|
|
51578
|
-
column:
|
|
51849
|
+
line: 32,
|
|
51850
|
+
column: 3
|
|
51579
51851
|
}
|
|
51580
51852
|
},
|
|
51581
51853
|
"12": {
|
|
51582
51854
|
start: {
|
|
51583
|
-
line:
|
|
51584
|
-
column:
|
|
51855
|
+
line: 31,
|
|
51856
|
+
column: 11
|
|
51585
51857
|
},
|
|
51586
51858
|
end: {
|
|
51587
|
-
line:
|
|
51588
|
-
column:
|
|
51859
|
+
line: 31,
|
|
51860
|
+
column: 53
|
|
51589
51861
|
}
|
|
51590
51862
|
},
|
|
51591
51863
|
"13": {
|
|
51592
51864
|
start: {
|
|
51593
|
-
line:
|
|
51594
|
-
column:
|
|
51865
|
+
line: 42,
|
|
51866
|
+
column: 4
|
|
51595
51867
|
},
|
|
51596
51868
|
end: {
|
|
51597
|
-
line:
|
|
51598
|
-
column:
|
|
51869
|
+
line: 42,
|
|
51870
|
+
column: 59
|
|
51599
51871
|
}
|
|
51600
51872
|
},
|
|
51601
51873
|
"14": {
|
|
51602
51874
|
start: {
|
|
51603
|
-
line:
|
|
51604
|
-
column:
|
|
51875
|
+
line: 42,
|
|
51876
|
+
column: 49
|
|
51605
51877
|
},
|
|
51606
51878
|
end: {
|
|
51607
|
-
line:
|
|
51608
|
-
column:
|
|
51879
|
+
line: 42,
|
|
51880
|
+
column: 59
|
|
51609
51881
|
}
|
|
51610
51882
|
},
|
|
51611
51883
|
"15": {
|
|
51612
51884
|
start: {
|
|
51613
|
-
line:
|
|
51614
|
-
column:
|
|
51885
|
+
line: 44,
|
|
51886
|
+
column: 4
|
|
51615
51887
|
},
|
|
51616
51888
|
end: {
|
|
51617
|
-
line:
|
|
51618
|
-
column:
|
|
51889
|
+
line: 44,
|
|
51890
|
+
column: 62
|
|
51619
51891
|
}
|
|
51620
51892
|
},
|
|
51621
51893
|
"16": {
|
|
51622
51894
|
start: {
|
|
51623
|
-
line:
|
|
51624
|
-
column:
|
|
51895
|
+
line: 46,
|
|
51896
|
+
column: 4
|
|
51625
51897
|
},
|
|
51626
51898
|
end: {
|
|
51627
|
-
line:
|
|
51628
|
-
column:
|
|
51899
|
+
line: 74,
|
|
51900
|
+
column: 6
|
|
51629
51901
|
}
|
|
51630
51902
|
},
|
|
51631
51903
|
"17": {
|
|
51632
51904
|
start: {
|
|
51633
|
-
line:
|
|
51634
|
-
column:
|
|
51905
|
+
line: 48,
|
|
51906
|
+
column: 25
|
|
51635
51907
|
},
|
|
51636
51908
|
end: {
|
|
51637
|
-
line:
|
|
51638
|
-
column:
|
|
51909
|
+
line: 48,
|
|
51910
|
+
column: 46
|
|
51639
51911
|
}
|
|
51640
51912
|
},
|
|
51641
51913
|
"18": {
|
|
51642
51914
|
start: {
|
|
51643
|
-
line:
|
|
51644
|
-
column:
|
|
51915
|
+
line: 50,
|
|
51916
|
+
column: 10
|
|
51645
51917
|
},
|
|
51646
51918
|
end: {
|
|
51647
|
-
line:
|
|
51648
|
-
column:
|
|
51919
|
+
line: 50,
|
|
51920
|
+
column: 58
|
|
51649
51921
|
}
|
|
51650
51922
|
},
|
|
51651
51923
|
"19": {
|
|
51652
51924
|
start: {
|
|
51653
|
-
line:
|
|
51654
|
-
column:
|
|
51925
|
+
line: 51,
|
|
51926
|
+
column: 8
|
|
51655
51927
|
},
|
|
51656
51928
|
end: {
|
|
51657
|
-
line:
|
|
51658
|
-
column:
|
|
51929
|
+
line: 51,
|
|
51930
|
+
column: 39
|
|
51659
51931
|
}
|
|
51660
51932
|
},
|
|
51661
51933
|
"20": {
|
|
51662
51934
|
start: {
|
|
51663
|
-
line:
|
|
51664
|
-
column:
|
|
51935
|
+
line: 51,
|
|
51936
|
+
column: 32
|
|
51665
51937
|
},
|
|
51666
51938
|
end: {
|
|
51667
|
-
line:
|
|
51668
|
-
column:
|
|
51939
|
+
line: 51,
|
|
51940
|
+
column: 39
|
|
51669
51941
|
}
|
|
51670
51942
|
},
|
|
51671
51943
|
"21": {
|
|
51672
51944
|
start: {
|
|
51673
|
-
line:
|
|
51674
|
-
column:
|
|
51945
|
+
line: 54,
|
|
51946
|
+
column: 10
|
|
51675
51947
|
},
|
|
51676
51948
|
end: {
|
|
51677
|
-
line:
|
|
51678
|
-
column:
|
|
51949
|
+
line: 54,
|
|
51950
|
+
column: 52
|
|
51679
51951
|
}
|
|
51680
51952
|
},
|
|
51681
51953
|
"22": {
|
|
51682
51954
|
start: {
|
|
51683
|
-
line:
|
|
51684
|
-
column:
|
|
51955
|
+
line: 55,
|
|
51956
|
+
column: 8
|
|
51685
51957
|
},
|
|
51686
51958
|
end: {
|
|
51687
|
-
line:
|
|
51688
|
-
column:
|
|
51959
|
+
line: 55,
|
|
51960
|
+
column: 43
|
|
51689
51961
|
}
|
|
51690
51962
|
},
|
|
51691
51963
|
"23": {
|
|
51692
51964
|
start: {
|
|
51693
|
-
line:
|
|
51694
|
-
column:
|
|
51965
|
+
line: 55,
|
|
51966
|
+
column: 36
|
|
51695
51967
|
},
|
|
51696
51968
|
end: {
|
|
51697
|
-
line:
|
|
51698
|
-
column:
|
|
51969
|
+
line: 55,
|
|
51970
|
+
column: 43
|
|
51699
51971
|
}
|
|
51700
51972
|
},
|
|
51701
51973
|
"24": {
|
|
51702
51974
|
start: {
|
|
51703
|
-
line:
|
|
51704
|
-
column:
|
|
51975
|
+
line: 57,
|
|
51976
|
+
column: 8
|
|
51705
51977
|
},
|
|
51706
51978
|
end: {
|
|
51707
|
-
line:
|
|
51708
|
-
column:
|
|
51979
|
+
line: 61,
|
|
51980
|
+
column: 9
|
|
51709
51981
|
}
|
|
51710
51982
|
},
|
|
51711
51983
|
"25": {
|
|
51712
51984
|
start: {
|
|
51713
|
-
line:
|
|
51714
|
-
column:
|
|
51985
|
+
line: 58,
|
|
51986
|
+
column: 10
|
|
51715
51987
|
},
|
|
51716
51988
|
end: {
|
|
51717
|
-
line:
|
|
51989
|
+
line: 60,
|
|
51990
|
+
column: 12
|
|
51991
|
+
}
|
|
51992
|
+
},
|
|
51993
|
+
"26": {
|
|
51994
|
+
start: {
|
|
51995
|
+
line: 63,
|
|
51996
|
+
column: 30
|
|
51997
|
+
},
|
|
51998
|
+
end: {
|
|
51999
|
+
line: 63,
|
|
51718
52000
|
column: 66
|
|
51719
52001
|
}
|
|
52002
|
+
},
|
|
52003
|
+
"27": {
|
|
52004
|
+
start: {
|
|
52005
|
+
line: 64,
|
|
52006
|
+
column: 8
|
|
52007
|
+
},
|
|
52008
|
+
end: {
|
|
52009
|
+
line: 64,
|
|
52010
|
+
column: 35
|
|
52011
|
+
}
|
|
52012
|
+
},
|
|
52013
|
+
"28": {
|
|
52014
|
+
start: {
|
|
52015
|
+
line: 64,
|
|
52016
|
+
column: 28
|
|
52017
|
+
},
|
|
52018
|
+
end: {
|
|
52019
|
+
line: 64,
|
|
52020
|
+
column: 35
|
|
52021
|
+
}
|
|
52022
|
+
},
|
|
52023
|
+
"29": {
|
|
52024
|
+
start: {
|
|
52025
|
+
line: 66,
|
|
52026
|
+
column: 26
|
|
52027
|
+
},
|
|
52028
|
+
end: {
|
|
52029
|
+
line: 66,
|
|
52030
|
+
column: 39
|
|
52031
|
+
}
|
|
52032
|
+
},
|
|
52033
|
+
"30": {
|
|
52034
|
+
start: {
|
|
52035
|
+
line: 67,
|
|
52036
|
+
column: 24
|
|
52037
|
+
},
|
|
52038
|
+
end: {
|
|
52039
|
+
line: 69,
|
|
52040
|
+
column: 9
|
|
52041
|
+
}
|
|
52042
|
+
},
|
|
52043
|
+
"31": {
|
|
52044
|
+
start: {
|
|
52045
|
+
line: 70,
|
|
52046
|
+
column: 8
|
|
52047
|
+
},
|
|
52048
|
+
end: {
|
|
52049
|
+
line: 70,
|
|
52050
|
+
column: 28
|
|
52051
|
+
}
|
|
52052
|
+
},
|
|
52053
|
+
"32": {
|
|
52054
|
+
start: {
|
|
52055
|
+
line: 70,
|
|
52056
|
+
column: 21
|
|
52057
|
+
},
|
|
52058
|
+
end: {
|
|
52059
|
+
line: 70,
|
|
52060
|
+
column: 28
|
|
52061
|
+
}
|
|
52062
|
+
},
|
|
52063
|
+
"33": {
|
|
52064
|
+
start: {
|
|
52065
|
+
line: 72,
|
|
52066
|
+
column: 8
|
|
52067
|
+
},
|
|
52068
|
+
end: {
|
|
52069
|
+
line: 72,
|
|
52070
|
+
column: 68
|
|
52071
|
+
}
|
|
51720
52072
|
}
|
|
51721
52073
|
},
|
|
51722
52074
|
fnMap: {
|
|
@@ -51724,177 +52076,225 @@
|
|
|
51724
52076
|
name: "(anonymous_0)",
|
|
51725
52077
|
decl: {
|
|
51726
52078
|
start: {
|
|
51727
|
-
line:
|
|
52079
|
+
line: 9,
|
|
51728
52080
|
column: 23
|
|
51729
52081
|
},
|
|
51730
52082
|
end: {
|
|
51731
|
-
line:
|
|
52083
|
+
line: 9,
|
|
51732
52084
|
column: 24
|
|
51733
52085
|
}
|
|
51734
52086
|
},
|
|
51735
52087
|
loc: {
|
|
51736
52088
|
start: {
|
|
51737
|
-
line:
|
|
52089
|
+
line: 10,
|
|
51738
52090
|
column: 2
|
|
51739
52091
|
},
|
|
51740
52092
|
end: {
|
|
51741
|
-
line:
|
|
52093
|
+
line: 14,
|
|
51742
52094
|
column: 3
|
|
51743
52095
|
}
|
|
51744
52096
|
},
|
|
51745
|
-
line:
|
|
52097
|
+
line: 10
|
|
51746
52098
|
},
|
|
51747
52099
|
"1": {
|
|
51748
52100
|
name: "(anonymous_1)",
|
|
51749
52101
|
decl: {
|
|
51750
52102
|
start: {
|
|
51751
|
-
line:
|
|
52103
|
+
line: 11,
|
|
51752
52104
|
column: 67
|
|
51753
52105
|
},
|
|
51754
52106
|
end: {
|
|
51755
|
-
line:
|
|
52107
|
+
line: 11,
|
|
51756
52108
|
column: 68
|
|
51757
52109
|
}
|
|
51758
52110
|
},
|
|
51759
52111
|
loc: {
|
|
51760
52112
|
start: {
|
|
51761
|
-
line:
|
|
52113
|
+
line: 12,
|
|
51762
52114
|
column: 6
|
|
51763
52115
|
},
|
|
51764
52116
|
end: {
|
|
51765
|
-
line:
|
|
52117
|
+
line: 12,
|
|
51766
52118
|
column: 16
|
|
51767
52119
|
}
|
|
51768
52120
|
},
|
|
51769
|
-
line:
|
|
52121
|
+
line: 12
|
|
51770
52122
|
},
|
|
51771
52123
|
"2": {
|
|
51772
52124
|
name: "(anonymous_2)",
|
|
51773
52125
|
decl: {
|
|
51774
52126
|
start: {
|
|
51775
|
-
line:
|
|
51776
|
-
column:
|
|
52127
|
+
line: 16,
|
|
52128
|
+
column: 26
|
|
51777
52129
|
},
|
|
51778
52130
|
end: {
|
|
51779
|
-
line:
|
|
51780
|
-
column:
|
|
52131
|
+
line: 16,
|
|
52132
|
+
column: 27
|
|
51781
52133
|
}
|
|
51782
52134
|
},
|
|
51783
52135
|
loc: {
|
|
51784
52136
|
start: {
|
|
51785
|
-
line:
|
|
51786
|
-
column:
|
|
52137
|
+
line: 16,
|
|
52138
|
+
column: 46
|
|
51787
52139
|
},
|
|
51788
52140
|
end: {
|
|
51789
|
-
line:
|
|
52141
|
+
line: 25,
|
|
51790
52142
|
column: 1
|
|
51791
52143
|
}
|
|
51792
52144
|
},
|
|
51793
|
-
line:
|
|
52145
|
+
line: 16
|
|
51794
52146
|
},
|
|
51795
52147
|
"3": {
|
|
51796
52148
|
name: "(anonymous_3)",
|
|
51797
52149
|
decl: {
|
|
51798
52150
|
start: {
|
|
51799
|
-
line:
|
|
51800
|
-
column:
|
|
52151
|
+
line: 27,
|
|
52152
|
+
column: 26
|
|
51801
52153
|
},
|
|
51802
52154
|
end: {
|
|
51803
|
-
line:
|
|
51804
|
-
column:
|
|
52155
|
+
line: 27,
|
|
52156
|
+
column: 27
|
|
51805
52157
|
}
|
|
51806
52158
|
},
|
|
51807
52159
|
loc: {
|
|
51808
52160
|
start: {
|
|
51809
|
-
line:
|
|
51810
|
-
column:
|
|
52161
|
+
line: 28,
|
|
52162
|
+
column: 2
|
|
51811
52163
|
},
|
|
51812
52164
|
end: {
|
|
51813
|
-
line:
|
|
52165
|
+
line: 32,
|
|
51814
52166
|
column: 3
|
|
51815
52167
|
}
|
|
51816
52168
|
},
|
|
51817
|
-
line:
|
|
52169
|
+
line: 28
|
|
51818
52170
|
},
|
|
51819
52171
|
"4": {
|
|
51820
52172
|
name: "(anonymous_4)",
|
|
51821
52173
|
decl: {
|
|
51822
52174
|
start: {
|
|
51823
|
-
line:
|
|
52175
|
+
line: 31,
|
|
51824
52176
|
column: 4
|
|
51825
52177
|
},
|
|
51826
52178
|
end: {
|
|
51827
|
-
line:
|
|
52179
|
+
line: 31,
|
|
51828
52180
|
column: 5
|
|
51829
52181
|
}
|
|
51830
52182
|
},
|
|
51831
52183
|
loc: {
|
|
51832
52184
|
start: {
|
|
51833
|
-
line:
|
|
51834
|
-
column:
|
|
52185
|
+
line: 31,
|
|
52186
|
+
column: 11
|
|
51835
52187
|
},
|
|
51836
52188
|
end: {
|
|
51837
|
-
line:
|
|
51838
|
-
column:
|
|
52189
|
+
line: 31,
|
|
52190
|
+
column: 53
|
|
51839
52191
|
}
|
|
51840
52192
|
},
|
|
51841
|
-
line:
|
|
52193
|
+
line: 31
|
|
52194
|
+
},
|
|
52195
|
+
"5": {
|
|
52196
|
+
name: "(anonymous_5)",
|
|
52197
|
+
decl: {
|
|
52198
|
+
start: {
|
|
52199
|
+
line: 41,
|
|
52200
|
+
column: 10
|
|
52201
|
+
},
|
|
52202
|
+
end: {
|
|
52203
|
+
line: 41,
|
|
52204
|
+
column: 11
|
|
52205
|
+
}
|
|
52206
|
+
},
|
|
52207
|
+
loc: {
|
|
52208
|
+
start: {
|
|
52209
|
+
line: 41,
|
|
52210
|
+
column: 21
|
|
52211
|
+
},
|
|
52212
|
+
end: {
|
|
52213
|
+
line: 75,
|
|
52214
|
+
column: 3
|
|
52215
|
+
}
|
|
52216
|
+
},
|
|
52217
|
+
line: 41
|
|
52218
|
+
},
|
|
52219
|
+
"6": {
|
|
52220
|
+
name: "(anonymous_6)",
|
|
52221
|
+
decl: {
|
|
52222
|
+
start: {
|
|
52223
|
+
line: 47,
|
|
52224
|
+
column: 6
|
|
52225
|
+
},
|
|
52226
|
+
end: {
|
|
52227
|
+
line: 47,
|
|
52228
|
+
column: 7
|
|
52229
|
+
}
|
|
52230
|
+
},
|
|
52231
|
+
loc: {
|
|
52232
|
+
start: {
|
|
52233
|
+
line: 47,
|
|
52234
|
+
column: 21
|
|
52235
|
+
},
|
|
52236
|
+
end: {
|
|
52237
|
+
line: 73,
|
|
52238
|
+
column: 7
|
|
52239
|
+
}
|
|
52240
|
+
},
|
|
52241
|
+
line: 47
|
|
51842
52242
|
}
|
|
51843
52243
|
},
|
|
51844
52244
|
branchMap: {
|
|
51845
52245
|
"0": {
|
|
51846
52246
|
loc: {
|
|
51847
52247
|
start: {
|
|
51848
|
-
line:
|
|
52248
|
+
line: 12,
|
|
51849
52249
|
column: 6
|
|
51850
52250
|
},
|
|
51851
52251
|
end: {
|
|
51852
|
-
line:
|
|
52252
|
+
line: 12,
|
|
51853
52253
|
column: 16
|
|
51854
52254
|
}
|
|
51855
52255
|
},
|
|
51856
52256
|
type: "cond-expr",
|
|
51857
52257
|
locations: [{
|
|
51858
52258
|
start: {
|
|
51859
|
-
line:
|
|
52259
|
+
line: 12,
|
|
51860
52260
|
column: 10
|
|
51861
52261
|
},
|
|
51862
52262
|
end: {
|
|
51863
|
-
line:
|
|
52263
|
+
line: 12,
|
|
51864
52264
|
column: 12
|
|
51865
52265
|
}
|
|
51866
52266
|
}, {
|
|
51867
52267
|
start: {
|
|
51868
|
-
line:
|
|
52268
|
+
line: 12,
|
|
51869
52269
|
column: 15
|
|
51870
52270
|
},
|
|
51871
52271
|
end: {
|
|
51872
|
-
line:
|
|
52272
|
+
line: 12,
|
|
51873
52273
|
column: 16
|
|
51874
52274
|
}
|
|
51875
52275
|
}],
|
|
51876
|
-
line:
|
|
52276
|
+
line: 12
|
|
51877
52277
|
},
|
|
51878
52278
|
"1": {
|
|
51879
52279
|
loc: {
|
|
51880
52280
|
start: {
|
|
51881
|
-
line:
|
|
51882
|
-
column:
|
|
52281
|
+
line: 42,
|
|
52282
|
+
column: 4
|
|
51883
52283
|
},
|
|
51884
52284
|
end: {
|
|
51885
|
-
line:
|
|
51886
|
-
column:
|
|
52285
|
+
line: 42,
|
|
52286
|
+
column: 59
|
|
51887
52287
|
}
|
|
51888
52288
|
},
|
|
51889
52289
|
type: "if",
|
|
51890
52290
|
locations: [{
|
|
51891
52291
|
start: {
|
|
51892
|
-
line:
|
|
51893
|
-
column:
|
|
52292
|
+
line: 42,
|
|
52293
|
+
column: 4
|
|
51894
52294
|
},
|
|
51895
52295
|
end: {
|
|
51896
|
-
line:
|
|
51897
|
-
column:
|
|
52296
|
+
line: 42,
|
|
52297
|
+
column: 59
|
|
51898
52298
|
}
|
|
51899
52299
|
}, {
|
|
51900
52300
|
start: {
|
|
@@ -51906,28 +52306,28 @@
|
|
|
51906
52306
|
column: undefined
|
|
51907
52307
|
}
|
|
51908
52308
|
}],
|
|
51909
|
-
line:
|
|
52309
|
+
line: 42
|
|
51910
52310
|
},
|
|
51911
52311
|
"2": {
|
|
51912
52312
|
loc: {
|
|
51913
52313
|
start: {
|
|
51914
|
-
line:
|
|
51915
|
-
column:
|
|
52314
|
+
line: 51,
|
|
52315
|
+
column: 8
|
|
51916
52316
|
},
|
|
51917
52317
|
end: {
|
|
51918
|
-
line:
|
|
51919
|
-
column:
|
|
52318
|
+
line: 51,
|
|
52319
|
+
column: 39
|
|
51920
52320
|
}
|
|
51921
52321
|
},
|
|
51922
52322
|
type: "if",
|
|
51923
52323
|
locations: [{
|
|
51924
52324
|
start: {
|
|
51925
|
-
line:
|
|
51926
|
-
column:
|
|
52325
|
+
line: 51,
|
|
52326
|
+
column: 8
|
|
51927
52327
|
},
|
|
51928
52328
|
end: {
|
|
51929
|
-
line:
|
|
51930
|
-
column:
|
|
52329
|
+
line: 51,
|
|
52330
|
+
column: 39
|
|
51931
52331
|
}
|
|
51932
52332
|
}, {
|
|
51933
52333
|
start: {
|
|
@@ -51939,28 +52339,28 @@
|
|
|
51939
52339
|
column: undefined
|
|
51940
52340
|
}
|
|
51941
52341
|
}],
|
|
51942
|
-
line:
|
|
52342
|
+
line: 51
|
|
51943
52343
|
},
|
|
51944
52344
|
"3": {
|
|
51945
52345
|
loc: {
|
|
51946
52346
|
start: {
|
|
51947
|
-
line:
|
|
51948
|
-
column:
|
|
52347
|
+
line: 55,
|
|
52348
|
+
column: 8
|
|
51949
52349
|
},
|
|
51950
52350
|
end: {
|
|
51951
|
-
line:
|
|
51952
|
-
column:
|
|
52351
|
+
line: 55,
|
|
52352
|
+
column: 43
|
|
51953
52353
|
}
|
|
51954
52354
|
},
|
|
51955
52355
|
type: "if",
|
|
51956
52356
|
locations: [{
|
|
51957
52357
|
start: {
|
|
51958
|
-
line:
|
|
51959
|
-
column:
|
|
52358
|
+
line: 55,
|
|
52359
|
+
column: 8
|
|
51960
52360
|
},
|
|
51961
52361
|
end: {
|
|
51962
|
-
line:
|
|
51963
|
-
column:
|
|
52362
|
+
line: 55,
|
|
52363
|
+
column: 43
|
|
51964
52364
|
}
|
|
51965
52365
|
}, {
|
|
51966
52366
|
start: {
|
|
@@ -51972,28 +52372,28 @@
|
|
|
51972
52372
|
column: undefined
|
|
51973
52373
|
}
|
|
51974
52374
|
}],
|
|
51975
|
-
line:
|
|
52375
|
+
line: 55
|
|
51976
52376
|
},
|
|
51977
52377
|
"4": {
|
|
51978
52378
|
loc: {
|
|
51979
52379
|
start: {
|
|
51980
|
-
line:
|
|
51981
|
-
column:
|
|
52380
|
+
line: 57,
|
|
52381
|
+
column: 8
|
|
51982
52382
|
},
|
|
51983
52383
|
end: {
|
|
51984
|
-
line:
|
|
51985
|
-
column:
|
|
52384
|
+
line: 61,
|
|
52385
|
+
column: 9
|
|
51986
52386
|
}
|
|
51987
52387
|
},
|
|
51988
52388
|
type: "if",
|
|
51989
52389
|
locations: [{
|
|
51990
52390
|
start: {
|
|
51991
|
-
line:
|
|
51992
|
-
column:
|
|
52391
|
+
line: 57,
|
|
52392
|
+
column: 8
|
|
51993
52393
|
},
|
|
51994
52394
|
end: {
|
|
51995
|
-
line:
|
|
51996
|
-
column:
|
|
52395
|
+
line: 61,
|
|
52396
|
+
column: 9
|
|
51997
52397
|
}
|
|
51998
52398
|
}, {
|
|
51999
52399
|
start: {
|
|
@@ -52005,7 +52405,73 @@
|
|
|
52005
52405
|
column: undefined
|
|
52006
52406
|
}
|
|
52007
52407
|
}],
|
|
52008
|
-
line:
|
|
52408
|
+
line: 57
|
|
52409
|
+
},
|
|
52410
|
+
"5": {
|
|
52411
|
+
loc: {
|
|
52412
|
+
start: {
|
|
52413
|
+
line: 64,
|
|
52414
|
+
column: 8
|
|
52415
|
+
},
|
|
52416
|
+
end: {
|
|
52417
|
+
line: 64,
|
|
52418
|
+
column: 35
|
|
52419
|
+
}
|
|
52420
|
+
},
|
|
52421
|
+
type: "if",
|
|
52422
|
+
locations: [{
|
|
52423
|
+
start: {
|
|
52424
|
+
line: 64,
|
|
52425
|
+
column: 8
|
|
52426
|
+
},
|
|
52427
|
+
end: {
|
|
52428
|
+
line: 64,
|
|
52429
|
+
column: 35
|
|
52430
|
+
}
|
|
52431
|
+
}, {
|
|
52432
|
+
start: {
|
|
52433
|
+
line: undefined,
|
|
52434
|
+
column: undefined
|
|
52435
|
+
},
|
|
52436
|
+
end: {
|
|
52437
|
+
line: undefined,
|
|
52438
|
+
column: undefined
|
|
52439
|
+
}
|
|
52440
|
+
}],
|
|
52441
|
+
line: 64
|
|
52442
|
+
},
|
|
52443
|
+
"6": {
|
|
52444
|
+
loc: {
|
|
52445
|
+
start: {
|
|
52446
|
+
line: 70,
|
|
52447
|
+
column: 8
|
|
52448
|
+
},
|
|
52449
|
+
end: {
|
|
52450
|
+
line: 70,
|
|
52451
|
+
column: 28
|
|
52452
|
+
}
|
|
52453
|
+
},
|
|
52454
|
+
type: "if",
|
|
52455
|
+
locations: [{
|
|
52456
|
+
start: {
|
|
52457
|
+
line: 70,
|
|
52458
|
+
column: 8
|
|
52459
|
+
},
|
|
52460
|
+
end: {
|
|
52461
|
+
line: 70,
|
|
52462
|
+
column: 28
|
|
52463
|
+
}
|
|
52464
|
+
}, {
|
|
52465
|
+
start: {
|
|
52466
|
+
line: undefined,
|
|
52467
|
+
column: undefined
|
|
52468
|
+
},
|
|
52469
|
+
end: {
|
|
52470
|
+
line: undefined,
|
|
52471
|
+
column: undefined
|
|
52472
|
+
}
|
|
52473
|
+
}],
|
|
52474
|
+
line: 70
|
|
52009
52475
|
}
|
|
52010
52476
|
},
|
|
52011
52477
|
s: {
|
|
@@ -52034,24 +52500,36 @@
|
|
|
52034
52500
|
"22": 0,
|
|
52035
52501
|
"23": 0,
|
|
52036
52502
|
"24": 0,
|
|
52037
|
-
"25": 0
|
|
52503
|
+
"25": 0,
|
|
52504
|
+
"26": 0,
|
|
52505
|
+
"27": 0,
|
|
52506
|
+
"28": 0,
|
|
52507
|
+
"29": 0,
|
|
52508
|
+
"30": 0,
|
|
52509
|
+
"31": 0,
|
|
52510
|
+
"32": 0,
|
|
52511
|
+
"33": 0
|
|
52038
52512
|
},
|
|
52039
52513
|
f: {
|
|
52040
52514
|
"0": 0,
|
|
52041
52515
|
"1": 0,
|
|
52042
52516
|
"2": 0,
|
|
52043
52517
|
"3": 0,
|
|
52044
|
-
"4": 0
|
|
52518
|
+
"4": 0,
|
|
52519
|
+
"5": 0,
|
|
52520
|
+
"6": 0
|
|
52045
52521
|
},
|
|
52046
52522
|
b: {
|
|
52047
52523
|
"0": [0, 0],
|
|
52048
52524
|
"1": [0, 0],
|
|
52049
52525
|
"2": [0, 0],
|
|
52050
52526
|
"3": [0, 0],
|
|
52051
|
-
"4": [0, 0]
|
|
52527
|
+
"4": [0, 0],
|
|
52528
|
+
"5": [0, 0],
|
|
52529
|
+
"6": [0, 0]
|
|
52052
52530
|
},
|
|
52053
52531
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52054
|
-
hash: "
|
|
52532
|
+
hash: "c6aac8704962d0f5cd2f65142b8c06e3df87d522"
|
|
52055
52533
|
};
|
|
52056
52534
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52057
52535
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52067,29 +52545,43 @@
|
|
|
52067
52545
|
return actualCoverage;
|
|
52068
52546
|
}
|
|
52069
52547
|
cov_1qf21ie77k();
|
|
52070
|
-
cov_1qf21ie77k().s[0]
|
|
52548
|
+
var jsconfigData = (cov_1qf21ie77k().s[0]++, null);
|
|
52549
|
+
cov_1qf21ie77k().s[1]++;
|
|
52071
52550
|
var removeComments = function removeComments(json) {
|
|
52072
52551
|
cov_1qf21ie77k().f[0]++;
|
|
52073
|
-
cov_1qf21ie77k().s[
|
|
52552
|
+
cov_1qf21ie77k().s[2]++;
|
|
52074
52553
|
return JSON.parse(json.replace(/\\"|"(?:\\"|[^"])*"|(\/\/.*|\/\*[\s\S]*?\*\/)/g, function (m, g) {
|
|
52075
52554
|
cov_1qf21ie77k().f[1]++;
|
|
52076
|
-
cov_1qf21ie77k().s[
|
|
52555
|
+
cov_1qf21ie77k().s[3]++;
|
|
52077
52556
|
return g ? (cov_1qf21ie77k().b[0][0]++, "") : (cov_1qf21ie77k().b[0][1]++, m);
|
|
52078
52557
|
}));
|
|
52079
52558
|
};
|
|
52080
|
-
|
|
52559
|
+
cov_1qf21ie77k().s[4]++;
|
|
52560
|
+
var parseJsconfigData = function parseJsconfigData(jsconfigFilePath) {
|
|
52081
52561
|
cov_1qf21ie77k().f[2]++;
|
|
52082
|
-
cov_1qf21ie77k().s[
|
|
52562
|
+
cov_1qf21ie77k().s[5]++;
|
|
52083
52563
|
try {
|
|
52084
|
-
var jsonData = (cov_1qf21ie77k().s[
|
|
52085
|
-
var parsedJsonData = (cov_1qf21ie77k().s[
|
|
52086
|
-
cov_1qf21ie77k().s[
|
|
52564
|
+
var jsonData = (cov_1qf21ie77k().s[6]++, fs__default["default"].readFileSync(jsconfigFilePath).toString());
|
|
52565
|
+
var parsedJsonData = (cov_1qf21ie77k().s[7]++, removeComments(jsonData));
|
|
52566
|
+
cov_1qf21ie77k().s[8]++;
|
|
52087
52567
|
return parsedJsonData;
|
|
52088
52568
|
} catch (_unused) {
|
|
52089
|
-
cov_1qf21ie77k().s[
|
|
52569
|
+
cov_1qf21ie77k().s[9]++;
|
|
52090
52570
|
return {};
|
|
52091
52571
|
}
|
|
52092
|
-
}
|
|
52572
|
+
};
|
|
52573
|
+
cov_1qf21ie77k().s[10]++;
|
|
52574
|
+
var watchJsConfigFile = function watchJsConfigFile(filePath) {
|
|
52575
|
+
cov_1qf21ie77k().f[3]++;
|
|
52576
|
+
cov_1qf21ie77k().s[11]++;
|
|
52577
|
+
return fs__default["default"].watch(filePath, {
|
|
52578
|
+
persistent: false
|
|
52579
|
+
}, function () {
|
|
52580
|
+
cov_1qf21ie77k().f[4]++;
|
|
52581
|
+
cov_1qf21ie77k().s[12]++;
|
|
52582
|
+
return jsconfigData = parseJsconfigData(filePath);
|
|
52583
|
+
});
|
|
52584
|
+
};
|
|
52093
52585
|
var webpackAliasesAndJsconfigPathsShouldBeInSync = {
|
|
52094
52586
|
meta: {
|
|
52095
52587
|
type: "problem",
|
|
@@ -52098,52 +52590,71 @@
|
|
|
52098
52590
|
}
|
|
52099
52591
|
},
|
|
52100
52592
|
create: function create(context) {
|
|
52101
|
-
|
|
52102
|
-
cov_1qf21ie77k().
|
|
52593
|
+
var _context$options, _context$options$, _context$options2, _context$options2$;
|
|
52594
|
+
cov_1qf21ie77k().f[5]++;
|
|
52595
|
+
cov_1qf21ie77k().s[13]++;
|
|
52596
|
+
if (!((_context$options = context.options) !== null && _context$options !== void 0 && (_context$options$ = _context$options[0]) !== null && _context$options$ !== void 0 && _context$options$.jsconfigFilePath)) {
|
|
52597
|
+
cov_1qf21ie77k().b[1][0]++;
|
|
52598
|
+
cov_1qf21ie77k().s[14]++;
|
|
52599
|
+
return {};
|
|
52600
|
+
} else {
|
|
52601
|
+
cov_1qf21ie77k().b[1][1]++;
|
|
52602
|
+
}
|
|
52603
|
+
cov_1qf21ie77k().s[15]++;
|
|
52604
|
+
watchJsConfigFile((_context$options2 = context.options) === null || _context$options2 === void 0 ? void 0 : (_context$options2$ = _context$options2[0]) === null || _context$options2$ === void 0 ? void 0 : _context$options2$.jsconfigFilePath);
|
|
52605
|
+
cov_1qf21ie77k().s[16]++;
|
|
52103
52606
|
return {
|
|
52104
52607
|
Property: function Property(node) {
|
|
52105
|
-
var _context$
|
|
52106
|
-
cov_1qf21ie77k().f[
|
|
52107
|
-
var filename = (cov_1qf21ie77k().s[
|
|
52108
|
-
var isInsideAliasFile = (cov_1qf21ie77k().s[
|
|
52109
|
-
cov_1qf21ie77k().s[
|
|
52608
|
+
var _context$options3, _context$options3$, _node$parent, _node$parent$parent, _node$parent$parent$k, _jsconfigData, _jsconfigData$compile;
|
|
52609
|
+
cov_1qf21ie77k().f[6]++;
|
|
52610
|
+
var filename = (cov_1qf21ie77k().s[17]++, context.getFilename());
|
|
52611
|
+
var isInsideAliasFile = (cov_1qf21ie77k().s[18]++, filename === ((_context$options3 = context.options) === null || _context$options3 === void 0 ? void 0 : (_context$options3$ = _context$options3[0]) === null || _context$options3$ === void 0 ? void 0 : _context$options3$.aliasFilePath));
|
|
52612
|
+
cov_1qf21ie77k().s[19]++;
|
|
52110
52613
|
if (!isInsideAliasFile) {
|
|
52111
|
-
cov_1qf21ie77k().b[
|
|
52112
|
-
cov_1qf21ie77k().s[
|
|
52614
|
+
cov_1qf21ie77k().b[2][0]++;
|
|
52615
|
+
cov_1qf21ie77k().s[20]++;
|
|
52113
52616
|
return;
|
|
52114
52617
|
} else {
|
|
52115
|
-
cov_1qf21ie77k().b[
|
|
52618
|
+
cov_1qf21ie77k().b[2][1]++;
|
|
52116
52619
|
}
|
|
52117
|
-
var isInsideAliasProperty = (cov_1qf21ie77k().s[
|
|
52118
|
-
cov_1qf21ie77k().s[
|
|
52620
|
+
var isInsideAliasProperty = (cov_1qf21ie77k().s[21]++, ((_node$parent = node.parent) === null || _node$parent === void 0 ? void 0 : (_node$parent$parent = _node$parent.parent) === null || _node$parent$parent === void 0 ? void 0 : (_node$parent$parent$k = _node$parent$parent.key) === null || _node$parent$parent$k === void 0 ? void 0 : _node$parent$parent$k.name) === "alias");
|
|
52621
|
+
cov_1qf21ie77k().s[22]++;
|
|
52119
52622
|
if (!isInsideAliasProperty) {
|
|
52120
|
-
cov_1qf21ie77k().b[
|
|
52121
|
-
cov_1qf21ie77k().s[
|
|
52623
|
+
cov_1qf21ie77k().b[3][0]++;
|
|
52624
|
+
cov_1qf21ie77k().s[23]++;
|
|
52122
52625
|
return;
|
|
52123
52626
|
} else {
|
|
52124
|
-
cov_1qf21ie77k().b[
|
|
52627
|
+
cov_1qf21ie77k().b[3][1]++;
|
|
52125
52628
|
}
|
|
52126
|
-
|
|
52127
|
-
|
|
52128
|
-
|
|
52629
|
+
cov_1qf21ie77k().s[24]++;
|
|
52630
|
+
if (jsconfigData === null) {
|
|
52631
|
+
var _context$options4, _context$options4$;
|
|
52632
|
+
cov_1qf21ie77k().b[4][0]++;
|
|
52633
|
+
cov_1qf21ie77k().s[25]++;
|
|
52634
|
+
jsconfigData = parseJsconfigData((_context$options4 = context.options) === null || _context$options4 === void 0 ? void 0 : (_context$options4$ = _context$options4[0]) === null || _context$options4$ === void 0 ? void 0 : _context$options4$.jsconfigFilePath);
|
|
52635
|
+
} else {
|
|
52636
|
+
cov_1qf21ie77k().b[4][1]++;
|
|
52637
|
+
}
|
|
52638
|
+
var jsconfigPaths = (cov_1qf21ie77k().s[26]++, (_jsconfigData = jsconfigData) === null || _jsconfigData === void 0 ? void 0 : (_jsconfigData$compile = _jsconfigData.compilerOptions) === null || _jsconfigData$compile === void 0 ? void 0 : _jsconfigData$compile.paths);
|
|
52639
|
+
cov_1qf21ie77k().s[27]++;
|
|
52129
52640
|
if (!jsconfigPaths) {
|
|
52130
|
-
cov_1qf21ie77k().b[
|
|
52131
|
-
cov_1qf21ie77k().s[
|
|
52641
|
+
cov_1qf21ie77k().b[5][0]++;
|
|
52642
|
+
cov_1qf21ie77k().s[28]++;
|
|
52132
52643
|
return;
|
|
52133
52644
|
} else {
|
|
52134
|
-
cov_1qf21ie77k().b[
|
|
52645
|
+
cov_1qf21ie77k().b[5][1]++;
|
|
52135
52646
|
}
|
|
52136
|
-
var aliasName = (cov_1qf21ie77k().s[
|
|
52137
|
-
var matches = (cov_1qf21ie77k().s[
|
|
52138
|
-
cov_1qf21ie77k().s[
|
|
52647
|
+
var aliasName = (cov_1qf21ie77k().s[29]++, node.key.name);
|
|
52648
|
+
var matches = (cov_1qf21ie77k().s[30]++, Object.keys(jsconfigPaths).some(ramda.includes(ramda.__, [aliasName, "".concat(aliasName, "/*")])));
|
|
52649
|
+
cov_1qf21ie77k().s[31]++;
|
|
52139
52650
|
if (matches) {
|
|
52140
|
-
cov_1qf21ie77k().b[
|
|
52141
|
-
cov_1qf21ie77k().s[
|
|
52651
|
+
cov_1qf21ie77k().b[6][0]++;
|
|
52652
|
+
cov_1qf21ie77k().s[32]++;
|
|
52142
52653
|
return;
|
|
52143
52654
|
} else {
|
|
52144
|
-
cov_1qf21ie77k().b[
|
|
52655
|
+
cov_1qf21ie77k().b[6][1]++;
|
|
52145
52656
|
}
|
|
52146
|
-
cov_1qf21ie77k().s[
|
|
52657
|
+
cov_1qf21ie77k().s[33]++;
|
|
52147
52658
|
context.report({
|
|
52148
52659
|
node: node,
|
|
52149
52660
|
message: addInJsconfig(aliasName)
|
|
@@ -53727,6 +54238,7 @@
|
|
|
53727
54238
|
"no-blacklisted-imports": noBlacklistedImports,
|
|
53728
54239
|
"no-axios-import-outside-apis": noAxiosImportOutsideApis,
|
|
53729
54240
|
"no-conditional-overlays": noConditionalOverlays,
|
|
54241
|
+
"no-deprecated-imports-from-zustand": noDeprecatedImportsFromZustand,
|
|
53730
54242
|
"no-excess-function-arguments": noExcessFunctionArguments,
|
|
53731
54243
|
"no-dangling-constants": noDanglingConstants,
|
|
53732
54244
|
"no-globalProps-destructure": noGlobalPropsDestructure,
|