@bigbinary/eslint-plugin-neeto 1.0.37 → 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/dist/index.js +668 -510
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
|
|
833
833
|
function cov_2kvndqkrrx() {
|
|
834
834
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/constants.js";
|
|
835
|
-
var hash = "
|
|
835
|
+
var hash = "1a32ceebfdaf3ce469601e8f1fc5ece138adafa3";
|
|
836
836
|
var global = new Function("return this")();
|
|
837
837
|
var gcv = "__coverage__";
|
|
838
838
|
var coverageData = {
|
|
@@ -907,6 +907,46 @@
|
|
|
907
907
|
line: 65,
|
|
908
908
|
column: 1
|
|
909
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
|
+
}
|
|
910
950
|
}
|
|
911
951
|
},
|
|
912
952
|
fnMap: {},
|
|
@@ -918,12 +958,16 @@
|
|
|
918
958
|
"3": 0,
|
|
919
959
|
"4": 0,
|
|
920
960
|
"5": 0,
|
|
921
|
-
"6": 0
|
|
961
|
+
"6": 0,
|
|
962
|
+
"7": 0,
|
|
963
|
+
"8": 0,
|
|
964
|
+
"9": 0,
|
|
965
|
+
"10": 0
|
|
922
966
|
},
|
|
923
967
|
f: {},
|
|
924
968
|
b: {},
|
|
925
969
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
926
|
-
hash: "
|
|
970
|
+
hash: "1a32ceebfdaf3ce469601e8f1fc5ece138adafa3"
|
|
927
971
|
};
|
|
928
972
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
929
973
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -995,6 +1039,10 @@
|
|
|
995
1039
|
type: TYPES.IMPORT_SPECIFIER
|
|
996
1040
|
}]
|
|
997
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_]+$/);
|
|
998
1046
|
|
|
999
1047
|
function _typeof(obj) {
|
|
1000
1048
|
"@babel/helpers - typeof";
|
|
@@ -14332,7 +14380,7 @@
|
|
|
14332
14380
|
|
|
14333
14381
|
function cov_25a29cwf40() {
|
|
14334
14382
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/file-name-and-export-name-standards/constants.js";
|
|
14335
|
-
var hash = "
|
|
14383
|
+
var hash = "d1ef70007eceffc6fb70eb4ca3ed515202a3dc31";
|
|
14336
14384
|
var global = new Function("return this")();
|
|
14337
14385
|
var gcv = "__coverage__";
|
|
14338
14386
|
var coverageData = {
|
|
@@ -14341,50 +14389,10 @@
|
|
|
14341
14389
|
"0": {
|
|
14342
14390
|
start: {
|
|
14343
14391
|
line: 5,
|
|
14344
|
-
column: 32
|
|
14345
|
-
},
|
|
14346
|
-
end: {
|
|
14347
|
-
line: 5,
|
|
14348
|
-
column: 53
|
|
14349
|
-
}
|
|
14350
|
-
},
|
|
14351
|
-
"1": {
|
|
14352
|
-
start: {
|
|
14353
|
-
line: 7,
|
|
14354
|
-
column: 35
|
|
14355
|
-
},
|
|
14356
|
-
end: {
|
|
14357
|
-
line: 7,
|
|
14358
|
-
column: 49
|
|
14359
|
-
}
|
|
14360
|
-
},
|
|
14361
|
-
"2": {
|
|
14362
|
-
start: {
|
|
14363
|
-
line: 9,
|
|
14364
|
-
column: 33
|
|
14365
|
-
},
|
|
14366
|
-
end: {
|
|
14367
|
-
line: 9,
|
|
14368
|
-
column: 54
|
|
14369
|
-
}
|
|
14370
|
-
},
|
|
14371
|
-
"3": {
|
|
14372
|
-
start: {
|
|
14373
|
-
line: 11,
|
|
14374
|
-
column: 32
|
|
14375
|
-
},
|
|
14376
|
-
end: {
|
|
14377
|
-
line: 11,
|
|
14378
|
-
column: 46
|
|
14379
|
-
}
|
|
14380
|
-
},
|
|
14381
|
-
"4": {
|
|
14382
|
-
start: {
|
|
14383
|
-
line: 13,
|
|
14384
14392
|
column: 30
|
|
14385
14393
|
},
|
|
14386
14394
|
end: {
|
|
14387
|
-
line:
|
|
14395
|
+
line: 10,
|
|
14388
14396
|
column: 1
|
|
14389
14397
|
}
|
|
14390
14398
|
}
|
|
@@ -14392,16 +14400,12 @@
|
|
|
14392
14400
|
fnMap: {},
|
|
14393
14401
|
branchMap: {},
|
|
14394
14402
|
s: {
|
|
14395
|
-
"0": 0
|
|
14396
|
-
"1": 0,
|
|
14397
|
-
"2": 0,
|
|
14398
|
-
"3": 0,
|
|
14399
|
-
"4": 0
|
|
14403
|
+
"0": 0
|
|
14400
14404
|
},
|
|
14401
14405
|
f: {},
|
|
14402
14406
|
b: {},
|
|
14403
14407
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
14404
|
-
hash: "
|
|
14408
|
+
hash: "d1ef70007eceffc6fb70eb4ca3ed515202a3dc31"
|
|
14405
14409
|
};
|
|
14406
14410
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
14407
14411
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -14417,11 +14421,7 @@
|
|
|
14417
14421
|
return actualCoverage;
|
|
14418
14422
|
}
|
|
14419
14423
|
cov_25a29cwf40();
|
|
14420
|
-
var
|
|
14421
|
-
var CONSTANT_CASE_REGEX = (cov_25a29cwf40().s[1]++, /^[A-Z0-9_]+$/);
|
|
14422
|
-
var PASCAL_CASE_REGEX$2 = (cov_25a29cwf40().s[2]++, /^[A-Z][A-Za-z0-9]*$/);
|
|
14423
|
-
var SNAKE_CASE_REGEX$1 = (cov_25a29cwf40().s[3]++, /^[a-z0-9_]+$/);
|
|
14424
|
-
var EXPORT_PATTERN = (cov_25a29cwf40().s[4]++, {
|
|
14424
|
+
var EXPORT_PATTERN = (cov_25a29cwf40().s[0]++, {
|
|
14425
14425
|
type: ramda.includes(ramda.__, [TYPES.EXPORT_DEFAULT_DECLARATION, TYPES.EXPORT_NAMED_DECLARATION])
|
|
14426
14426
|
});
|
|
14427
14427
|
|
|
@@ -16937,10 +16937,10 @@
|
|
|
16937
16937
|
cov_qfcdmmo7c().b[2][1]++;
|
|
16938
16938
|
}
|
|
16939
16939
|
var regexes = (cov_qfcdmmo7c().s[9]++, {
|
|
16940
|
-
camelCase: CAMEL_CASE_REGEX
|
|
16940
|
+
camelCase: CAMEL_CASE_REGEX,
|
|
16941
16941
|
CONSTANT_CASE: CONSTANT_CASE_REGEX,
|
|
16942
|
-
PascalCase: PASCAL_CASE_REGEX
|
|
16943
|
-
snake_case: SNAKE_CASE_REGEX
|
|
16942
|
+
PascalCase: PASCAL_CASE_REGEX,
|
|
16943
|
+
snake_case: SNAKE_CASE_REGEX
|
|
16944
16944
|
});
|
|
16945
16945
|
cov_qfcdmmo7c().s[10]++;
|
|
16946
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);
|
|
@@ -17932,7 +17932,7 @@
|
|
|
17932
17932
|
|
|
17933
17933
|
function cov_c0i3as1fp() {
|
|
17934
17934
|
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/localization/constants.js";
|
|
17935
|
-
var hash = "
|
|
17935
|
+
var hash = "50a77ca6d14e4e05ef27fd378f842869ea818565";
|
|
17936
17936
|
var global = new Function("return this")();
|
|
17937
17937
|
var gcv = "__coverage__";
|
|
17938
17938
|
var coverageData = {
|
|
@@ -17941,180 +17941,170 @@
|
|
|
17941
17941
|
"0": {
|
|
17942
17942
|
start: {
|
|
17943
17943
|
line: 7,
|
|
17944
|
-
column: 26
|
|
17945
|
-
},
|
|
17946
|
-
end: {
|
|
17947
|
-
line: 7,
|
|
17948
|
-
column: 47
|
|
17949
|
-
}
|
|
17950
|
-
},
|
|
17951
|
-
"1": {
|
|
17952
|
-
start: {
|
|
17953
|
-
line: 9,
|
|
17954
17944
|
column: 42
|
|
17955
17945
|
},
|
|
17956
17946
|
end: {
|
|
17957
|
-
line:
|
|
17947
|
+
line: 19,
|
|
17958
17948
|
column: 1
|
|
17959
17949
|
}
|
|
17960
17950
|
},
|
|
17961
|
-
"
|
|
17951
|
+
"1": {
|
|
17962
17952
|
start: {
|
|
17963
|
-
line:
|
|
17953
|
+
line: 21,
|
|
17964
17954
|
column: 28
|
|
17965
17955
|
},
|
|
17966
17956
|
end: {
|
|
17967
|
-
line:
|
|
17957
|
+
line: 24,
|
|
17968
17958
|
column: 1
|
|
17969
17959
|
}
|
|
17970
17960
|
},
|
|
17971
|
-
"
|
|
17961
|
+
"2": {
|
|
17972
17962
|
start: {
|
|
17973
|
-
line:
|
|
17963
|
+
line: 27,
|
|
17974
17964
|
column: 34
|
|
17975
17965
|
},
|
|
17976
17966
|
end: {
|
|
17977
|
-
line:
|
|
17967
|
+
line: 33,
|
|
17978
17968
|
column: 1
|
|
17979
17969
|
}
|
|
17980
17970
|
},
|
|
17981
|
-
"
|
|
17971
|
+
"3": {
|
|
17982
17972
|
start: {
|
|
17983
|
-
line:
|
|
17973
|
+
line: 36,
|
|
17984
17974
|
column: 52
|
|
17985
17975
|
},
|
|
17986
17976
|
end: {
|
|
17987
|
-
line:
|
|
17977
|
+
line: 49,
|
|
17988
17978
|
column: 1
|
|
17989
17979
|
}
|
|
17990
17980
|
},
|
|
17991
|
-
"
|
|
17981
|
+
"4": {
|
|
17992
17982
|
start: {
|
|
17993
|
-
line:
|
|
17983
|
+
line: 52,
|
|
17994
17984
|
column: 59
|
|
17995
17985
|
},
|
|
17996
17986
|
end: {
|
|
17997
|
-
line:
|
|
17987
|
+
line: 56,
|
|
17998
17988
|
column: 1
|
|
17999
17989
|
}
|
|
18000
17990
|
},
|
|
18001
|
-
"
|
|
17991
|
+
"5": {
|
|
18002
17992
|
start: {
|
|
18003
|
-
line:
|
|
17993
|
+
line: 59,
|
|
18004
17994
|
column: 54
|
|
18005
17995
|
},
|
|
18006
17996
|
end: {
|
|
18007
|
-
line:
|
|
17997
|
+
line: 71,
|
|
18008
17998
|
column: 1
|
|
18009
17999
|
}
|
|
18010
18000
|
},
|
|
18011
|
-
"
|
|
18001
|
+
"6": {
|
|
18012
18002
|
start: {
|
|
18013
|
-
line:
|
|
18003
|
+
line: 61,
|
|
18014
18004
|
column: 4
|
|
18015
18005
|
},
|
|
18016
18006
|
end: {
|
|
18017
|
-
line:
|
|
18007
|
+
line: 70,
|
|
18018
18008
|
column: 9
|
|
18019
18009
|
}
|
|
18020
18010
|
},
|
|
18021
|
-
"
|
|
18011
|
+
"7": {
|
|
18022
18012
|
start: {
|
|
18023
|
-
line:
|
|
18013
|
+
line: 74,
|
|
18024
18014
|
column: 39
|
|
18025
18015
|
},
|
|
18026
18016
|
end: {
|
|
18027
|
-
line:
|
|
18017
|
+
line: 82,
|
|
18028
18018
|
column: 1
|
|
18029
18019
|
}
|
|
18030
18020
|
},
|
|
18031
|
-
"
|
|
18021
|
+
"8": {
|
|
18032
18022
|
start: {
|
|
18033
|
-
line:
|
|
18023
|
+
line: 85,
|
|
18034
18024
|
column: 43
|
|
18035
18025
|
},
|
|
18036
18026
|
end: {
|
|
18037
|
-
line:
|
|
18027
|
+
line: 88,
|
|
18038
18028
|
column: 1
|
|
18039
18029
|
}
|
|
18040
18030
|
},
|
|
18041
|
-
"
|
|
18031
|
+
"9": {
|
|
18042
18032
|
start: {
|
|
18043
|
-
line:
|
|
18033
|
+
line: 91,
|
|
18044
18034
|
column: 33
|
|
18045
18035
|
},
|
|
18046
18036
|
end: {
|
|
18047
|
-
line:
|
|
18037
|
+
line: 101,
|
|
18048
18038
|
column: 1
|
|
18049
18039
|
}
|
|
18050
18040
|
},
|
|
18051
|
-
"
|
|
18041
|
+
"10": {
|
|
18052
18042
|
start: {
|
|
18053
|
-
line:
|
|
18043
|
+
line: 104,
|
|
18054
18044
|
column: 44
|
|
18055
18045
|
},
|
|
18056
18046
|
end: {
|
|
18057
|
-
line:
|
|
18047
|
+
line: 132,
|
|
18058
18048
|
column: 1
|
|
18059
18049
|
}
|
|
18060
18050
|
},
|
|
18061
|
-
"
|
|
18051
|
+
"11": {
|
|
18062
18052
|
start: {
|
|
18063
|
-
line:
|
|
18053
|
+
line: 135,
|
|
18064
18054
|
column: 39
|
|
18065
18055
|
},
|
|
18066
18056
|
end: {
|
|
18067
|
-
line:
|
|
18057
|
+
line: 141,
|
|
18068
18058
|
column: 1
|
|
18069
18059
|
}
|
|
18070
18060
|
},
|
|
18071
|
-
"
|
|
18061
|
+
"12": {
|
|
18072
18062
|
start: {
|
|
18073
|
-
line:
|
|
18063
|
+
line: 144,
|
|
18074
18064
|
column: 49
|
|
18075
18065
|
},
|
|
18076
18066
|
end: {
|
|
18077
|
-
line:
|
|
18067
|
+
line: 161,
|
|
18078
18068
|
column: 1
|
|
18079
18069
|
}
|
|
18080
18070
|
},
|
|
18081
|
-
"
|
|
18071
|
+
"13": {
|
|
18082
18072
|
start: {
|
|
18083
|
-
line:
|
|
18073
|
+
line: 164,
|
|
18084
18074
|
column: 52
|
|
18085
18075
|
},
|
|
18086
18076
|
end: {
|
|
18087
|
-
line:
|
|
18077
|
+
line: 181,
|
|
18088
18078
|
column: 1
|
|
18089
18079
|
}
|
|
18090
18080
|
},
|
|
18091
|
-
"
|
|
18081
|
+
"14": {
|
|
18092
18082
|
start: {
|
|
18093
|
-
line:
|
|
18083
|
+
line: 183,
|
|
18094
18084
|
column: 43
|
|
18095
18085
|
},
|
|
18096
18086
|
end: {
|
|
18097
|
-
line:
|
|
18087
|
+
line: 186,
|
|
18098
18088
|
column: 1
|
|
18099
18089
|
}
|
|
18100
18090
|
},
|
|
18101
|
-
"
|
|
18091
|
+
"15": {
|
|
18102
18092
|
start: {
|
|
18103
|
-
line:
|
|
18093
|
+
line: 189,
|
|
18104
18094
|
column: 49
|
|
18105
18095
|
},
|
|
18106
18096
|
end: {
|
|
18107
|
-
line:
|
|
18097
|
+
line: 196,
|
|
18108
18098
|
column: 1
|
|
18109
18099
|
}
|
|
18110
18100
|
},
|
|
18111
|
-
"
|
|
18101
|
+
"16": {
|
|
18112
18102
|
start: {
|
|
18113
|
-
line:
|
|
18103
|
+
line: 199,
|
|
18114
18104
|
column: 47
|
|
18115
18105
|
},
|
|
18116
18106
|
end: {
|
|
18117
|
-
line:
|
|
18107
|
+
line: 220,
|
|
18118
18108
|
column: 1
|
|
18119
18109
|
}
|
|
18120
18110
|
}
|
|
@@ -18124,25 +18114,25 @@
|
|
|
18124
18114
|
name: "(anonymous_0)",
|
|
18125
18115
|
decl: {
|
|
18126
18116
|
start: {
|
|
18127
|
-
line:
|
|
18117
|
+
line: 60,
|
|
18128
18118
|
column: 12
|
|
18129
18119
|
},
|
|
18130
18120
|
end: {
|
|
18131
|
-
line:
|
|
18121
|
+
line: 60,
|
|
18132
18122
|
column: 13
|
|
18133
18123
|
}
|
|
18134
18124
|
},
|
|
18135
18125
|
loc: {
|
|
18136
18126
|
start: {
|
|
18137
|
-
line:
|
|
18127
|
+
line: 61,
|
|
18138
18128
|
column: 4
|
|
18139
18129
|
},
|
|
18140
18130
|
end: {
|
|
18141
|
-
line:
|
|
18131
|
+
line: 70,
|
|
18142
18132
|
column: 9
|
|
18143
18133
|
}
|
|
18144
18134
|
},
|
|
18145
|
-
line:
|
|
18135
|
+
line: 61
|
|
18146
18136
|
}
|
|
18147
18137
|
},
|
|
18148
18138
|
branchMap: {},
|
|
@@ -18163,15 +18153,14 @@
|
|
|
18163
18153
|
"13": 0,
|
|
18164
18154
|
"14": 0,
|
|
18165
18155
|
"15": 0,
|
|
18166
|
-
"16": 0
|
|
18167
|
-
"17": 0
|
|
18156
|
+
"16": 0
|
|
18168
18157
|
},
|
|
18169
18158
|
f: {
|
|
18170
18159
|
"0": 0
|
|
18171
18160
|
},
|
|
18172
18161
|
b: {},
|
|
18173
18162
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
18174
|
-
hash: "
|
|
18163
|
+
hash: "50a77ca6d14e4e05ef27fd378f842869ea818565"
|
|
18175
18164
|
};
|
|
18176
18165
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
18177
18166
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -18189,8 +18178,7 @@
|
|
|
18189
18178
|
cov_c0i3as1fp();
|
|
18190
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; }
|
|
18191
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; }
|
|
18192
|
-
var
|
|
18193
|
-
var LOCALIZATION_CALL_PATTERNS = (cov_c0i3as1fp().s[1]++, [{
|
|
18181
|
+
var LOCALIZATION_CALL_PATTERNS = (cov_c0i3as1fp().s[0]++, [{
|
|
18194
18182
|
callee: {
|
|
18195
18183
|
type: TYPES.IDENTIFIER,
|
|
18196
18184
|
name: "t"
|
|
@@ -18210,13 +18198,13 @@
|
|
|
18210
18198
|
type: TYPES.LITERAL
|
|
18211
18199
|
}]
|
|
18212
18200
|
}]);
|
|
18213
|
-
var PLURAL_TYPES = (cov_c0i3as1fp().s[
|
|
18201
|
+
var PLURAL_TYPES = (cov_c0i3as1fp().s[1]++, {
|
|
18214
18202
|
SINGULAR: "SINGULAR",
|
|
18215
18203
|
PLURAL: "PLURAL"
|
|
18216
18204
|
});
|
|
18217
18205
|
|
|
18218
18206
|
// t("common.edit")
|
|
18219
|
-
var T_FUNCTION_PATTERN = (cov_c0i3as1fp().s[
|
|
18207
|
+
var T_FUNCTION_PATTERN = (cov_c0i3as1fp().s[2]++, {
|
|
18220
18208
|
type: TYPES.CALL_EXPRESSION,
|
|
18221
18209
|
callee: {
|
|
18222
18210
|
type: TYPES.IDENTIFIER,
|
|
@@ -18225,7 +18213,7 @@
|
|
|
18225
18213
|
});
|
|
18226
18214
|
|
|
18227
18215
|
// i18next.t("common.edit"), i18n.t("common.edit")
|
|
18228
|
-
var T_FUNCTION_MEMBER_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[
|
|
18216
|
+
var T_FUNCTION_MEMBER_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[3]++, {
|
|
18229
18217
|
type: TYPES.CALL_EXPRESSION,
|
|
18230
18218
|
callee: {
|
|
18231
18219
|
type: TYPES.MEMBER_EXPRESSION,
|
|
@@ -18241,15 +18229,15 @@
|
|
|
18241
18229
|
});
|
|
18242
18230
|
|
|
18243
18231
|
// `${t("common.edit")} ${t("common.field")}`
|
|
18244
|
-
var T_FUNCTIONS_IN_STRING_INTERPOLATION_PATTERN = (cov_c0i3as1fp().s[
|
|
18232
|
+
var T_FUNCTIONS_IN_STRING_INTERPOLATION_PATTERN = (cov_c0i3as1fp().s[4]++, {
|
|
18245
18233
|
expressions: ramda.any(matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN]))
|
|
18246
18234
|
});
|
|
18247
18235
|
|
|
18248
18236
|
// <div>{t("common.edit")} {t("common.field")}</div>
|
|
18249
|
-
var MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_c0i3as1fp().s[
|
|
18237
|
+
var MULTIPLE_T_FUNCTIONS_UNDER_SAME_PARENT = (cov_c0i3as1fp().s[5]++, {
|
|
18250
18238
|
children: function children(_children) {
|
|
18251
18239
|
cov_c0i3as1fp().f[0]++;
|
|
18252
|
-
cov_c0i3as1fp().s[
|
|
18240
|
+
cov_c0i3as1fp().s[6]++;
|
|
18253
18241
|
return ramda.count(matches({
|
|
18254
18242
|
type: TYPES.JSX_EXPRESSION_CONTAINER,
|
|
18255
18243
|
expression: matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN])
|
|
@@ -18258,7 +18246,7 @@
|
|
|
18258
18246
|
});
|
|
18259
18247
|
|
|
18260
18248
|
// <Trans />
|
|
18261
|
-
var TRANS_COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18249
|
+
var TRANS_COMPONENT_PATTERN = (cov_c0i3as1fp().s[7]++, {
|
|
18262
18250
|
openingElement: {
|
|
18263
18251
|
type: TYPES.JSX_OPENING_ELEMENT,
|
|
18264
18252
|
name: {
|
|
@@ -18269,12 +18257,12 @@
|
|
|
18269
18257
|
});
|
|
18270
18258
|
|
|
18271
18259
|
// '<Trans i18nKey="important">This is the <strong>important part</strong></Trans>'
|
|
18272
|
-
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), {}, {
|
|
18273
18261
|
children: isNotEmpty$1
|
|
18274
18262
|
}));
|
|
18275
18263
|
|
|
18276
18264
|
// const TestComponent = () => {}
|
|
18277
|
-
var COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18265
|
+
var COMPONENT_PATTERN = (cov_c0i3as1fp().s[9]++, {
|
|
18278
18266
|
type: TYPES.VARIABLE_DECLARATION,
|
|
18279
18267
|
kind: "const",
|
|
18280
18268
|
declarations: [{
|
|
@@ -18284,13 +18272,13 @@
|
|
|
18284
18272
|
},
|
|
18285
18273
|
id: {
|
|
18286
18274
|
type: TYPES.IDENTIFIER,
|
|
18287
|
-
name: ramda.test(PASCAL_CASE_REGEX
|
|
18275
|
+
name: ramda.test(PASCAL_CASE_REGEX)
|
|
18288
18276
|
}
|
|
18289
18277
|
}]
|
|
18290
18278
|
});
|
|
18291
18279
|
|
|
18292
18280
|
// const { t } = useTranslation()
|
|
18293
|
-
var USE_TRANSLATION_HOOK_PATTERN = (cov_c0i3as1fp().s[
|
|
18281
|
+
var USE_TRANSLATION_HOOK_PATTERN = (cov_c0i3as1fp().s[10]++, {
|
|
18294
18282
|
type: TYPES.VARIABLE_DECLARATION,
|
|
18295
18283
|
kind: "const",
|
|
18296
18284
|
declarations: [{
|
|
@@ -18316,7 +18304,7 @@
|
|
|
18316
18304
|
});
|
|
18317
18305
|
|
|
18318
18306
|
// components={{}}
|
|
18319
|
-
var COMPONENTS_PROP_PATTERN = (cov_c0i3as1fp().s[
|
|
18307
|
+
var COMPONENTS_PROP_PATTERN = (cov_c0i3as1fp().s[11]++, {
|
|
18320
18308
|
type: TYPES.JSX_ATTRIBUTE,
|
|
18321
18309
|
name: {
|
|
18322
18310
|
type: TYPES.JSX_IDENTIFIER,
|
|
@@ -18325,7 +18313,7 @@
|
|
|
18325
18313
|
});
|
|
18326
18314
|
|
|
18327
18315
|
// {{Button: <Button label={t("button.edit")}/>}}
|
|
18328
|
-
var COMPONENT_WITH_LABEL_PROP_PATTERN = (cov_c0i3as1fp().s[
|
|
18316
|
+
var COMPONENT_WITH_LABEL_PROP_PATTERN = (cov_c0i3as1fp().s[12]++, {
|
|
18329
18317
|
type: TYPES.PROPERTY,
|
|
18330
18318
|
value: {
|
|
18331
18319
|
type: TYPES.JSX_ELEMENT,
|
|
@@ -18343,7 +18331,7 @@
|
|
|
18343
18331
|
});
|
|
18344
18332
|
|
|
18345
18333
|
// articles > 1 ? t("article") : t("articles");
|
|
18346
|
-
var PLURALIZE_CONDITIONAL_RENDER_PATTERN = (cov_c0i3as1fp().s[
|
|
18334
|
+
var PLURALIZE_CONDITIONAL_RENDER_PATTERN = (cov_c0i3as1fp().s[13]++, {
|
|
18347
18335
|
test: {
|
|
18348
18336
|
type: TYPES.BINARY_EXPRESSION,
|
|
18349
18337
|
operator: ">",
|
|
@@ -18356,13 +18344,13 @@
|
|
|
18356
18344
|
alternate: matchesAny([T_FUNCTION_PATTERN, T_FUNCTION_MEMBER_EXPRESSION_PATTERN])
|
|
18357
18345
|
});
|
|
18358
18346
|
// <Pluralize />
|
|
18359
|
-
var PLURALIZE_COMPONENT_PATTERN = (cov_c0i3as1fp().s[
|
|
18347
|
+
var PLURALIZE_COMPONENT_PATTERN = (cov_c0i3as1fp().s[14]++, {
|
|
18360
18348
|
type: TYPES.JSX_IDENTIFIER,
|
|
18361
18349
|
name: "Pluralize"
|
|
18362
18350
|
});
|
|
18363
18351
|
|
|
18364
18352
|
// pluralize("edit")
|
|
18365
|
-
var PLURALIZE_CALL_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[
|
|
18353
|
+
var PLURALIZE_CALL_EXPRESSION_PATTERN = (cov_c0i3as1fp().s[15]++, {
|
|
18366
18354
|
type: TYPES.CALL_EXPRESSION,
|
|
18367
18355
|
callee: {
|
|
18368
18356
|
type: TYPES.IDENTIFIER,
|
|
@@ -18374,7 +18362,7 @@
|
|
|
18374
18362
|
});
|
|
18375
18363
|
|
|
18376
18364
|
// import { pluralize } from "some-custom-path", import pluralize from "some-custom-path"
|
|
18377
|
-
var CUSTOM_PLURALIZE_IMPORT_PATTERN = (cov_c0i3as1fp().s[
|
|
18365
|
+
var CUSTOM_PLURALIZE_IMPORT_PATTERN = (cov_c0i3as1fp().s[16]++, {
|
|
18378
18366
|
type: TYPES.IMPORT_DECLARATION,
|
|
18379
18367
|
specifiers: ramda.any(matchesAny([{
|
|
18380
18368
|
type: TYPES.IMPORT_DEFAULT_SPECIFIER,
|
|
@@ -47147,7 +47135,7 @@
|
|
|
47147
47135
|
|
|
47148
47136
|
function cov_2r6kdxisgo() {
|
|
47149
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";
|
|
47150
|
-
var hash = "
|
|
47138
|
+
var hash = "3cf11823419cffe39c05d65d36765ab9b2504764";
|
|
47151
47139
|
var global = new Function("return this")();
|
|
47152
47140
|
var gcv = "__coverage__";
|
|
47153
47141
|
var coverageData = {
|
|
@@ -47182,26 +47170,6 @@
|
|
|
47182
47170
|
line: 26,
|
|
47183
47171
|
column: 1
|
|
47184
47172
|
}
|
|
47185
|
-
},
|
|
47186
|
-
"3": {
|
|
47187
|
-
start: {
|
|
47188
|
-
line: 28,
|
|
47189
|
-
column: 32
|
|
47190
|
-
},
|
|
47191
|
-
end: {
|
|
47192
|
-
line: 28,
|
|
47193
|
-
column: 53
|
|
47194
|
-
}
|
|
47195
|
-
},
|
|
47196
|
-
"4": {
|
|
47197
|
-
start: {
|
|
47198
|
-
line: 30,
|
|
47199
|
-
column: 33
|
|
47200
|
-
},
|
|
47201
|
-
end: {
|
|
47202
|
-
line: 30,
|
|
47203
|
-
column: 54
|
|
47204
|
-
}
|
|
47205
47173
|
}
|
|
47206
47174
|
},
|
|
47207
47175
|
fnMap: {},
|
|
@@ -47209,14 +47177,12 @@
|
|
|
47209
47177
|
s: {
|
|
47210
47178
|
"0": 0,
|
|
47211
47179
|
"1": 0,
|
|
47212
|
-
"2": 0
|
|
47213
|
-
"3": 0,
|
|
47214
|
-
"4": 0
|
|
47180
|
+
"2": 0
|
|
47215
47181
|
},
|
|
47216
47182
|
f: {},
|
|
47217
47183
|
b: {},
|
|
47218
47184
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
47219
|
-
hash: "
|
|
47185
|
+
hash: "3cf11823419cffe39c05d65d36765ab9b2504764"
|
|
47220
47186
|
};
|
|
47221
47187
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
47222
47188
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -47246,8 +47212,6 @@
|
|
|
47246
47212
|
}
|
|
47247
47213
|
});
|
|
47248
47214
|
var FUNCTION_DECLARATION_PATTERNS = (cov_2r6kdxisgo().s[2]++, [FUNCTION_EXPRESSION_PATTERN, FUNCTION_CONSTRUCTOR_PATTERN]);
|
|
47249
|
-
var CAMEL_CASE_REGEX = (cov_2r6kdxisgo().s[3]++, /^[a-z][A-Za-z0-9]*$/);
|
|
47250
|
-
var PASCAL_CASE_REGEX = (cov_2r6kdxisgo().s[4]++, /^[A-Z][A-Za-z0-9]*$/);
|
|
47251
47215
|
|
|
47252
47216
|
function cov_1j0uko43i5() {
|
|
47253
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";
|
|
@@ -50339,166 +50303,121 @@
|
|
|
50339
50303
|
}
|
|
50340
50304
|
};
|
|
50341
50305
|
|
|
50342
|
-
function
|
|
50343
|
-
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename
|
|
50344
|
-
var hash = "
|
|
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";
|
|
50345
50309
|
var global = new Function("return this")();
|
|
50346
50310
|
var gcv = "__coverage__";
|
|
50347
50311
|
var coverageData = {
|
|
50348
|
-
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",
|
|
50349
50313
|
statementMap: {
|
|
50350
50314
|
"0": {
|
|
50351
50315
|
start: {
|
|
50352
|
-
line:
|
|
50353
|
-
column: 32
|
|
50354
|
-
},
|
|
50355
|
-
end: {
|
|
50356
|
-
line: 1,
|
|
50357
|
-
column: 46
|
|
50358
|
-
}
|
|
50359
|
-
}
|
|
50360
|
-
},
|
|
50361
|
-
fnMap: {},
|
|
50362
|
-
branchMap: {},
|
|
50363
|
-
s: {
|
|
50364
|
-
"0": 0
|
|
50365
|
-
},
|
|
50366
|
-
f: {},
|
|
50367
|
-
b: {},
|
|
50368
|
-
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50369
|
-
hash: "432e2f20dd88e1398d94e58b428244017eabd2ab"
|
|
50370
|
-
};
|
|
50371
|
-
var coverage = global[gcv] || (global[gcv] = {});
|
|
50372
|
-
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
50373
|
-
coverage[path] = coverageData;
|
|
50374
|
-
}
|
|
50375
|
-
var actualCoverage = coverage[path];
|
|
50376
|
-
{
|
|
50377
|
-
// @ts-ignore
|
|
50378
|
-
cov_2ntqbue5f9 = function () {
|
|
50379
|
-
return actualCoverage;
|
|
50380
|
-
};
|
|
50381
|
-
}
|
|
50382
|
-
return actualCoverage;
|
|
50383
|
-
}
|
|
50384
|
-
cov_2ntqbue5f9();
|
|
50385
|
-
var SNAKE_CASE_REGEX = (cov_2ntqbue5f9().s[0]++, /^[a-z0-9_]+$/);
|
|
50386
|
-
|
|
50387
|
-
function cov_wozdupke() {
|
|
50388
|
-
var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename/index.js";
|
|
50389
|
-
var hash = "268c958a88c13f7cab72aadb60bc45af74be60df";
|
|
50390
|
-
var global = new Function("return this")();
|
|
50391
|
-
var gcv = "__coverage__";
|
|
50392
|
-
var coverageData = {
|
|
50393
|
-
path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/use-snake-case-for-api-connector-filename/index.js",
|
|
50394
|
-
statementMap: {
|
|
50395
|
-
"0": {
|
|
50396
|
-
start: {
|
|
50397
|
-
line: 6,
|
|
50316
|
+
line: 5,
|
|
50398
50317
|
column: 20
|
|
50399
50318
|
},
|
|
50400
50319
|
end: {
|
|
50401
|
-
line:
|
|
50320
|
+
line: 5,
|
|
50402
50321
|
column: 55
|
|
50403
50322
|
}
|
|
50404
50323
|
},
|
|
50405
50324
|
"1": {
|
|
50406
50325
|
start: {
|
|
50407
|
-
line:
|
|
50326
|
+
line: 5,
|
|
50408
50327
|
column: 28
|
|
50409
50328
|
},
|
|
50410
50329
|
end: {
|
|
50411
|
-
line:
|
|
50330
|
+
line: 5,
|
|
50412
50331
|
column: 55
|
|
50413
50332
|
}
|
|
50414
50333
|
},
|
|
50415
50334
|
"2": {
|
|
50416
50335
|
start: {
|
|
50417
|
-
line:
|
|
50336
|
+
line: 7,
|
|
50418
50337
|
column: 20
|
|
50419
50338
|
},
|
|
50420
50339
|
end: {
|
|
50421
|
-
line:
|
|
50340
|
+
line: 14,
|
|
50422
50341
|
column: 23
|
|
50423
50342
|
}
|
|
50424
50343
|
},
|
|
50425
50344
|
"3": {
|
|
50426
50345
|
start: {
|
|
50427
|
-
line:
|
|
50346
|
+
line: 8,
|
|
50428
50347
|
column: 2
|
|
50429
50348
|
},
|
|
50430
50349
|
end: {
|
|
50431
|
-
line:
|
|
50350
|
+
line: 14,
|
|
50432
50351
|
column: 23
|
|
50433
50352
|
}
|
|
50434
50353
|
},
|
|
50435
50354
|
"4": {
|
|
50436
50355
|
start: {
|
|
50437
|
-
line:
|
|
50356
|
+
line: 23,
|
|
50438
50357
|
column: 22
|
|
50439
50358
|
},
|
|
50440
50359
|
end: {
|
|
50441
|
-
line:
|
|
50360
|
+
line: 35,
|
|
50442
50361
|
column: 3
|
|
50443
50362
|
}
|
|
50444
50363
|
},
|
|
50445
50364
|
"5": {
|
|
50446
50365
|
start: {
|
|
50447
|
-
line:
|
|
50366
|
+
line: 25,
|
|
50448
50367
|
column: 6
|
|
50449
50368
|
},
|
|
50450
50369
|
end: {
|
|
50451
|
-
line:
|
|
50370
|
+
line: 25,
|
|
50452
50371
|
column: 61
|
|
50453
50372
|
}
|
|
50454
50373
|
},
|
|
50455
50374
|
"6": {
|
|
50456
50375
|
start: {
|
|
50457
|
-
line:
|
|
50376
|
+
line: 25,
|
|
50458
50377
|
column: 54
|
|
50459
50378
|
},
|
|
50460
50379
|
end: {
|
|
50461
|
-
line:
|
|
50380
|
+
line: 25,
|
|
50462
50381
|
column: 61
|
|
50463
50382
|
}
|
|
50464
50383
|
},
|
|
50465
50384
|
"7": {
|
|
50466
50385
|
start: {
|
|
50467
|
-
line:
|
|
50386
|
+
line: 27,
|
|
50468
50387
|
column: 36
|
|
50469
50388
|
},
|
|
50470
50389
|
end: {
|
|
50471
|
-
line:
|
|
50390
|
+
line: 27,
|
|
50472
50391
|
column: 68
|
|
50473
50392
|
}
|
|
50474
50393
|
},
|
|
50475
50394
|
"8": {
|
|
50476
50395
|
start: {
|
|
50477
|
-
line:
|
|
50396
|
+
line: 28,
|
|
50478
50397
|
column: 6
|
|
50479
50398
|
},
|
|
50480
50399
|
end: {
|
|
50481
|
-
line:
|
|
50400
|
+
line: 28,
|
|
50482
50401
|
column: 40
|
|
50483
50402
|
}
|
|
50484
50403
|
},
|
|
50485
50404
|
"9": {
|
|
50486
50405
|
start: {
|
|
50487
|
-
line:
|
|
50406
|
+
line: 28,
|
|
50488
50407
|
column: 33
|
|
50489
50408
|
},
|
|
50490
50409
|
end: {
|
|
50491
|
-
line:
|
|
50410
|
+
line: 28,
|
|
50492
50411
|
column: 40
|
|
50493
50412
|
}
|
|
50494
50413
|
},
|
|
50495
50414
|
"10": {
|
|
50496
50415
|
start: {
|
|
50497
|
-
line:
|
|
50416
|
+
line: 30,
|
|
50498
50417
|
column: 6
|
|
50499
50418
|
},
|
|
50500
50419
|
end: {
|
|
50501
|
-
line:
|
|
50420
|
+
line: 33,
|
|
50502
50421
|
column: 9
|
|
50503
50422
|
}
|
|
50504
50423
|
}
|
|
@@ -50508,119 +50427,119 @@
|
|
|
50508
50427
|
name: "(anonymous_0)",
|
|
50509
50428
|
decl: {
|
|
50510
50429
|
start: {
|
|
50511
|
-
line:
|
|
50430
|
+
line: 5,
|
|
50512
50431
|
column: 20
|
|
50513
50432
|
},
|
|
50514
50433
|
end: {
|
|
50515
|
-
line:
|
|
50434
|
+
line: 5,
|
|
50516
50435
|
column: 21
|
|
50517
50436
|
}
|
|
50518
50437
|
},
|
|
50519
50438
|
loc: {
|
|
50520
50439
|
start: {
|
|
50521
|
-
line:
|
|
50440
|
+
line: 5,
|
|
50522
50441
|
column: 28
|
|
50523
50442
|
},
|
|
50524
50443
|
end: {
|
|
50525
|
-
line:
|
|
50444
|
+
line: 5,
|
|
50526
50445
|
column: 55
|
|
50527
50446
|
}
|
|
50528
50447
|
},
|
|
50529
|
-
line:
|
|
50448
|
+
line: 5
|
|
50530
50449
|
},
|
|
50531
50450
|
"1": {
|
|
50532
50451
|
name: "(anonymous_1)",
|
|
50533
50452
|
decl: {
|
|
50534
50453
|
start: {
|
|
50535
|
-
line:
|
|
50454
|
+
line: 7,
|
|
50536
50455
|
column: 20
|
|
50537
50456
|
},
|
|
50538
50457
|
end: {
|
|
50539
|
-
line:
|
|
50458
|
+
line: 7,
|
|
50540
50459
|
column: 21
|
|
50541
50460
|
}
|
|
50542
50461
|
},
|
|
50543
50462
|
loc: {
|
|
50544
50463
|
start: {
|
|
50545
|
-
line:
|
|
50464
|
+
line: 8,
|
|
50546
50465
|
column: 2
|
|
50547
50466
|
},
|
|
50548
50467
|
end: {
|
|
50549
|
-
line:
|
|
50468
|
+
line: 14,
|
|
50550
50469
|
column: 23
|
|
50551
50470
|
}
|
|
50552
50471
|
},
|
|
50553
|
-
line:
|
|
50472
|
+
line: 8
|
|
50554
50473
|
},
|
|
50555
50474
|
"2": {
|
|
50556
50475
|
name: "(anonymous_2)",
|
|
50557
50476
|
decl: {
|
|
50558
50477
|
start: {
|
|
50559
|
-
line:
|
|
50478
|
+
line: 23,
|
|
50560
50479
|
column: 10
|
|
50561
50480
|
},
|
|
50562
50481
|
end: {
|
|
50563
|
-
line:
|
|
50482
|
+
line: 23,
|
|
50564
50483
|
column: 11
|
|
50565
50484
|
}
|
|
50566
50485
|
},
|
|
50567
50486
|
loc: {
|
|
50568
50487
|
start: {
|
|
50569
|
-
line:
|
|
50488
|
+
line: 23,
|
|
50570
50489
|
column: 22
|
|
50571
50490
|
},
|
|
50572
50491
|
end: {
|
|
50573
|
-
line:
|
|
50492
|
+
line: 35,
|
|
50574
50493
|
column: 3
|
|
50575
50494
|
}
|
|
50576
50495
|
},
|
|
50577
|
-
line:
|
|
50496
|
+
line: 23
|
|
50578
50497
|
},
|
|
50579
50498
|
"3": {
|
|
50580
50499
|
name: "(anonymous_3)",
|
|
50581
50500
|
decl: {
|
|
50582
50501
|
start: {
|
|
50583
|
-
line:
|
|
50502
|
+
line: 24,
|
|
50584
50503
|
column: 4
|
|
50585
50504
|
},
|
|
50586
50505
|
end: {
|
|
50587
|
-
line:
|
|
50506
|
+
line: 24,
|
|
50588
50507
|
column: 5
|
|
50589
50508
|
}
|
|
50590
50509
|
},
|
|
50591
50510
|
loc: {
|
|
50592
50511
|
start: {
|
|
50593
|
-
line:
|
|
50512
|
+
line: 24,
|
|
50594
50513
|
column: 28
|
|
50595
50514
|
},
|
|
50596
50515
|
end: {
|
|
50597
|
-
line:
|
|
50516
|
+
line: 34,
|
|
50598
50517
|
column: 5
|
|
50599
50518
|
}
|
|
50600
50519
|
},
|
|
50601
|
-
line:
|
|
50520
|
+
line: 24
|
|
50602
50521
|
}
|
|
50603
50522
|
},
|
|
50604
50523
|
branchMap: {
|
|
50605
50524
|
"0": {
|
|
50606
50525
|
loc: {
|
|
50607
50526
|
start: {
|
|
50608
|
-
line:
|
|
50527
|
+
line: 25,
|
|
50609
50528
|
column: 6
|
|
50610
50529
|
},
|
|
50611
50530
|
end: {
|
|
50612
|
-
line:
|
|
50531
|
+
line: 25,
|
|
50613
50532
|
column: 61
|
|
50614
50533
|
}
|
|
50615
50534
|
},
|
|
50616
50535
|
type: "if",
|
|
50617
50536
|
locations: [{
|
|
50618
50537
|
start: {
|
|
50619
|
-
line:
|
|
50538
|
+
line: 25,
|
|
50620
50539
|
column: 6
|
|
50621
50540
|
},
|
|
50622
50541
|
end: {
|
|
50623
|
-
line:
|
|
50542
|
+
line: 25,
|
|
50624
50543
|
column: 61
|
|
50625
50544
|
}
|
|
50626
50545
|
}, {
|
|
@@ -50633,27 +50552,27 @@
|
|
|
50633
50552
|
column: undefined
|
|
50634
50553
|
}
|
|
50635
50554
|
}],
|
|
50636
|
-
line:
|
|
50555
|
+
line: 25
|
|
50637
50556
|
},
|
|
50638
50557
|
"1": {
|
|
50639
50558
|
loc: {
|
|
50640
50559
|
start: {
|
|
50641
|
-
line:
|
|
50560
|
+
line: 28,
|
|
50642
50561
|
column: 6
|
|
50643
50562
|
},
|
|
50644
50563
|
end: {
|
|
50645
|
-
line:
|
|
50564
|
+
line: 28,
|
|
50646
50565
|
column: 40
|
|
50647
50566
|
}
|
|
50648
50567
|
},
|
|
50649
50568
|
type: "if",
|
|
50650
50569
|
locations: [{
|
|
50651
50570
|
start: {
|
|
50652
|
-
line:
|
|
50571
|
+
line: 28,
|
|
50653
50572
|
column: 6
|
|
50654
50573
|
},
|
|
50655
50574
|
end: {
|
|
50656
|
-
line:
|
|
50575
|
+
line: 28,
|
|
50657
50576
|
column: 40
|
|
50658
50577
|
}
|
|
50659
50578
|
}, {
|
|
@@ -50666,7 +50585,7 @@
|
|
|
50666
50585
|
column: undefined
|
|
50667
50586
|
}
|
|
50668
50587
|
}],
|
|
50669
|
-
line:
|
|
50588
|
+
line: 28
|
|
50670
50589
|
}
|
|
50671
50590
|
},
|
|
50672
50591
|
s: {
|
|
@@ -50693,7 +50612,7 @@
|
|
|
50693
50612
|
"1": [0, 0]
|
|
50694
50613
|
},
|
|
50695
50614
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
50696
|
-
hash: "
|
|
50615
|
+
hash: "c13d06ce54b816279a19c8277774d87159c921e4"
|
|
50697
50616
|
};
|
|
50698
50617
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
50699
50618
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -50702,23 +50621,23 @@
|
|
|
50702
50621
|
var actualCoverage = coverage[path];
|
|
50703
50622
|
{
|
|
50704
50623
|
// @ts-ignore
|
|
50705
|
-
|
|
50624
|
+
cov_1pjjnakm2 = function () {
|
|
50706
50625
|
return actualCoverage;
|
|
50707
50626
|
};
|
|
50708
50627
|
}
|
|
50709
50628
|
return actualCoverage;
|
|
50710
50629
|
}
|
|
50711
|
-
|
|
50712
|
-
|
|
50630
|
+
cov_1pjjnakm2();
|
|
50631
|
+
cov_1pjjnakm2().s[0]++;
|
|
50713
50632
|
var isSnakeCase = function isSnakeCase(text) {
|
|
50714
|
-
|
|
50715
|
-
|
|
50633
|
+
cov_1pjjnakm2().f[0]++;
|
|
50634
|
+
cov_1pjjnakm2().s[1]++;
|
|
50716
50635
|
return SNAKE_CASE_REGEX.test(text);
|
|
50717
50636
|
};
|
|
50718
|
-
|
|
50637
|
+
cov_1pjjnakm2().s[2]++;
|
|
50719
50638
|
var toSnakeCase = function toSnakeCase(text) {
|
|
50720
|
-
|
|
50721
|
-
|
|
50639
|
+
cov_1pjjnakm2().f[1]++;
|
|
50640
|
+
cov_1pjjnakm2().s[3]++;
|
|
50722
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, "");
|
|
50723
50642
|
};
|
|
50724
50643
|
var useSnakeCaseForApiConnectorFilename = {
|
|
@@ -50729,32 +50648,32 @@
|
|
|
50729
50648
|
}
|
|
50730
50649
|
},
|
|
50731
50650
|
create: function create(context) {
|
|
50732
|
-
|
|
50733
|
-
|
|
50651
|
+
cov_1pjjnakm2().f[2]++;
|
|
50652
|
+
cov_1pjjnakm2().s[4]++;
|
|
50734
50653
|
return {
|
|
50735
50654
|
ImportDeclaration: function ImportDeclaration(node) {
|
|
50736
|
-
|
|
50737
|
-
|
|
50655
|
+
cov_1pjjnakm2().f[3]++;
|
|
50656
|
+
cov_1pjjnakm2().s[5]++;
|
|
50738
50657
|
if (!isPackageImported(context, node, "axios")) {
|
|
50739
|
-
|
|
50740
|
-
|
|
50658
|
+
cov_1pjjnakm2().b[0][0]++;
|
|
50659
|
+
cov_1pjjnakm2().s[6]++;
|
|
50741
50660
|
return;
|
|
50742
50661
|
} else {
|
|
50743
|
-
|
|
50662
|
+
cov_1pjjnakm2().b[0][1]++;
|
|
50744
50663
|
}
|
|
50745
|
-
var _ref = (
|
|
50664
|
+
var _ref = (cov_1pjjnakm2().s[7]++, getFilenameAndExtension(context)),
|
|
50746
50665
|
_ref2 = _slicedToArray$1(_ref, 2),
|
|
50747
50666
|
fileName = _ref2[0],
|
|
50748
50667
|
extension = _ref2[1];
|
|
50749
|
-
|
|
50668
|
+
cov_1pjjnakm2().s[8]++;
|
|
50750
50669
|
if (isSnakeCase(fileName)) {
|
|
50751
|
-
|
|
50752
|
-
|
|
50670
|
+
cov_1pjjnakm2().b[1][0]++;
|
|
50671
|
+
cov_1pjjnakm2().s[9]++;
|
|
50753
50672
|
return;
|
|
50754
50673
|
} else {
|
|
50755
|
-
|
|
50674
|
+
cov_1pjjnakm2().b[1][1]++;
|
|
50756
50675
|
}
|
|
50757
|
-
|
|
50676
|
+
cov_1pjjnakm2().s[10]++;
|
|
50758
50677
|
context.report({
|
|
50759
50678
|
node: node.parent,
|
|
50760
50679
|
message: renameFile("".concat(toSnakeCase(fileName), ".").concat(extension))
|
|
@@ -51805,7 +51724,7 @@
|
|
|
51805
51724
|
|
|
51806
51725
|
function cov_1qf21ie77k() {
|
|
51807
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";
|
|
51808
|
-
var hash = "
|
|
51727
|
+
var hash = "c6aac8704962d0f5cd2f65142b8c06e3df87d522";
|
|
51809
51728
|
var global = new Function("return this")();
|
|
51810
51729
|
var gcv = "__coverage__";
|
|
51811
51730
|
var coverageData = {
|
|
@@ -51814,81 +51733,81 @@
|
|
|
51814
51733
|
"0": {
|
|
51815
51734
|
start: {
|
|
51816
51735
|
line: 7,
|
|
51817
|
-
column:
|
|
51736
|
+
column: 19
|
|
51818
51737
|
},
|
|
51819
51738
|
end: {
|
|
51820
|
-
line:
|
|
51821
|
-
column:
|
|
51739
|
+
line: 7,
|
|
51740
|
+
column: 23
|
|
51822
51741
|
}
|
|
51823
51742
|
},
|
|
51824
51743
|
"1": {
|
|
51825
51744
|
start: {
|
|
51826
|
-
line:
|
|
51827
|
-
column:
|
|
51745
|
+
line: 9,
|
|
51746
|
+
column: 23
|
|
51828
51747
|
},
|
|
51829
51748
|
end: {
|
|
51830
|
-
line:
|
|
51749
|
+
line: 14,
|
|
51831
51750
|
column: 3
|
|
51832
51751
|
}
|
|
51833
51752
|
},
|
|
51834
51753
|
"2": {
|
|
51835
51754
|
start: {
|
|
51836
51755
|
line: 10,
|
|
51837
|
-
column:
|
|
51756
|
+
column: 2
|
|
51838
51757
|
},
|
|
51839
51758
|
end: {
|
|
51840
|
-
line:
|
|
51841
|
-
column:
|
|
51759
|
+
line: 14,
|
|
51760
|
+
column: 3
|
|
51842
51761
|
}
|
|
51843
51762
|
},
|
|
51844
51763
|
"3": {
|
|
51845
51764
|
start: {
|
|
51846
|
-
line:
|
|
51847
|
-
column:
|
|
51765
|
+
line: 12,
|
|
51766
|
+
column: 6
|
|
51848
51767
|
},
|
|
51849
51768
|
end: {
|
|
51850
|
-
line:
|
|
51851
|
-
column:
|
|
51769
|
+
line: 12,
|
|
51770
|
+
column: 16
|
|
51852
51771
|
}
|
|
51853
51772
|
},
|
|
51854
51773
|
"4": {
|
|
51855
51774
|
start: {
|
|
51856
|
-
line:
|
|
51857
|
-
column:
|
|
51775
|
+
line: 16,
|
|
51776
|
+
column: 26
|
|
51858
51777
|
},
|
|
51859
51778
|
end: {
|
|
51860
|
-
line:
|
|
51861
|
-
column:
|
|
51779
|
+
line: 25,
|
|
51780
|
+
column: 1
|
|
51862
51781
|
}
|
|
51863
51782
|
},
|
|
51864
51783
|
"5": {
|
|
51865
51784
|
start: {
|
|
51866
|
-
line:
|
|
51867
|
-
column:
|
|
51785
|
+
line: 17,
|
|
51786
|
+
column: 2
|
|
51868
51787
|
},
|
|
51869
51788
|
end: {
|
|
51870
|
-
line:
|
|
51871
|
-
column:
|
|
51789
|
+
line: 24,
|
|
51790
|
+
column: 3
|
|
51872
51791
|
}
|
|
51873
51792
|
},
|
|
51874
51793
|
"6": {
|
|
51875
51794
|
start: {
|
|
51876
|
-
line:
|
|
51877
|
-
column:
|
|
51795
|
+
line: 18,
|
|
51796
|
+
column: 21
|
|
51878
51797
|
},
|
|
51879
51798
|
end: {
|
|
51880
|
-
line:
|
|
51881
|
-
column:
|
|
51799
|
+
line: 18,
|
|
51800
|
+
column: 65
|
|
51882
51801
|
}
|
|
51883
51802
|
},
|
|
51884
51803
|
"7": {
|
|
51885
51804
|
start: {
|
|
51886
51805
|
line: 19,
|
|
51887
|
-
column:
|
|
51806
|
+
column: 27
|
|
51888
51807
|
},
|
|
51889
51808
|
end: {
|
|
51890
51809
|
line: 19,
|
|
51891
|
-
column:
|
|
51810
|
+
column: 51
|
|
51892
51811
|
}
|
|
51893
51812
|
},
|
|
51894
51813
|
"8": {
|
|
@@ -51898,178 +51817,258 @@
|
|
|
51898
51817
|
},
|
|
51899
51818
|
end: {
|
|
51900
51819
|
line: 21,
|
|
51901
|
-
column:
|
|
51820
|
+
column: 26
|
|
51902
51821
|
}
|
|
51903
51822
|
},
|
|
51904
51823
|
"9": {
|
|
51905
51824
|
start: {
|
|
51906
|
-
line:
|
|
51907
|
-
column:
|
|
51825
|
+
line: 23,
|
|
51826
|
+
column: 4
|
|
51908
51827
|
},
|
|
51909
51828
|
end: {
|
|
51910
|
-
line:
|
|
51911
|
-
column:
|
|
51829
|
+
line: 23,
|
|
51830
|
+
column: 14
|
|
51912
51831
|
}
|
|
51913
51832
|
},
|
|
51914
51833
|
"10": {
|
|
51915
51834
|
start: {
|
|
51916
|
-
line:
|
|
51917
|
-
column:
|
|
51835
|
+
line: 27,
|
|
51836
|
+
column: 26
|
|
51918
51837
|
},
|
|
51919
51838
|
end: {
|
|
51920
|
-
line:
|
|
51921
|
-
column:
|
|
51839
|
+
line: 32,
|
|
51840
|
+
column: 3
|
|
51922
51841
|
}
|
|
51923
51842
|
},
|
|
51924
51843
|
"11": {
|
|
51925
51844
|
start: {
|
|
51926
|
-
line:
|
|
51927
|
-
column:
|
|
51845
|
+
line: 28,
|
|
51846
|
+
column: 2
|
|
51928
51847
|
},
|
|
51929
51848
|
end: {
|
|
51930
|
-
line:
|
|
51931
|
-
column:
|
|
51849
|
+
line: 32,
|
|
51850
|
+
column: 3
|
|
51932
51851
|
}
|
|
51933
51852
|
},
|
|
51934
51853
|
"12": {
|
|
51935
51854
|
start: {
|
|
51936
|
-
line:
|
|
51937
|
-
column:
|
|
51855
|
+
line: 31,
|
|
51856
|
+
column: 11
|
|
51938
51857
|
},
|
|
51939
51858
|
end: {
|
|
51940
|
-
line:
|
|
51941
|
-
column:
|
|
51859
|
+
line: 31,
|
|
51860
|
+
column: 53
|
|
51942
51861
|
}
|
|
51943
51862
|
},
|
|
51944
51863
|
"13": {
|
|
51945
51864
|
start: {
|
|
51946
|
-
line:
|
|
51947
|
-
column:
|
|
51865
|
+
line: 42,
|
|
51866
|
+
column: 4
|
|
51948
51867
|
},
|
|
51949
51868
|
end: {
|
|
51950
|
-
line:
|
|
51951
|
-
column:
|
|
51869
|
+
line: 42,
|
|
51870
|
+
column: 59
|
|
51952
51871
|
}
|
|
51953
51872
|
},
|
|
51954
51873
|
"14": {
|
|
51955
51874
|
start: {
|
|
51956
|
-
line:
|
|
51957
|
-
column:
|
|
51875
|
+
line: 42,
|
|
51876
|
+
column: 49
|
|
51958
51877
|
},
|
|
51959
51878
|
end: {
|
|
51960
|
-
line:
|
|
51961
|
-
column:
|
|
51879
|
+
line: 42,
|
|
51880
|
+
column: 59
|
|
51962
51881
|
}
|
|
51963
51882
|
},
|
|
51964
51883
|
"15": {
|
|
51965
51884
|
start: {
|
|
51966
|
-
line:
|
|
51967
|
-
column:
|
|
51885
|
+
line: 44,
|
|
51886
|
+
column: 4
|
|
51968
51887
|
},
|
|
51969
51888
|
end: {
|
|
51970
|
-
line:
|
|
51971
|
-
column:
|
|
51889
|
+
line: 44,
|
|
51890
|
+
column: 62
|
|
51972
51891
|
}
|
|
51973
51892
|
},
|
|
51974
51893
|
"16": {
|
|
51975
51894
|
start: {
|
|
51976
|
-
line:
|
|
51977
|
-
column:
|
|
51895
|
+
line: 46,
|
|
51896
|
+
column: 4
|
|
51978
51897
|
},
|
|
51979
51898
|
end: {
|
|
51980
|
-
line:
|
|
51981
|
-
column:
|
|
51899
|
+
line: 74,
|
|
51900
|
+
column: 6
|
|
51982
51901
|
}
|
|
51983
51902
|
},
|
|
51984
51903
|
"17": {
|
|
51985
51904
|
start: {
|
|
51986
|
-
line:
|
|
51987
|
-
column:
|
|
51905
|
+
line: 48,
|
|
51906
|
+
column: 25
|
|
51988
51907
|
},
|
|
51989
51908
|
end: {
|
|
51990
|
-
line:
|
|
51991
|
-
column:
|
|
51909
|
+
line: 48,
|
|
51910
|
+
column: 46
|
|
51992
51911
|
}
|
|
51993
51912
|
},
|
|
51994
51913
|
"18": {
|
|
51995
51914
|
start: {
|
|
51996
|
-
line:
|
|
51997
|
-
column:
|
|
51915
|
+
line: 50,
|
|
51916
|
+
column: 10
|
|
51998
51917
|
},
|
|
51999
51918
|
end: {
|
|
52000
|
-
line:
|
|
52001
|
-
column:
|
|
51919
|
+
line: 50,
|
|
51920
|
+
column: 58
|
|
52002
51921
|
}
|
|
52003
51922
|
},
|
|
52004
51923
|
"19": {
|
|
52005
51924
|
start: {
|
|
52006
|
-
line:
|
|
52007
|
-
column:
|
|
51925
|
+
line: 51,
|
|
51926
|
+
column: 8
|
|
52008
51927
|
},
|
|
52009
51928
|
end: {
|
|
52010
|
-
line:
|
|
52011
|
-
column:
|
|
51929
|
+
line: 51,
|
|
51930
|
+
column: 39
|
|
52012
51931
|
}
|
|
52013
51932
|
},
|
|
52014
51933
|
"20": {
|
|
52015
51934
|
start: {
|
|
52016
|
-
line:
|
|
52017
|
-
column:
|
|
51935
|
+
line: 51,
|
|
51936
|
+
column: 32
|
|
52018
51937
|
},
|
|
52019
51938
|
end: {
|
|
52020
|
-
line:
|
|
52021
|
-
column:
|
|
51939
|
+
line: 51,
|
|
51940
|
+
column: 39
|
|
52022
51941
|
}
|
|
52023
51942
|
},
|
|
52024
51943
|
"21": {
|
|
52025
51944
|
start: {
|
|
52026
|
-
line:
|
|
52027
|
-
column:
|
|
51945
|
+
line: 54,
|
|
51946
|
+
column: 10
|
|
52028
51947
|
},
|
|
52029
51948
|
end: {
|
|
52030
|
-
line:
|
|
52031
|
-
column:
|
|
51949
|
+
line: 54,
|
|
51950
|
+
column: 52
|
|
52032
51951
|
}
|
|
52033
51952
|
},
|
|
52034
51953
|
"22": {
|
|
52035
51954
|
start: {
|
|
52036
|
-
line:
|
|
52037
|
-
column:
|
|
51955
|
+
line: 55,
|
|
51956
|
+
column: 8
|
|
52038
51957
|
},
|
|
52039
51958
|
end: {
|
|
52040
|
-
line:
|
|
52041
|
-
column:
|
|
51959
|
+
line: 55,
|
|
51960
|
+
column: 43
|
|
52042
51961
|
}
|
|
52043
51962
|
},
|
|
52044
51963
|
"23": {
|
|
52045
51964
|
start: {
|
|
52046
|
-
line:
|
|
52047
|
-
column:
|
|
51965
|
+
line: 55,
|
|
51966
|
+
column: 36
|
|
52048
51967
|
},
|
|
52049
51968
|
end: {
|
|
52050
|
-
line:
|
|
52051
|
-
column:
|
|
51969
|
+
line: 55,
|
|
51970
|
+
column: 43
|
|
52052
51971
|
}
|
|
52053
51972
|
},
|
|
52054
51973
|
"24": {
|
|
52055
51974
|
start: {
|
|
52056
|
-
line:
|
|
52057
|
-
column:
|
|
51975
|
+
line: 57,
|
|
51976
|
+
column: 8
|
|
52058
51977
|
},
|
|
52059
51978
|
end: {
|
|
52060
|
-
line:
|
|
52061
|
-
column:
|
|
51979
|
+
line: 61,
|
|
51980
|
+
column: 9
|
|
52062
51981
|
}
|
|
52063
51982
|
},
|
|
52064
51983
|
"25": {
|
|
52065
51984
|
start: {
|
|
52066
|
-
line:
|
|
52067
|
-
column:
|
|
51985
|
+
line: 58,
|
|
51986
|
+
column: 10
|
|
52068
51987
|
},
|
|
52069
51988
|
end: {
|
|
52070
|
-
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,
|
|
52071
52000
|
column: 66
|
|
52072
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
|
+
}
|
|
52073
52072
|
}
|
|
52074
52073
|
},
|
|
52075
52074
|
fnMap: {
|
|
@@ -52077,177 +52076,225 @@
|
|
|
52077
52076
|
name: "(anonymous_0)",
|
|
52078
52077
|
decl: {
|
|
52079
52078
|
start: {
|
|
52080
|
-
line:
|
|
52079
|
+
line: 9,
|
|
52081
52080
|
column: 23
|
|
52082
52081
|
},
|
|
52083
52082
|
end: {
|
|
52084
|
-
line:
|
|
52083
|
+
line: 9,
|
|
52085
52084
|
column: 24
|
|
52086
52085
|
}
|
|
52087
52086
|
},
|
|
52088
52087
|
loc: {
|
|
52089
52088
|
start: {
|
|
52090
|
-
line:
|
|
52089
|
+
line: 10,
|
|
52091
52090
|
column: 2
|
|
52092
52091
|
},
|
|
52093
52092
|
end: {
|
|
52094
|
-
line:
|
|
52093
|
+
line: 14,
|
|
52095
52094
|
column: 3
|
|
52096
52095
|
}
|
|
52097
52096
|
},
|
|
52098
|
-
line:
|
|
52097
|
+
line: 10
|
|
52099
52098
|
},
|
|
52100
52099
|
"1": {
|
|
52101
52100
|
name: "(anonymous_1)",
|
|
52102
52101
|
decl: {
|
|
52103
52102
|
start: {
|
|
52104
|
-
line:
|
|
52103
|
+
line: 11,
|
|
52105
52104
|
column: 67
|
|
52106
52105
|
},
|
|
52107
52106
|
end: {
|
|
52108
|
-
line:
|
|
52107
|
+
line: 11,
|
|
52109
52108
|
column: 68
|
|
52110
52109
|
}
|
|
52111
52110
|
},
|
|
52112
52111
|
loc: {
|
|
52113
52112
|
start: {
|
|
52114
|
-
line:
|
|
52113
|
+
line: 12,
|
|
52115
52114
|
column: 6
|
|
52116
52115
|
},
|
|
52117
52116
|
end: {
|
|
52118
|
-
line:
|
|
52117
|
+
line: 12,
|
|
52119
52118
|
column: 16
|
|
52120
52119
|
}
|
|
52121
52120
|
},
|
|
52122
|
-
line:
|
|
52121
|
+
line: 12
|
|
52123
52122
|
},
|
|
52124
52123
|
"2": {
|
|
52125
52124
|
name: "(anonymous_2)",
|
|
52126
52125
|
decl: {
|
|
52127
52126
|
start: {
|
|
52128
|
-
line:
|
|
52129
|
-
column:
|
|
52127
|
+
line: 16,
|
|
52128
|
+
column: 26
|
|
52130
52129
|
},
|
|
52131
52130
|
end: {
|
|
52132
|
-
line:
|
|
52133
|
-
column:
|
|
52131
|
+
line: 16,
|
|
52132
|
+
column: 27
|
|
52134
52133
|
}
|
|
52135
52134
|
},
|
|
52136
52135
|
loc: {
|
|
52137
52136
|
start: {
|
|
52138
|
-
line:
|
|
52139
|
-
column:
|
|
52137
|
+
line: 16,
|
|
52138
|
+
column: 46
|
|
52140
52139
|
},
|
|
52141
52140
|
end: {
|
|
52142
|
-
line:
|
|
52141
|
+
line: 25,
|
|
52143
52142
|
column: 1
|
|
52144
52143
|
}
|
|
52145
52144
|
},
|
|
52146
|
-
line:
|
|
52145
|
+
line: 16
|
|
52147
52146
|
},
|
|
52148
52147
|
"3": {
|
|
52149
52148
|
name: "(anonymous_3)",
|
|
52150
52149
|
decl: {
|
|
52151
52150
|
start: {
|
|
52152
|
-
line:
|
|
52153
|
-
column:
|
|
52151
|
+
line: 27,
|
|
52152
|
+
column: 26
|
|
52154
52153
|
},
|
|
52155
52154
|
end: {
|
|
52156
|
-
line:
|
|
52157
|
-
column:
|
|
52155
|
+
line: 27,
|
|
52156
|
+
column: 27
|
|
52158
52157
|
}
|
|
52159
52158
|
},
|
|
52160
52159
|
loc: {
|
|
52161
52160
|
start: {
|
|
52162
|
-
line:
|
|
52163
|
-
column:
|
|
52161
|
+
line: 28,
|
|
52162
|
+
column: 2
|
|
52164
52163
|
},
|
|
52165
52164
|
end: {
|
|
52166
|
-
line:
|
|
52165
|
+
line: 32,
|
|
52167
52166
|
column: 3
|
|
52168
52167
|
}
|
|
52169
52168
|
},
|
|
52170
|
-
line:
|
|
52169
|
+
line: 28
|
|
52171
52170
|
},
|
|
52172
52171
|
"4": {
|
|
52173
52172
|
name: "(anonymous_4)",
|
|
52174
52173
|
decl: {
|
|
52175
52174
|
start: {
|
|
52176
|
-
line:
|
|
52175
|
+
line: 31,
|
|
52177
52176
|
column: 4
|
|
52178
52177
|
},
|
|
52179
52178
|
end: {
|
|
52180
|
-
line:
|
|
52179
|
+
line: 31,
|
|
52181
52180
|
column: 5
|
|
52182
52181
|
}
|
|
52183
52182
|
},
|
|
52184
52183
|
loc: {
|
|
52185
52184
|
start: {
|
|
52186
|
-
line:
|
|
52187
|
-
column:
|
|
52185
|
+
line: 31,
|
|
52186
|
+
column: 11
|
|
52188
52187
|
},
|
|
52189
52188
|
end: {
|
|
52190
|
-
line:
|
|
52191
|
-
column:
|
|
52189
|
+
line: 31,
|
|
52190
|
+
column: 53
|
|
52192
52191
|
}
|
|
52193
52192
|
},
|
|
52194
|
-
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
|
|
52195
52242
|
}
|
|
52196
52243
|
},
|
|
52197
52244
|
branchMap: {
|
|
52198
52245
|
"0": {
|
|
52199
52246
|
loc: {
|
|
52200
52247
|
start: {
|
|
52201
|
-
line:
|
|
52248
|
+
line: 12,
|
|
52202
52249
|
column: 6
|
|
52203
52250
|
},
|
|
52204
52251
|
end: {
|
|
52205
|
-
line:
|
|
52252
|
+
line: 12,
|
|
52206
52253
|
column: 16
|
|
52207
52254
|
}
|
|
52208
52255
|
},
|
|
52209
52256
|
type: "cond-expr",
|
|
52210
52257
|
locations: [{
|
|
52211
52258
|
start: {
|
|
52212
|
-
line:
|
|
52259
|
+
line: 12,
|
|
52213
52260
|
column: 10
|
|
52214
52261
|
},
|
|
52215
52262
|
end: {
|
|
52216
|
-
line:
|
|
52263
|
+
line: 12,
|
|
52217
52264
|
column: 12
|
|
52218
52265
|
}
|
|
52219
52266
|
}, {
|
|
52220
52267
|
start: {
|
|
52221
|
-
line:
|
|
52268
|
+
line: 12,
|
|
52222
52269
|
column: 15
|
|
52223
52270
|
},
|
|
52224
52271
|
end: {
|
|
52225
|
-
line:
|
|
52272
|
+
line: 12,
|
|
52226
52273
|
column: 16
|
|
52227
52274
|
}
|
|
52228
52275
|
}],
|
|
52229
|
-
line:
|
|
52276
|
+
line: 12
|
|
52230
52277
|
},
|
|
52231
52278
|
"1": {
|
|
52232
52279
|
loc: {
|
|
52233
52280
|
start: {
|
|
52234
|
-
line:
|
|
52235
|
-
column:
|
|
52281
|
+
line: 42,
|
|
52282
|
+
column: 4
|
|
52236
52283
|
},
|
|
52237
52284
|
end: {
|
|
52238
|
-
line:
|
|
52239
|
-
column:
|
|
52285
|
+
line: 42,
|
|
52286
|
+
column: 59
|
|
52240
52287
|
}
|
|
52241
52288
|
},
|
|
52242
52289
|
type: "if",
|
|
52243
52290
|
locations: [{
|
|
52244
52291
|
start: {
|
|
52245
|
-
line:
|
|
52246
|
-
column:
|
|
52292
|
+
line: 42,
|
|
52293
|
+
column: 4
|
|
52247
52294
|
},
|
|
52248
52295
|
end: {
|
|
52249
|
-
line:
|
|
52250
|
-
column:
|
|
52296
|
+
line: 42,
|
|
52297
|
+
column: 59
|
|
52251
52298
|
}
|
|
52252
52299
|
}, {
|
|
52253
52300
|
start: {
|
|
@@ -52259,28 +52306,28 @@
|
|
|
52259
52306
|
column: undefined
|
|
52260
52307
|
}
|
|
52261
52308
|
}],
|
|
52262
|
-
line:
|
|
52309
|
+
line: 42
|
|
52263
52310
|
},
|
|
52264
52311
|
"2": {
|
|
52265
52312
|
loc: {
|
|
52266
52313
|
start: {
|
|
52267
|
-
line:
|
|
52268
|
-
column:
|
|
52314
|
+
line: 51,
|
|
52315
|
+
column: 8
|
|
52269
52316
|
},
|
|
52270
52317
|
end: {
|
|
52271
|
-
line:
|
|
52272
|
-
column:
|
|
52318
|
+
line: 51,
|
|
52319
|
+
column: 39
|
|
52273
52320
|
}
|
|
52274
52321
|
},
|
|
52275
52322
|
type: "if",
|
|
52276
52323
|
locations: [{
|
|
52277
52324
|
start: {
|
|
52278
|
-
line:
|
|
52279
|
-
column:
|
|
52325
|
+
line: 51,
|
|
52326
|
+
column: 8
|
|
52280
52327
|
},
|
|
52281
52328
|
end: {
|
|
52282
|
-
line:
|
|
52283
|
-
column:
|
|
52329
|
+
line: 51,
|
|
52330
|
+
column: 39
|
|
52284
52331
|
}
|
|
52285
52332
|
}, {
|
|
52286
52333
|
start: {
|
|
@@ -52292,28 +52339,28 @@
|
|
|
52292
52339
|
column: undefined
|
|
52293
52340
|
}
|
|
52294
52341
|
}],
|
|
52295
|
-
line:
|
|
52342
|
+
line: 51
|
|
52296
52343
|
},
|
|
52297
52344
|
"3": {
|
|
52298
52345
|
loc: {
|
|
52299
52346
|
start: {
|
|
52300
|
-
line:
|
|
52301
|
-
column:
|
|
52347
|
+
line: 55,
|
|
52348
|
+
column: 8
|
|
52302
52349
|
},
|
|
52303
52350
|
end: {
|
|
52304
|
-
line:
|
|
52305
|
-
column:
|
|
52351
|
+
line: 55,
|
|
52352
|
+
column: 43
|
|
52306
52353
|
}
|
|
52307
52354
|
},
|
|
52308
52355
|
type: "if",
|
|
52309
52356
|
locations: [{
|
|
52310
52357
|
start: {
|
|
52311
|
-
line:
|
|
52312
|
-
column:
|
|
52358
|
+
line: 55,
|
|
52359
|
+
column: 8
|
|
52313
52360
|
},
|
|
52314
52361
|
end: {
|
|
52315
|
-
line:
|
|
52316
|
-
column:
|
|
52362
|
+
line: 55,
|
|
52363
|
+
column: 43
|
|
52317
52364
|
}
|
|
52318
52365
|
}, {
|
|
52319
52366
|
start: {
|
|
@@ -52325,28 +52372,28 @@
|
|
|
52325
52372
|
column: undefined
|
|
52326
52373
|
}
|
|
52327
52374
|
}],
|
|
52328
|
-
line:
|
|
52375
|
+
line: 55
|
|
52329
52376
|
},
|
|
52330
52377
|
"4": {
|
|
52331
52378
|
loc: {
|
|
52332
52379
|
start: {
|
|
52333
|
-
line:
|
|
52334
|
-
column:
|
|
52380
|
+
line: 57,
|
|
52381
|
+
column: 8
|
|
52335
52382
|
},
|
|
52336
52383
|
end: {
|
|
52337
|
-
line:
|
|
52338
|
-
column:
|
|
52384
|
+
line: 61,
|
|
52385
|
+
column: 9
|
|
52339
52386
|
}
|
|
52340
52387
|
},
|
|
52341
52388
|
type: "if",
|
|
52342
52389
|
locations: [{
|
|
52343
52390
|
start: {
|
|
52344
|
-
line:
|
|
52345
|
-
column:
|
|
52391
|
+
line: 57,
|
|
52392
|
+
column: 8
|
|
52346
52393
|
},
|
|
52347
52394
|
end: {
|
|
52348
|
-
line:
|
|
52349
|
-
column:
|
|
52395
|
+
line: 61,
|
|
52396
|
+
column: 9
|
|
52350
52397
|
}
|
|
52351
52398
|
}, {
|
|
52352
52399
|
start: {
|
|
@@ -52358,7 +52405,73 @@
|
|
|
52358
52405
|
column: undefined
|
|
52359
52406
|
}
|
|
52360
52407
|
}],
|
|
52361
|
-
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
|
|
52362
52475
|
}
|
|
52363
52476
|
},
|
|
52364
52477
|
s: {
|
|
@@ -52387,24 +52500,36 @@
|
|
|
52387
52500
|
"22": 0,
|
|
52388
52501
|
"23": 0,
|
|
52389
52502
|
"24": 0,
|
|
52390
|
-
"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
|
|
52391
52512
|
},
|
|
52392
52513
|
f: {
|
|
52393
52514
|
"0": 0,
|
|
52394
52515
|
"1": 0,
|
|
52395
52516
|
"2": 0,
|
|
52396
52517
|
"3": 0,
|
|
52397
|
-
"4": 0
|
|
52518
|
+
"4": 0,
|
|
52519
|
+
"5": 0,
|
|
52520
|
+
"6": 0
|
|
52398
52521
|
},
|
|
52399
52522
|
b: {
|
|
52400
52523
|
"0": [0, 0],
|
|
52401
52524
|
"1": [0, 0],
|
|
52402
52525
|
"2": [0, 0],
|
|
52403
52526
|
"3": [0, 0],
|
|
52404
|
-
"4": [0, 0]
|
|
52527
|
+
"4": [0, 0],
|
|
52528
|
+
"5": [0, 0],
|
|
52529
|
+
"6": [0, 0]
|
|
52405
52530
|
},
|
|
52406
52531
|
_coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
|
|
52407
|
-
hash: "
|
|
52532
|
+
hash: "c6aac8704962d0f5cd2f65142b8c06e3df87d522"
|
|
52408
52533
|
};
|
|
52409
52534
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
52410
52535
|
if (!coverage[path] || coverage[path].hash !== hash) {
|
|
@@ -52420,29 +52545,43 @@
|
|
|
52420
52545
|
return actualCoverage;
|
|
52421
52546
|
}
|
|
52422
52547
|
cov_1qf21ie77k();
|
|
52423
|
-
cov_1qf21ie77k().s[0]
|
|
52548
|
+
var jsconfigData = (cov_1qf21ie77k().s[0]++, null);
|
|
52549
|
+
cov_1qf21ie77k().s[1]++;
|
|
52424
52550
|
var removeComments = function removeComments(json) {
|
|
52425
52551
|
cov_1qf21ie77k().f[0]++;
|
|
52426
|
-
cov_1qf21ie77k().s[
|
|
52552
|
+
cov_1qf21ie77k().s[2]++;
|
|
52427
52553
|
return JSON.parse(json.replace(/\\"|"(?:\\"|[^"])*"|(\/\/.*|\/\*[\s\S]*?\*\/)/g, function (m, g) {
|
|
52428
52554
|
cov_1qf21ie77k().f[1]++;
|
|
52429
|
-
cov_1qf21ie77k().s[
|
|
52555
|
+
cov_1qf21ie77k().s[3]++;
|
|
52430
52556
|
return g ? (cov_1qf21ie77k().b[0][0]++, "") : (cov_1qf21ie77k().b[0][1]++, m);
|
|
52431
52557
|
}));
|
|
52432
52558
|
};
|
|
52433
|
-
|
|
52559
|
+
cov_1qf21ie77k().s[4]++;
|
|
52560
|
+
var parseJsconfigData = function parseJsconfigData(jsconfigFilePath) {
|
|
52434
52561
|
cov_1qf21ie77k().f[2]++;
|
|
52435
|
-
cov_1qf21ie77k().s[
|
|
52562
|
+
cov_1qf21ie77k().s[5]++;
|
|
52436
52563
|
try {
|
|
52437
|
-
var jsonData = (cov_1qf21ie77k().s[
|
|
52438
|
-
var parsedJsonData = (cov_1qf21ie77k().s[
|
|
52439
|
-
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]++;
|
|
52440
52567
|
return parsedJsonData;
|
|
52441
52568
|
} catch (_unused) {
|
|
52442
|
-
cov_1qf21ie77k().s[
|
|
52569
|
+
cov_1qf21ie77k().s[9]++;
|
|
52443
52570
|
return {};
|
|
52444
52571
|
}
|
|
52445
|
-
}
|
|
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
|
+
};
|
|
52446
52585
|
var webpackAliasesAndJsconfigPathsShouldBeInSync = {
|
|
52447
52586
|
meta: {
|
|
52448
52587
|
type: "problem",
|
|
@@ -52451,52 +52590,71 @@
|
|
|
52451
52590
|
}
|
|
52452
52591
|
},
|
|
52453
52592
|
create: function create(context) {
|
|
52454
|
-
|
|
52455
|
-
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]++;
|
|
52456
52606
|
return {
|
|
52457
52607
|
Property: function Property(node) {
|
|
52458
|
-
var _context$
|
|
52459
|
-
cov_1qf21ie77k().f[
|
|
52460
|
-
var filename = (cov_1qf21ie77k().s[
|
|
52461
|
-
var isInsideAliasFile = (cov_1qf21ie77k().s[
|
|
52462
|
-
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]++;
|
|
52463
52613
|
if (!isInsideAliasFile) {
|
|
52464
|
-
cov_1qf21ie77k().b[
|
|
52465
|
-
cov_1qf21ie77k().s[
|
|
52614
|
+
cov_1qf21ie77k().b[2][0]++;
|
|
52615
|
+
cov_1qf21ie77k().s[20]++;
|
|
52466
52616
|
return;
|
|
52467
52617
|
} else {
|
|
52468
|
-
cov_1qf21ie77k().b[
|
|
52618
|
+
cov_1qf21ie77k().b[2][1]++;
|
|
52469
52619
|
}
|
|
52470
|
-
var isInsideAliasProperty = (cov_1qf21ie77k().s[
|
|
52471
|
-
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]++;
|
|
52472
52622
|
if (!isInsideAliasProperty) {
|
|
52473
|
-
cov_1qf21ie77k().b[
|
|
52474
|
-
cov_1qf21ie77k().s[
|
|
52623
|
+
cov_1qf21ie77k().b[3][0]++;
|
|
52624
|
+
cov_1qf21ie77k().s[23]++;
|
|
52475
52625
|
return;
|
|
52476
52626
|
} else {
|
|
52477
|
-
cov_1qf21ie77k().b[
|
|
52627
|
+
cov_1qf21ie77k().b[3][1]++;
|
|
52478
52628
|
}
|
|
52479
|
-
|
|
52480
|
-
|
|
52481
|
-
|
|
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]++;
|
|
52482
52640
|
if (!jsconfigPaths) {
|
|
52483
|
-
cov_1qf21ie77k().b[
|
|
52484
|
-
cov_1qf21ie77k().s[
|
|
52641
|
+
cov_1qf21ie77k().b[5][0]++;
|
|
52642
|
+
cov_1qf21ie77k().s[28]++;
|
|
52485
52643
|
return;
|
|
52486
52644
|
} else {
|
|
52487
|
-
cov_1qf21ie77k().b[
|
|
52645
|
+
cov_1qf21ie77k().b[5][1]++;
|
|
52488
52646
|
}
|
|
52489
|
-
var aliasName = (cov_1qf21ie77k().s[
|
|
52490
|
-
var matches = (cov_1qf21ie77k().s[
|
|
52491
|
-
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]++;
|
|
52492
52650
|
if (matches) {
|
|
52493
|
-
cov_1qf21ie77k().b[
|
|
52494
|
-
cov_1qf21ie77k().s[
|
|
52651
|
+
cov_1qf21ie77k().b[6][0]++;
|
|
52652
|
+
cov_1qf21ie77k().s[32]++;
|
|
52495
52653
|
return;
|
|
52496
52654
|
} else {
|
|
52497
|
-
cov_1qf21ie77k().b[
|
|
52655
|
+
cov_1qf21ie77k().b[6][1]++;
|
|
52498
52656
|
}
|
|
52499
|
-
cov_1qf21ie77k().s[
|
|
52657
|
+
cov_1qf21ie77k().s[33]++;
|
|
52500
52658
|
context.report({
|
|
52501
52659
|
node: node,
|
|
52502
52660
|
message: addInJsconfig(aliasName)
|