linted 28.1.2-rc.1 → 28.1.3-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/RELEASE.yml +33 -33
- package/.github/workflows/rc.yml +33 -33
- package/.markdownlint.jsonc +126 -126
- package/LICENSE +21 -21
- package/README.md +351 -351
- package/SECURITY.md +8 -8
- package/eslint.config.js +3 -3
- package/package.json +144 -144
- package/src/index.spec.ts +20 -20
- package/src/index.ts +18 -18
- package/src/parsers.ts +15 -15
- package/src/plugins.ts +23 -23
- package/tsconfig.json +163 -163
- package/typings/chai.d.ts +6 -6
- package/typings/mocha.d.ts +3 -3
package/tsconfig.json
CHANGED
@@ -1,163 +1,163 @@
|
|
1
|
-
{
|
2
|
-
"display": "@jimbojet/tsc",
|
3
|
-
"version": "5.7.0",
|
4
|
-
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
6
|
-
"include": [
|
7
|
-
"*.config.ts",
|
8
|
-
"src/**/*.ts",
|
9
|
-
"tests/**/*.ts",
|
10
|
-
"typings/**/*.d.ts",
|
11
|
-
],
|
12
|
-
"exclude": [],
|
13
|
-
"compilerOptions": {
|
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 TYPE CHECKING
|
35
|
-
|
36
|
-
|
37
|
-
// #region MODULES
|
38
|
-
"allowArbitraryExtensions": true,
|
39
|
-
// "allowImportingTsExtensions": true,
|
40
|
-
// "allowUmdGlobalAccess": true,
|
41
|
-
// "baseUrl": "./",
|
42
|
-
// "customConditions": [],
|
43
|
-
"module": "es2022",
|
44
|
-
"moduleResolution": "bundler",
|
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
|
-
"mocha",
|
56
|
-
"chai",
|
57
|
-
/* {CONFIGURE} */
|
58
|
-
],
|
59
|
-
// #endregion MODULES
|
60
|
-
|
61
|
-
|
62
|
-
// #region EMIT
|
63
|
-
"declaration": true,
|
64
|
-
"declarationDir": "dist",
|
65
|
-
"declarationMap": true,
|
66
|
-
// "downlevelIteration": true,
|
67
|
-
// "emitBOM": true,
|
68
|
-
// "emitDeclarationOnly": true,
|
69
|
-
// "importHelpers": true,
|
70
|
-
// "inlineSourceMap": true,
|
71
|
-
// "inlineSources": true,
|
72
|
-
// "mapRoot": "",
|
73
|
-
// "newLine": "crlf",
|
74
|
-
// "noEmit": true,
|
75
|
-
// "noEmitHelpers": true,
|
76
|
-
"noEmitOnError": true,
|
77
|
-
"outDir": "dist",
|
78
|
-
// "outFile": "./",
|
79
|
-
// "preserveConstEnums": true,
|
80
|
-
"removeComments": true,
|
81
|
-
"sourceMap": true,
|
82
|
-
// "sourceRoot": "",
|
83
|
-
// "stripInternal": true,
|
84
|
-
// #endregion EMIT
|
85
|
-
|
86
|
-
|
87
|
-
// #region JAVASCRIPT SUPPORT
|
88
|
-
// "allowJs": true,
|
89
|
-
// "checkJs": true,
|
90
|
-
// "maxNodeModuleJsDepth": 1,
|
91
|
-
// #endregion JAVASCRIPT SUPPORT
|
92
|
-
|
93
|
-
|
94
|
-
// #region EDITOR SUPPORT
|
95
|
-
// "disableSizeLimit": false,
|
96
|
-
// "plugins": [],
|
97
|
-
// #endregion EDITOR SUPPORT
|
98
|
-
|
99
|
-
|
100
|
-
// #region INTEROP CONSTRAINTS
|
101
|
-
"allowSyntheticDefaultImports": true,
|
102
|
-
"esModuleInterop": true,
|
103
|
-
"forceConsistentCasingInFileNames": true,
|
104
|
-
// "isolatedDeclarations": false,
|
105
|
-
// "isolatedModules": true,
|
106
|
-
// "preserveSymlinks": true,
|
107
|
-
"verbatimModuleSyntax": true,
|
108
|
-
// #endregion INTEROP CONSTRAINTS
|
109
|
-
|
110
|
-
|
111
|
-
// #region LANGUAGE AND ENVIRONMENT
|
112
|
-
// "emitDecoratorMetadata": true,
|
113
|
-
// "experimentalDecorators": true,
|
114
|
-
// "jsx": "preserve",
|
115
|
-
// "jsxFactory": "",
|
116
|
-
// "jsxFragmentFactory": "",
|
117
|
-
// "jsxImportSource": "",
|
118
|
-
"lib": [
|
119
|
-
"es2023",
|
120
|
-
/* {CONFIGURE} */
|
121
|
-
],
|
122
|
-
// "moduleDetection": "auto",
|
123
|
-
// "noLib": true,
|
124
|
-
// "reactNamespace": "",
|
125
|
-
"target": "es2022",
|
126
|
-
// "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
|
127
|
-
// #endregion LANGUAGE AND ENVIRONMENT
|
128
|
-
|
129
|
-
|
130
|
-
// #region COMPILER DIAGNOSTICS
|
131
|
-
// "diagnostics": true,
|
132
|
-
// "explainFiles": true,
|
133
|
-
// "extendedDiagnostics": true,
|
134
|
-
// "generateCpuProfile": "profile.cpuprofile",
|
135
|
-
// "listEmittedFiles": true,
|
136
|
-
// "listFiles": true,
|
137
|
-
// "noCheck": true,
|
138
|
-
// "traceResolution": true,
|
139
|
-
// #endregion COMPILER DIAGNOSTICS
|
140
|
-
|
141
|
-
|
142
|
-
// #region PROJECTS
|
143
|
-
// "composite": true,
|
144
|
-
// "disableReferencedProjectLoad": true,
|
145
|
-
// "disableSolutionSearching": true,
|
146
|
-
// "disableSourceOfProjectReferenceRedirect": true,
|
147
|
-
"incremental": true,
|
148
|
-
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
149
|
-
// #endregion PROJECTS
|
150
|
-
|
151
|
-
|
152
|
-
// #region OUTPUT FORMATTING
|
153
|
-
// "noErrorTruncation": true,
|
154
|
-
// "preserveWatchOutput": true,
|
155
|
-
// "pretty": true,
|
156
|
-
// #endregion OUTPUT FORMATTING
|
157
|
-
|
158
|
-
|
159
|
-
// #region COMPLETENESS
|
160
|
-
"skipLibCheck": true /* @OVERRIDE */,
|
161
|
-
// #endregion COMPLETENESS
|
162
|
-
},
|
163
|
-
}
|
1
|
+
{
|
2
|
+
"display": "@jimbojet/tsc",
|
3
|
+
"version": "5.7.0",
|
4
|
+
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
6
|
+
"include": [
|
7
|
+
"*.config.ts",
|
8
|
+
"src/**/*.ts",
|
9
|
+
"tests/**/*.ts",
|
10
|
+
"typings/**/*.d.ts",
|
11
|
+
],
|
12
|
+
"exclude": [],
|
13
|
+
"compilerOptions": {
|
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 TYPE CHECKING
|
35
|
+
|
36
|
+
|
37
|
+
// #region MODULES
|
38
|
+
"allowArbitraryExtensions": true,
|
39
|
+
// "allowImportingTsExtensions": true,
|
40
|
+
// "allowUmdGlobalAccess": true,
|
41
|
+
// "baseUrl": "./",
|
42
|
+
// "customConditions": [],
|
43
|
+
"module": "es2022",
|
44
|
+
"moduleResolution": "bundler",
|
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
|
+
"mocha",
|
56
|
+
"chai",
|
57
|
+
/* {CONFIGURE} */
|
58
|
+
],
|
59
|
+
// #endregion MODULES
|
60
|
+
|
61
|
+
|
62
|
+
// #region EMIT
|
63
|
+
"declaration": true,
|
64
|
+
"declarationDir": "dist",
|
65
|
+
"declarationMap": true,
|
66
|
+
// "downlevelIteration": true,
|
67
|
+
// "emitBOM": true,
|
68
|
+
// "emitDeclarationOnly": true,
|
69
|
+
// "importHelpers": true,
|
70
|
+
// "inlineSourceMap": true,
|
71
|
+
// "inlineSources": true,
|
72
|
+
// "mapRoot": "",
|
73
|
+
// "newLine": "crlf",
|
74
|
+
// "noEmit": true,
|
75
|
+
// "noEmitHelpers": true,
|
76
|
+
"noEmitOnError": true,
|
77
|
+
"outDir": "dist",
|
78
|
+
// "outFile": "./",
|
79
|
+
// "preserveConstEnums": true,
|
80
|
+
"removeComments": true,
|
81
|
+
"sourceMap": true,
|
82
|
+
// "sourceRoot": "",
|
83
|
+
// "stripInternal": true,
|
84
|
+
// #endregion EMIT
|
85
|
+
|
86
|
+
|
87
|
+
// #region JAVASCRIPT SUPPORT
|
88
|
+
// "allowJs": true,
|
89
|
+
// "checkJs": true,
|
90
|
+
// "maxNodeModuleJsDepth": 1,
|
91
|
+
// #endregion JAVASCRIPT SUPPORT
|
92
|
+
|
93
|
+
|
94
|
+
// #region EDITOR SUPPORT
|
95
|
+
// "disableSizeLimit": false,
|
96
|
+
// "plugins": [],
|
97
|
+
// #endregion EDITOR SUPPORT
|
98
|
+
|
99
|
+
|
100
|
+
// #region INTEROP CONSTRAINTS
|
101
|
+
"allowSyntheticDefaultImports": true,
|
102
|
+
"esModuleInterop": true,
|
103
|
+
"forceConsistentCasingInFileNames": true,
|
104
|
+
// "isolatedDeclarations": false,
|
105
|
+
// "isolatedModules": true,
|
106
|
+
// "preserveSymlinks": true,
|
107
|
+
"verbatimModuleSyntax": true,
|
108
|
+
// #endregion INTEROP CONSTRAINTS
|
109
|
+
|
110
|
+
|
111
|
+
// #region LANGUAGE AND ENVIRONMENT
|
112
|
+
// "emitDecoratorMetadata": true,
|
113
|
+
// "experimentalDecorators": true,
|
114
|
+
// "jsx": "preserve",
|
115
|
+
// "jsxFactory": "",
|
116
|
+
// "jsxFragmentFactory": "",
|
117
|
+
// "jsxImportSource": "",
|
118
|
+
"lib": [
|
119
|
+
"es2023",
|
120
|
+
/* {CONFIGURE} */
|
121
|
+
],
|
122
|
+
// "moduleDetection": "auto",
|
123
|
+
// "noLib": true,
|
124
|
+
// "reactNamespace": "",
|
125
|
+
"target": "es2022",
|
126
|
+
// "useDefineForClassFields": true /* @default: target > es2022 : true; else : false*/,
|
127
|
+
// #endregion LANGUAGE AND ENVIRONMENT
|
128
|
+
|
129
|
+
|
130
|
+
// #region COMPILER DIAGNOSTICS
|
131
|
+
// "diagnostics": true,
|
132
|
+
// "explainFiles": true,
|
133
|
+
// "extendedDiagnostics": true,
|
134
|
+
// "generateCpuProfile": "profile.cpuprofile",
|
135
|
+
// "listEmittedFiles": true,
|
136
|
+
// "listFiles": true,
|
137
|
+
// "noCheck": true,
|
138
|
+
// "traceResolution": true,
|
139
|
+
// #endregion COMPILER DIAGNOSTICS
|
140
|
+
|
141
|
+
|
142
|
+
// #region PROJECTS
|
143
|
+
// "composite": true,
|
144
|
+
// "disableReferencedProjectLoad": true,
|
145
|
+
// "disableSolutionSearching": true,
|
146
|
+
// "disableSourceOfProjectReferenceRedirect": true,
|
147
|
+
"incremental": true,
|
148
|
+
"tsBuildInfoFile": "dist/.tsbuildinfo",
|
149
|
+
// #endregion PROJECTS
|
150
|
+
|
151
|
+
|
152
|
+
// #region OUTPUT FORMATTING
|
153
|
+
// "noErrorTruncation": true,
|
154
|
+
// "preserveWatchOutput": true,
|
155
|
+
// "pretty": true,
|
156
|
+
// #endregion OUTPUT FORMATTING
|
157
|
+
|
158
|
+
|
159
|
+
// #region COMPLETENESS
|
160
|
+
"skipLibCheck": true /* @OVERRIDE */,
|
161
|
+
// #endregion COMPLETENESS
|
162
|
+
},
|
163
|
+
}
|
package/typings/chai.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
declare module "eslint-plugin-chai-friendly" {
|
2
|
-
export const configs: unknown;
|
3
|
-
}
|
4
|
-
declare module "eslint-plugin-chai-expect" {
|
5
|
-
export const configs: unknown;
|
6
|
-
}
|
1
|
+
declare module "eslint-plugin-chai-friendly" {
|
2
|
+
export const configs: unknown;
|
3
|
+
}
|
4
|
+
declare module "eslint-plugin-chai-expect" {
|
5
|
+
export const configs: unknown;
|
6
|
+
}
|
package/typings/mocha.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
declare module "eslint-plugin-mocha" {
|
2
|
-
export const configs: unknown;
|
3
|
-
}
|
1
|
+
declare module "eslint-plugin-mocha" {
|
2
|
+
export const configs: unknown;
|
3
|
+
}
|