@eslinted/core 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/tsconfig.json +149 -101
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.14.0",
|
3
3
|
"name": "@eslinted/core",
|
4
|
-
"version": "3.0.
|
4
|
+
"version": "3.0.2",
|
5
5
|
"description": "Core ESLint flat config factory npm package `linted`.",
|
6
6
|
"keywords": [],
|
7
7
|
"license": "MIT",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"eslint": "~9.8.0",
|
30
|
-
"linted": "~16.0.
|
30
|
+
"linted": "~16.0.3",
|
31
31
|
"npm-run-all": "^4.1.5",
|
32
32
|
"typescript": "^5.5.4"
|
33
33
|
},
|
package/tsconfig.json
CHANGED
@@ -1,113 +1,161 @@
|
|
1
1
|
{
|
2
2
|
"display": "@jimbojet/tsc",
|
3
|
-
"_version": "5.5.9",
|
4
3
|
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
+
"_version": "5.5.10",
|
5
5
|
"include": [
|
6
6
|
"*.config.ts",
|
7
7
|
"src/**/*.ts",
|
8
|
-
"types/**/*.d.ts"
|
8
|
+
"types/**/*.d.ts" /* @OVERRIDE */,
|
9
9
|
],
|
10
|
+
"exclude": [],
|
10
11
|
"compilerOptions": {
|
11
|
-
/*
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
"
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
"
|
12
|
+
/* http://aka.ms/tsconfig#quick-nav-Top%20Level */
|
13
|
+
|
14
|
+
// #region TYPE CHECKING
|
15
|
+
"allowUnreachableCode": false,
|
16
|
+
"allowUnusedLabels": false,
|
17
|
+
"alwaysStrict": true,
|
18
|
+
"exactOptionalPropertyTypes": true,
|
19
|
+
"noFallthroughCasesInSwitch": true,
|
20
|
+
"noImplicitAny": true,
|
21
|
+
"noImplicitOverride": true,
|
22
|
+
"noImplicitReturns": true,
|
23
|
+
"noImplicitThis": true,
|
24
|
+
"noPropertyAccessFromIndexSignature": true,
|
25
|
+
"noUncheckedIndexedAccess": true,
|
26
|
+
"noUnusedLocals": true,
|
27
|
+
"noUnusedParameters": true,
|
28
|
+
"strict": true,
|
29
|
+
"strictBindCallApply": true,
|
30
|
+
"strictFunctionTypes": true,
|
31
|
+
"strictNullChecks": true,
|
32
|
+
"strictPropertyInitialization": true,
|
33
|
+
"useUnknownInCatchVariables": true,
|
34
|
+
// #endregion
|
35
|
+
|
36
|
+
|
37
|
+
// #region MODULES
|
38
|
+
"allowArbitraryExtensions": true,
|
39
|
+
// "allowImportingTsExtensions": true,
|
40
|
+
// "allowUmdGlobalAccess": true,
|
41
|
+
// "baseUrl": "./",
|
42
|
+
// "customConditions": [],
|
43
|
+
"module": "node16",
|
44
|
+
"moduleResolution": "node16",
|
45
|
+
// "moduleSuffixes": [],
|
46
|
+
// "noResolve": true,
|
47
|
+
// "paths": { "*": ["node_modules/*"] },
|
48
|
+
// "resolveJsonModule": true,
|
49
|
+
// "resolvePackageJsonExports": true,
|
50
|
+
// "resolvePackageJsonImports": true,
|
51
|
+
"rootDir": "src",
|
52
|
+
// "rootDirs": [],
|
53
|
+
// "typeRoots": [],
|
54
|
+
"types": [
|
55
|
+
/* {CONFIGURE} */
|
56
|
+
],
|
57
|
+
// #endregion
|
58
|
+
|
59
|
+
|
60
|
+
// #region EMIT
|
61
|
+
"declaration": true,
|
62
|
+
"declarationDir": "dist",
|
63
|
+
"declarationMap": true,
|
64
|
+
// "downlevelIteration": true,
|
65
|
+
// "emitBOM": true,
|
66
|
+
// "emitDeclarationOnly": true,
|
67
|
+
// "importHelpers": true,
|
68
|
+
// "inlineSourceMap": true,
|
69
|
+
// "inlineSources": true,
|
70
|
+
// "mapRoot": "",
|
71
|
+
// "newLine": "crlf",
|
72
|
+
// "noEmit": true,
|
73
|
+
// "noEmitHelpers": true,
|
74
|
+
"noEmitOnError": true,
|
75
|
+
"outDir": "dist",
|
76
|
+
// "outFile": "./",
|
77
|
+
// "preserveConstEnums": true,
|
78
|
+
"removeComments": true,
|
79
|
+
"sourceMap": true,
|
80
|
+
// "sourceRoot": "",
|
81
|
+
// "stripInternal": true,
|
82
|
+
// #endregion
|
83
|
+
|
84
|
+
|
85
|
+
// #region JAVASCRIPT SUPPORT
|
86
|
+
// "allowJs": true,
|
87
|
+
// "checkJs": true,
|
88
|
+
// "maxNodeModuleJsDepth": 1,
|
89
|
+
// #endregion
|
90
|
+
|
91
|
+
|
92
|
+
// #region EDITOR SUPPORT
|
93
|
+
// "disableSizeLimit": false,
|
94
|
+
// "plugins": [],
|
95
|
+
// #endregion
|
96
|
+
|
97
|
+
|
98
|
+
// #region INTEROP CONSTRAINTS
|
99
|
+
"allowSyntheticDefaultImports": true,
|
100
|
+
"esModuleInterop": true,
|
101
|
+
"forceConsistentCasingInFileNames": true,
|
102
|
+
// "isolatedDeclarations": false,
|
103
|
+
// "isolatedModules": true,
|
104
|
+
// "preserveSymlinks": true,
|
105
|
+
"verbatimModuleSyntax": true,
|
106
|
+
// #endregion
|
107
|
+
|
108
|
+
|
109
|
+
// #region LANGUAGE AND ENVIRONMENT
|
110
|
+
// "emitDecoratorMetadata": true,
|
111
|
+
// "experimentalDecorators": true,
|
112
|
+
// "jsx": "preserve",
|
113
|
+
// "jsxFactory": "",
|
114
|
+
// "jsxFragmentFactory": "",
|
115
|
+
// "jsxImportSource": "",
|
21
116
|
"lib": [
|
22
117
|
"es2023",
|
23
|
-
/* {
|
24
|
-
],
|
25
|
-
// "
|
26
|
-
// "
|
27
|
-
// "
|
28
|
-
|
29
|
-
|
30
|
-
//
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
// "
|
35
|
-
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
// "
|
40
|
-
// "
|
41
|
-
// "
|
42
|
-
//
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
// "
|
47
|
-
// "
|
48
|
-
// "
|
49
|
-
// "
|
50
|
-
|
51
|
-
|
52
|
-
//
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
// "
|
57
|
-
// "
|
58
|
-
// "
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
//
|
63
|
-
"
|
64
|
-
//
|
65
|
-
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
|
66
|
-
"outDir": "dist", /* Specify an output folder for all emitted files. */
|
67
|
-
"removeComments": true, /* Disable emitting comments. */
|
68
|
-
// "noEmit": true, /* Disable emitting files from a compilation. */
|
69
|
-
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
|
70
|
-
// "importsNotUsedAsValues": "remove", /* DEPRECATED -- USE `verbatimModuleSyntax`. [OLD: Specify emit/checking behavior for imports that are only used for types.] */
|
71
|
-
// "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
|
72
|
-
// "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
|
73
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
74
|
-
// "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
|
75
|
-
// "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
|
76
|
-
// "newLine": "crlf", /* Set the newline character for emitting files. */
|
77
|
-
// "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
|
78
|
-
// "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
|
79
|
-
"noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
|
80
|
-
// "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
|
81
|
-
"declarationDir": "dist", /* Specify the output directory for generated declaration files. */
|
82
|
-
// "preserveValueImports": true, /* DEPRECATED -- USE `verbatimModuleSyntax`. [OLD: Preserve unused imported values in the JavaScript output that would otherwise be removed.] */
|
83
|
-
/* Interop Constraints */
|
84
|
-
"isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
|
85
|
-
"verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
|
86
|
-
"allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
|
87
|
-
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
|
88
|
-
// "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
|
89
|
-
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
90
|
-
/* Type Checking */
|
91
|
-
"strict": true, /* Enable all strict type-checking options. */
|
92
|
-
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
93
|
-
"strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
|
94
|
-
"strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
|
95
|
-
"strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
|
96
|
-
"strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
|
97
|
-
"noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
|
98
|
-
"useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
|
99
|
-
"alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
|
100
|
-
"noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
|
101
|
-
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
|
102
|
-
"exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
|
103
|
-
"noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
|
104
|
-
"noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
|
105
|
-
"noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
|
106
|
-
"noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
|
107
|
-
"noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
|
108
|
-
"allowUnusedLabels": false, /* Disable error reporting for unused labels. */
|
109
|
-
"allowUnreachableCode": false, /* Disable error reporting for unreachable code. */
|
110
|
-
/* Completeness */
|
111
|
-
"skipLibCheck": false, /* Skip type checking all .d.ts files. */
|
118
|
+
/* {CONFIGURE} */
|
119
|
+
],
|
120
|
+
// "moduleDetection": "auto",
|
121
|
+
// "noLib": true,
|
122
|
+
// "reactNamespace": "",
|
123
|
+
"target": "es2022",
|
124
|
+
"useDefineForClassFields": true,
|
125
|
+
// #endregion
|
126
|
+
|
127
|
+
|
128
|
+
// #region COMPILER DIAGNOSTICS
|
129
|
+
// "diagnostics": true,
|
130
|
+
// "explainFiles": true,
|
131
|
+
// "extendedDiagnostics": true,
|
132
|
+
// "generateCpuProfile": "profile.cpuprofile",
|
133
|
+
// "listEmittedFiles": true,
|
134
|
+
// "listFiles": true,
|
135
|
+
// "noCheck": true,
|
136
|
+
// "traceResolution": true,
|
137
|
+
// #endregion
|
138
|
+
|
139
|
+
|
140
|
+
// #region PROJECTS
|
141
|
+
// "composite": true,
|
142
|
+
// "disableReferencedProjectLoad": true,
|
143
|
+
// "disableSolutionSearching": true,
|
144
|
+
// "disableSourceOfProjectReferenceRedirect": true,
|
145
|
+
"incremental": true,
|
146
|
+
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
147
|
+
// #endregion
|
148
|
+
|
149
|
+
|
150
|
+
// #region OUTPUT FORMATTING
|
151
|
+
// "noErrorTruncation": true,
|
152
|
+
// "preserveWatchOutput": true,
|
153
|
+
// "pretty": true,
|
154
|
+
// #endregion
|
155
|
+
|
156
|
+
|
157
|
+
// #region COMPLETENESS
|
158
|
+
"skipLibCheck": false,
|
159
|
+
// #endregion
|
112
160
|
},
|
113
161
|
}
|