@eslinted/core 22.1.4-rc.4 → 22.1.4
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/.github/workflows/RELEASE.yml +36 -36
- package/.github/workflows/rc.yml +36 -36
- package/.markdownlint.jsonc +128 -128
- package/.mocharc.yml +15 -15
- package/LICENSE +20 -20
- package/README.md +4 -4
- package/eslint.config.js +3 -3
- package/package.json +55 -55
- package/src/_test/index.ts +266 -266
- package/src/factory.ts +306 -306
- package/src/index.spec.ts +106 -106
- package/src/index.ts +87 -87
- package/src/interface/config/index.ts +42 -42
- package/src/interface/config/rule.ts +12 -12
- package/src/interface/index.ts +3 -3
- package/src/interface/input/configuration/attachment.ts +13 -13
- package/src/interface/input/configuration/defaults.ts +24 -24
- package/src/interface/input/configuration/extensions.ts +25 -25
- package/src/interface/input/configuration/index.ts +17 -17
- package/src/interface/input/configuration/manifest/index.ts +15 -15
- package/src/interface/input/configuration/settings.ts +18 -18
- package/src/interface/input/imports/index.ts +16 -16
- package/src/interface/input/imports/optional.ts +11 -11
- package/src/interface/input/imports/required.ts +13 -13
- package/src/interface/input/index.ts +22 -22
- package/src/interface/output/configs/attachment.ts +13 -13
- package/src/interface/output/configs/global/ignores.d.ts +6 -6
- package/src/interface/output/configs/global/index.d.ts +3 -3
- package/src/interface/output/configs/global/plugins.d.ts +6 -6
- package/src/interface/output/configs/global/settings.d.ts +11 -11
- package/src/interface/output/configs/index.d.ts +3 -3
- package/src/interface/output/configs/scoped/index.d.ts +2 -2
- package/src/interface/output/configs/scoped/rules.d.ts +12 -12
- package/src/interface/output/configs/scoped/settings.d.ts +15 -15
- package/src/interface/output/index.d.ts +12 -12
- package/src/scope/dependencies/index.ts +2 -2
- package/src/scope/dependencies/parsers.ts +5 -5
- package/src/scope/dependencies/plugins.ts +12 -12
- package/src/scope/index.spec.ts +136 -136
- package/src/scope/index.ts +18 -18
- package/src/scope/tree/index.spec.ts +124 -124
- package/src/scope/tree/index.ts +22 -22
- package/tsconfig.json +156 -156
package/tsconfig.json
CHANGED
@@ -1,156 +1,156 @@
|
|
1
|
-
{
|
2
|
-
"display": "tsc@508.0.1",
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
-
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
-
"include": [
|
6
|
-
"*.config.ts",
|
7
|
-
"src/**/*.ts",
|
8
|
-
"typings/**/*.d.ts",
|
9
|
-
],
|
10
|
-
"exclude": [],
|
11
|
-
"compilerOptions": {
|
12
|
-
// #region Typecheck
|
13
|
-
"allowUnreachableCode": false,
|
14
|
-
"allowUnusedLabels": false,
|
15
|
-
// "alwaysStrict": true /* @default true if `strict`, else false */,
|
16
|
-
"exactOptionalPropertyTypes": true,
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
18
|
-
// "noImplicitAny": true /* @default true if `strict`, else false */,
|
19
|
-
"noImplicitOverride": true,
|
20
|
-
"noImplicitReturns": true,
|
21
|
-
// "noImplicitThis": true /* @default true if `strict`, else false */,
|
22
|
-
"noPropertyAccessFromIndexSignature": true,
|
23
|
-
"noUncheckedIndexedAccess": true,
|
24
|
-
"noUnusedLocals": true,
|
25
|
-
"noUnusedParameters": true,
|
26
|
-
"strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
|
27
|
-
// "strictBindCallApply": true /* @default true if `strict`, else false */,
|
28
|
-
// "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
|
29
|
-
// "strictFunctionTypes": true /* @default true if `strict`, else false */,
|
30
|
-
// "strictNullChecks": true /* @default true if `strict`, else false */,
|
31
|
-
// "strictPropertyInitialization": true /* @default true if `strict`, else false */,
|
32
|
-
// "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
|
33
|
-
// #endregion
|
34
|
-
//
|
35
|
-
// #region Modules
|
36
|
-
"allowArbitraryExtensions": true,
|
37
|
-
// "allowImportingTsExtensions": true,
|
38
|
-
// "allowUmdGlobalAccess": true,
|
39
|
-
// "baseUrl": "./",
|
40
|
-
// "customConditions": [],
|
41
|
-
"module": "es2022",
|
42
|
-
"moduleResolution": "bundler",
|
43
|
-
// "moduleSuffixes": [],
|
44
|
-
// "noResolve": true,
|
45
|
-
// "noUncheckedSideEffectImports": true,
|
46
|
-
// "paths": { "*": ["node_modules/*"] },
|
47
|
-
// "resolveJsonModule": true,
|
48
|
-
// "resolvePackageJsonExports": true,
|
49
|
-
// "resolvePackageJsonImports": true,
|
50
|
-
"rewriteRelativeImportExtensions": true,
|
51
|
-
// "rootDir": "src",
|
52
|
-
// "rootDirs": [],
|
53
|
-
// "typeRoots": [],
|
54
|
-
"types": [
|
55
|
-
"mocha",
|
56
|
-
"chai",
|
57
|
-
/* {CONFIGURE} */
|
58
|
-
],
|
59
|
-
// #endregion
|
60
|
-
//
|
61
|
-
// #region Emit
|
62
|
-
"declaration": true,
|
63
|
-
// "declarationDir": "",
|
64
|
-
"declarationMap": true,
|
65
|
-
// "downlevelIteration": true,
|
66
|
-
// "emitBOM": true,
|
67
|
-
// "emitDeclarationOnly": true,
|
68
|
-
// "importHelpers": true,
|
69
|
-
// "inlineSourceMap": true,
|
70
|
-
// "inlineSources": true,
|
71
|
-
// "mapRoot": "",
|
72
|
-
// "newLine": "crlf",
|
73
|
-
// "noEmit": true,
|
74
|
-
// "noEmitHelpers": true,
|
75
|
-
"noEmitOnError": true,
|
76
|
-
"outDir": "dist",
|
77
|
-
// "outFile": "./",
|
78
|
-
// "preserveConstEnums": true,
|
79
|
-
// "removeComments": true,
|
80
|
-
"sourceMap": true,
|
81
|
-
// "sourceRoot": "",
|
82
|
-
// "stripInternal": true,
|
83
|
-
// #endregion
|
84
|
-
//
|
85
|
-
// #region JS
|
86
|
-
// "allowJs": true,
|
87
|
-
// "checkJs": true,
|
88
|
-
// "maxNodeModuleJsDepth": 1,
|
89
|
-
// #endregion
|
90
|
-
//
|
91
|
-
// #region Editor
|
92
|
-
// "disableSizeLimit": false,
|
93
|
-
// "plugins": [],
|
94
|
-
// #endregion
|
95
|
-
//
|
96
|
-
// #region Interop
|
97
|
-
"allowSyntheticDefaultImports": true,
|
98
|
-
// "erasableSyntaxOnly": true,
|
99
|
-
// "esModuleInterop": true,
|
100
|
-
"forceConsistentCasingInFileNames": true,
|
101
|
-
// "isolatedDeclarations": false,
|
102
|
-
// "isolatedModules": true,
|
103
|
-
// "preserveSymlinks": true,
|
104
|
-
"verbatimModuleSyntax": true,
|
105
|
-
// #endregion
|
106
|
-
//
|
107
|
-
// #region Language
|
108
|
-
// "emitDecoratorMetadata": true,
|
109
|
-
// "experimentalDecorators": true,
|
110
|
-
// "jsx": "preserve",
|
111
|
-
// "jsxFactory": "",
|
112
|
-
// "jsxFragmentFactory": "",
|
113
|
-
// "jsxImportSource": "",
|
114
|
-
"lib": [
|
115
|
-
"es2023",
|
116
|
-
/* {CONFIGURE} */
|
117
|
-
],
|
118
|
-
// "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
|
119
|
-
// "moduleDetection": "auto",
|
120
|
-
// "noLib": true,
|
121
|
-
// "reactNamespace": "",
|
122
|
-
"target": "es2022",
|
123
|
-
// "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
|
124
|
-
// #endregion
|
125
|
-
//
|
126
|
-
// #region Diagnostic
|
127
|
-
// "diagnostics": true,
|
128
|
-
// "explainFiles": true,
|
129
|
-
// "extendedDiagnostics": true,
|
130
|
-
// "generateCpuProfile": "profile.cpuprofile",
|
131
|
-
// "listEmittedFiles": true,
|
132
|
-
// "listFiles": true,
|
133
|
-
// "noCheck": true,
|
134
|
-
// "traceResolution": true,
|
135
|
-
// #endregion
|
136
|
-
//
|
137
|
-
// #region Project
|
138
|
-
// "composite": true,
|
139
|
-
// "disableReferencedProjectLoad": true,
|
140
|
-
// "disableSolutionSearching": true,
|
141
|
-
// "disableSourceOfProjectReferenceRedirect": true,
|
142
|
-
"incremental": true /* @default true if `composite`, else false */,
|
143
|
-
// "tsBuildInfoFile": "",
|
144
|
-
// #endregion
|
145
|
-
//
|
146
|
-
// #region Print
|
147
|
-
// "noErrorTruncation": true,
|
148
|
-
// "preserveWatchOutput": true,
|
149
|
-
// "pretty": true,
|
150
|
-
// #endregion
|
151
|
-
//
|
152
|
-
// #region Complete
|
153
|
-
// "skipLibCheck": true,
|
154
|
-
// #endregion
|
155
|
-
},
|
156
|
-
}
|
1
|
+
{
|
2
|
+
"display": "tsc@508.0.1",
|
3
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
+
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
+
"include": [
|
6
|
+
"*.config.ts",
|
7
|
+
"src/**/*.ts",
|
8
|
+
"typings/**/*.d.ts",
|
9
|
+
],
|
10
|
+
"exclude": [],
|
11
|
+
"compilerOptions": {
|
12
|
+
// #region Typecheck
|
13
|
+
"allowUnreachableCode": false,
|
14
|
+
"allowUnusedLabels": false,
|
15
|
+
// "alwaysStrict": true /* @default true if `strict`, else false */,
|
16
|
+
"exactOptionalPropertyTypes": true,
|
17
|
+
"noFallthroughCasesInSwitch": true,
|
18
|
+
// "noImplicitAny": true /* @default true if `strict`, else false */,
|
19
|
+
"noImplicitOverride": true,
|
20
|
+
"noImplicitReturns": true,
|
21
|
+
// "noImplicitThis": true /* @default true if `strict`, else false */,
|
22
|
+
"noPropertyAccessFromIndexSignature": true,
|
23
|
+
"noUncheckedIndexedAccess": true,
|
24
|
+
"noUnusedLocals": true,
|
25
|
+
"noUnusedParameters": true,
|
26
|
+
"strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
|
27
|
+
// "strictBindCallApply": true /* @default true if `strict`, else false */,
|
28
|
+
// "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
|
29
|
+
// "strictFunctionTypes": true /* @default true if `strict`, else false */,
|
30
|
+
// "strictNullChecks": true /* @default true if `strict`, else false */,
|
31
|
+
// "strictPropertyInitialization": true /* @default true if `strict`, else false */,
|
32
|
+
// "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
|
33
|
+
// #endregion
|
34
|
+
//
|
35
|
+
// #region Modules
|
36
|
+
"allowArbitraryExtensions": true,
|
37
|
+
// "allowImportingTsExtensions": true,
|
38
|
+
// "allowUmdGlobalAccess": true,
|
39
|
+
// "baseUrl": "./",
|
40
|
+
// "customConditions": [],
|
41
|
+
"module": "es2022",
|
42
|
+
"moduleResolution": "bundler",
|
43
|
+
// "moduleSuffixes": [],
|
44
|
+
// "noResolve": true,
|
45
|
+
// "noUncheckedSideEffectImports": true,
|
46
|
+
// "paths": { "*": ["node_modules/*"] },
|
47
|
+
// "resolveJsonModule": true,
|
48
|
+
// "resolvePackageJsonExports": true,
|
49
|
+
// "resolvePackageJsonImports": true,
|
50
|
+
"rewriteRelativeImportExtensions": true,
|
51
|
+
// "rootDir": "src",
|
52
|
+
// "rootDirs": [],
|
53
|
+
// "typeRoots": [],
|
54
|
+
"types": [
|
55
|
+
"mocha",
|
56
|
+
"chai",
|
57
|
+
/* {CONFIGURE} */
|
58
|
+
],
|
59
|
+
// #endregion
|
60
|
+
//
|
61
|
+
// #region Emit
|
62
|
+
"declaration": true,
|
63
|
+
// "declarationDir": "",
|
64
|
+
"declarationMap": true,
|
65
|
+
// "downlevelIteration": true,
|
66
|
+
// "emitBOM": true,
|
67
|
+
// "emitDeclarationOnly": true,
|
68
|
+
// "importHelpers": true,
|
69
|
+
// "inlineSourceMap": true,
|
70
|
+
// "inlineSources": true,
|
71
|
+
// "mapRoot": "",
|
72
|
+
// "newLine": "crlf",
|
73
|
+
// "noEmit": true,
|
74
|
+
// "noEmitHelpers": true,
|
75
|
+
"noEmitOnError": true,
|
76
|
+
"outDir": "dist",
|
77
|
+
// "outFile": "./",
|
78
|
+
// "preserveConstEnums": true,
|
79
|
+
// "removeComments": true,
|
80
|
+
"sourceMap": true,
|
81
|
+
// "sourceRoot": "",
|
82
|
+
// "stripInternal": true,
|
83
|
+
// #endregion
|
84
|
+
//
|
85
|
+
// #region JS
|
86
|
+
// "allowJs": true,
|
87
|
+
// "checkJs": true,
|
88
|
+
// "maxNodeModuleJsDepth": 1,
|
89
|
+
// #endregion
|
90
|
+
//
|
91
|
+
// #region Editor
|
92
|
+
// "disableSizeLimit": false,
|
93
|
+
// "plugins": [],
|
94
|
+
// #endregion
|
95
|
+
//
|
96
|
+
// #region Interop
|
97
|
+
"allowSyntheticDefaultImports": true,
|
98
|
+
// "erasableSyntaxOnly": true,
|
99
|
+
// "esModuleInterop": true,
|
100
|
+
"forceConsistentCasingInFileNames": true,
|
101
|
+
// "isolatedDeclarations": false,
|
102
|
+
// "isolatedModules": true,
|
103
|
+
// "preserveSymlinks": true,
|
104
|
+
"verbatimModuleSyntax": true,
|
105
|
+
// #endregion
|
106
|
+
//
|
107
|
+
// #region Language
|
108
|
+
// "emitDecoratorMetadata": true,
|
109
|
+
// "experimentalDecorators": true,
|
110
|
+
// "jsx": "preserve",
|
111
|
+
// "jsxFactory": "",
|
112
|
+
// "jsxFragmentFactory": "",
|
113
|
+
// "jsxImportSource": "",
|
114
|
+
"lib": [
|
115
|
+
"es2023",
|
116
|
+
/* {CONFIGURE} */
|
117
|
+
],
|
118
|
+
// "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
|
119
|
+
// "moduleDetection": "auto",
|
120
|
+
// "noLib": true,
|
121
|
+
// "reactNamespace": "",
|
122
|
+
"target": "es2022",
|
123
|
+
// "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
|
124
|
+
// #endregion
|
125
|
+
//
|
126
|
+
// #region Diagnostic
|
127
|
+
// "diagnostics": true,
|
128
|
+
// "explainFiles": true,
|
129
|
+
// "extendedDiagnostics": true,
|
130
|
+
// "generateCpuProfile": "profile.cpuprofile",
|
131
|
+
// "listEmittedFiles": true,
|
132
|
+
// "listFiles": true,
|
133
|
+
// "noCheck": true,
|
134
|
+
// "traceResolution": true,
|
135
|
+
// #endregion
|
136
|
+
//
|
137
|
+
// #region Project
|
138
|
+
// "composite": true,
|
139
|
+
// "disableReferencedProjectLoad": true,
|
140
|
+
// "disableSolutionSearching": true,
|
141
|
+
// "disableSourceOfProjectReferenceRedirect": true,
|
142
|
+
"incremental": true /* @default true if `composite`, else false */,
|
143
|
+
// "tsBuildInfoFile": "",
|
144
|
+
// #endregion
|
145
|
+
//
|
146
|
+
// #region Print
|
147
|
+
// "noErrorTruncation": true,
|
148
|
+
// "preserveWatchOutput": true,
|
149
|
+
// "pretty": true,
|
150
|
+
// #endregion
|
151
|
+
//
|
152
|
+
// #region Complete
|
153
|
+
// "skipLibCheck": true,
|
154
|
+
// #endregion
|
155
|
+
},
|
156
|
+
}
|