@eslinted/core 3.0.2-rc.0 → 3.0.3-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +2 -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.2-rc.0",
4
+ "version": "3.0.3-rc.0",
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.2",
30
+ "linted": "~16.0.4",
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
- /* Visit https://aka.ms/tsconfig to read more about this file */
12
- /* Projects */
13
- "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
14
- // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
15
- "tsBuildInfoFile": "dist/.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
16
- // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
17
- // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
18
- // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
19
- /* Language and Environment */
20
- "target": "es2022", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
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
- /* {{ CONFIGURE }} */
24
- ], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
25
- // "jsx": "preserve", /* Specify what JSX code is generated. */
26
- // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
27
- // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
28
- // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
29
- // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
30
- // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
31
- // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
32
- // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
33
- "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
34
- // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
35
- /* Modules */
36
- "module": "node16", /* Specify what module code is generated. */
37
- "rootDir": "src", /* Specify the root folder within your source files. */
38
- "moduleResolution": "node16", /* Specify how TypeScript looks up a file from a given module specifier. */
39
- // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
40
- // "paths": { "*": ["node_modules/*"] }, /* Specify a set of entries that re-map imports to additional lookup locations. */
41
- // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
42
- // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
43
- "types": [
44
- /* {{ CONFIGURE }} */
45
- ], /* Specify type package names to be included without being referenced in a source file. */
46
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
47
- // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
48
- // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
49
- // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
50
- // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
51
- // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
52
- // "resolveJsonModule": true, /* Enable importing .json files. */
53
- "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
54
- // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
55
- /* JavaScript Support */
56
- // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
57
- // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
58
- // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
59
- /* Emit */
60
- "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
61
- "declarationMap": true, /* Create sourcemaps for d.ts files. */
62
- // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
63
- "sourceMap": true, /* Create source map files for emitted JavaScript files. */
64
- // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
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
  }