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