linted 16.3.2 → 16.3.3-rc.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/RELEASE.yml +35 -0
- package/.github/workflows/rc.yml +35 -0
- package/LICENSE +21 -21
- package/README.md +388 -388
- package/SECURITY.md +9 -9
- package/dist/imports/plugins/index.d.ts.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +99 -99
- package/src/declarations/markdownlint/index.d.ts +3 -3
- package/src/declarations/markdownlint/parser.d.ts +9 -9
- package/src/declarations/mocha/index.d.ts +8 -8
- package/src/imports/index.ts +4 -4
- package/src/imports/parsers/index.ts +16 -16
- package/src/imports/plugins/index.ts +20 -20
- package/src/index.ts +34 -34
- package/src/statics/files/html/index.ts +1 -1
- package/src/statics/files/index.ts +22 -22
- package/src/statics/files/js/index.ts +1 -1
- package/src/statics/files/json/index.ts +1 -1
- package/src/statics/files/jsonc/index.ts +4 -4
- package/src/statics/files/md/index.ts +1 -1
- package/src/statics/files/mocha/index.ts +1 -1
- package/src/statics/files/svelte/index.ts +1 -1
- package/src/statics/files/ts/index.ts +5 -5
- package/src/statics/files/yml/index.ts +5 -5
- package/src/statics/index.ts +4 -4
- package/src/statics/rules/index.ts +22 -22
- package/src/statics/rules/presets/Html.ts +5 -5
- package/src/statics/rules/presets/Js.ts +5 -5
- package/src/statics/rules/presets/Json.ts +5 -5
- package/src/statics/rules/presets/Jsonc.ts +5 -5
- package/src/statics/rules/presets/Md.ts +4 -4
- package/src/statics/rules/presets/Mocha.ts +5 -5
- package/src/statics/rules/presets/Svelte.ts +16 -16
- package/src/statics/rules/presets/Ts.ts +14 -14
- package/src/statics/rules/presets/Yml.ts +5 -5
- package/src/statics/rules/presets/html/Enable.ts +5 -5
- package/src/statics/rules/presets/html/Recommended.ts +7 -7
- package/src/statics/rules/presets/index.ts +10 -10
- package/src/statics/rules/presets/js/Enable.ts +288 -288
- package/src/statics/rules/presets/js/EnableStylistic.ts +288 -288
- package/src/statics/rules/presets/json/Enable.ts +33 -33
- package/src/statics/rules/presets/json/EnableX.ts +51 -51
- package/src/statics/rules/presets/jsonc/OverrideJson.ts +6 -6
- package/src/statics/rules/presets/md/Enable.ts +23 -23
- package/src/statics/rules/presets/mocha/Enable.ts +5 -5
- package/src/statics/rules/presets/mocha/Recommended.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableJS.ts +7 -7
- package/src/statics/rules/presets/svelte/DisableTS.ts +5 -5
- package/src/statics/rules/presets/svelte/DisableX.ts +6 -6
- package/src/statics/rules/presets/svelte/Enable.ts +130 -130
- package/src/statics/rules/presets/svelte/EnableX.ts +6 -6
- package/src/statics/rules/presets/ts/DisableCompiler.ts +23 -23
- package/src/statics/rules/presets/ts/DisableX.ts +34 -34
- package/src/statics/rules/presets/ts/Enable.ts +407 -407
- package/src/statics/rules/presets/ts/EnableX.ts +87 -87
- package/src/statics/rules/presets/yml/Enable.ts +30 -30
- package/src/statics/rules/presets/yml/EnableX.ts +18 -18
- package/src/statics/rules/strings/id/index.ts +17 -17
- package/src/statics/rules/strings/index.ts +6 -6
- package/src/statics/rules/strings/level/index.ts +5 -5
- package/src/statics/rules/strings/state/index.ts +55 -55
- package/tsconfig.json +160 -160
package/tsconfig.json
CHANGED
@@ -1,160 +1,160 @@
|
|
1
|
-
{
|
2
|
-
"display": "@jimbojet/tsc",
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
-
"_version": "5.5.10",
|
5
|
-
"include": [
|
6
|
-
"*.config.ts",
|
7
|
-
"src/**/*.ts",
|
8
|
-
],
|
9
|
-
"exclude": [],
|
10
|
-
"compilerOptions": {
|
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": "",
|
115
|
-
"lib": [
|
116
|
-
"es2023",
|
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
|
159
|
-
},
|
160
|
-
}
|
1
|
+
{
|
2
|
+
"display": "@jimbojet/tsc",
|
3
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
+
"_version": "5.5.10",
|
5
|
+
"include": [
|
6
|
+
"*.config.ts",
|
7
|
+
"src/**/*.ts",
|
8
|
+
],
|
9
|
+
"exclude": [],
|
10
|
+
"compilerOptions": {
|
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": "",
|
115
|
+
"lib": [
|
116
|
+
"es2023",
|
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
|
159
|
+
},
|
160
|
+
}
|