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