linted 30.7.1 → 30.8.0
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 +36 -36
- package/.github/workflows/rc.yml +36 -36
- package/.markdownlint.jsonc +128 -128
- package/.mocharc.yml +15 -15
- package/LICENSE +20 -20
- package/README.md +351 -351
- package/dist/imports/parsers.d.ts +1 -1
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +2 -2
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +3 -1
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports/plugins.js.map +1 -1
- package/eslint.config.js +3 -3
- package/package.json +101 -101
- package/src/imports/index.ts +2 -2
- package/src/imports/parsers.ts +9 -9
- package/src/imports/plugins.ts +23 -23
- package/src/index.spec.ts +37 -37
- package/src/index.ts +35 -35
- package/tsconfig.json +156 -156
- package/typings/chai.d.ts +6 -6
package/tsconfig.json
CHANGED
@@ -1,156 +1,156 @@
|
|
1
|
-
{
|
2
|
-
"display": "tsc@
|
3
|
-
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
-
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
-
"include": [
|
6
|
-
"*.config.ts",
|
7
|
-
"src/**/*.ts",
|
8
|
-
"typings/**/*.d.ts",
|
9
|
-
],
|
10
|
-
"exclude": [],
|
11
|
-
"compilerOptions": {
|
12
|
-
// #region Typecheck
|
13
|
-
"allowUnreachableCode": false,
|
14
|
-
"allowUnusedLabels": false,
|
15
|
-
// "alwaysStrict": true /* @default true if `strict`, else false */,
|
16
|
-
"exactOptionalPropertyTypes": true,
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
18
|
-
// "noImplicitAny": true /* @default true if `strict`, else false */,
|
19
|
-
"noImplicitOverride": true,
|
20
|
-
"noImplicitReturns": true,
|
21
|
-
// "noImplicitThis": true /* @default true if `strict`, else false */,
|
22
|
-
"noPropertyAccessFromIndexSignature": true,
|
23
|
-
"noUncheckedIndexedAccess": true,
|
24
|
-
"noUnusedLocals": true,
|
25
|
-
"noUnusedParameters": true,
|
26
|
-
"strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
|
27
|
-
// "strictBindCallApply": true /* @default true if `strict`, else false */,
|
28
|
-
// "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
|
29
|
-
// "strictFunctionTypes": true /* @default true if `strict`, else false */,
|
30
|
-
// "strictNullChecks": true /* @default true if `strict`, else false */,
|
31
|
-
// "strictPropertyInitialization": true /* @default true if `strict`, else false */,
|
32
|
-
// "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
|
33
|
-
// #endregion
|
34
|
-
//
|
35
|
-
// #region Modules
|
36
|
-
"allowArbitraryExtensions": true,
|
37
|
-
// "allowImportingTsExtensions": true,
|
38
|
-
// "allowUmdGlobalAccess": true,
|
39
|
-
// "baseUrl": "./",
|
40
|
-
// "customConditions": [],
|
41
|
-
"module": "
|
42
|
-
"moduleResolution": "bundler",
|
43
|
-
// "moduleSuffixes": [],
|
44
|
-
// "noResolve": true,
|
45
|
-
// "noUncheckedSideEffectImports": true,
|
46
|
-
// "paths": { "*": ["node_modules/*"] },
|
47
|
-
// "resolveJsonModule": true,
|
48
|
-
// "resolvePackageJsonExports": true,
|
49
|
-
// "resolvePackageJsonImports": true,
|
50
|
-
"rewriteRelativeImportExtensions": true,
|
51
|
-
// "rootDir": "src",
|
52
|
-
// "rootDirs": [],
|
53
|
-
// "typeRoots": [],
|
54
|
-
"types": [
|
55
|
-
"mocha",
|
56
|
-
"chai",
|
57
|
-
/* {CONFIGURE} */
|
58
|
-
],
|
59
|
-
// #endregion
|
60
|
-
//
|
61
|
-
// #region Emit
|
62
|
-
"declaration": true,
|
63
|
-
// "declarationDir": "",
|
64
|
-
"declarationMap": true,
|
65
|
-
// "downlevelIteration": true,
|
66
|
-
// "emitBOM": true,
|
67
|
-
// "emitDeclarationOnly": true,
|
68
|
-
// "importHelpers": true,
|
69
|
-
// "inlineSourceMap": true,
|
70
|
-
// "inlineSources": true,
|
71
|
-
// "mapRoot": "",
|
72
|
-
// "newLine": "crlf",
|
73
|
-
// "noEmit": true,
|
74
|
-
// "noEmitHelpers": true,
|
75
|
-
"noEmitOnError": true,
|
76
|
-
"outDir": "dist",
|
77
|
-
// "outFile": "./",
|
78
|
-
// "preserveConstEnums": true,
|
79
|
-
// "removeComments": true,
|
80
|
-
"sourceMap": true,
|
81
|
-
// "sourceRoot": "",
|
82
|
-
// "stripInternal": true,
|
83
|
-
// #endregion
|
84
|
-
//
|
85
|
-
// #region JS
|
86
|
-
// "allowJs": true,
|
87
|
-
// "checkJs": true,
|
88
|
-
// "maxNodeModuleJsDepth": 1,
|
89
|
-
// #endregion
|
90
|
-
//
|
91
|
-
// #region Editor
|
92
|
-
// "disableSizeLimit": false,
|
93
|
-
// "plugins": [],
|
94
|
-
// #endregion
|
95
|
-
//
|
96
|
-
// #region Interop
|
97
|
-
"allowSyntheticDefaultImports": true,
|
98
|
-
// "erasableSyntaxOnly": true,
|
99
|
-
// "esModuleInterop": true,
|
100
|
-
"forceConsistentCasingInFileNames": true,
|
101
|
-
// "isolatedDeclarations": false,
|
102
|
-
// "isolatedModules": true,
|
103
|
-
// "preserveSymlinks": true,
|
104
|
-
"verbatimModuleSyntax": true,
|
105
|
-
// #endregion
|
106
|
-
//
|
107
|
-
// #region Language
|
108
|
-
// "emitDecoratorMetadata": true,
|
109
|
-
// "experimentalDecorators": true,
|
110
|
-
// "jsx": "preserve",
|
111
|
-
// "jsxFactory": "",
|
112
|
-
// "jsxFragmentFactory": "",
|
113
|
-
// "jsxImportSource": "",
|
114
|
-
"lib": [
|
115
|
-
"
|
116
|
-
/* {CONFIGURE} */
|
117
|
-
],
|
118
|
-
// "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
|
119
|
-
// "moduleDetection": "auto",
|
120
|
-
// "noLib": true,
|
121
|
-
// "reactNamespace": "",
|
122
|
-
"target": "
|
123
|
-
// "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
|
124
|
-
// #endregion
|
125
|
-
//
|
126
|
-
// #region Diagnostic
|
127
|
-
// "diagnostics": true,
|
128
|
-
// "explainFiles": true,
|
129
|
-
// "extendedDiagnostics": true,
|
130
|
-
// "generateCpuProfile": "profile.cpuprofile",
|
131
|
-
// "listEmittedFiles": true,
|
132
|
-
// "listFiles": true,
|
133
|
-
// "noCheck": true,
|
134
|
-
// "traceResolution": true,
|
135
|
-
// #endregion
|
136
|
-
//
|
137
|
-
// #region Project
|
138
|
-
// "composite": true,
|
139
|
-
// "disableReferencedProjectLoad": true,
|
140
|
-
// "disableSolutionSearching": true,
|
141
|
-
// "disableSourceOfProjectReferenceRedirect": true,
|
142
|
-
"incremental": true /* @default true if `composite`, else false */,
|
143
|
-
// "tsBuildInfoFile": "",
|
144
|
-
// #endregion
|
145
|
-
//
|
146
|
-
// #region Print
|
147
|
-
// "noErrorTruncation": true,
|
148
|
-
// "preserveWatchOutput": true,
|
149
|
-
// "pretty": true,
|
150
|
-
// #endregion
|
151
|
-
//
|
152
|
-
// #region Complete
|
153
|
-
"skipLibCheck": true /* @OVERRIDE */,
|
154
|
-
// #endregion
|
155
|
-
},
|
156
|
-
}
|
1
|
+
{
|
2
|
+
"display": "tsc@509.0.0",
|
3
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
4
|
+
"$help": "https://www.typescriptlang.org/tsconfig/#quick-nav-Top%20Level",
|
5
|
+
"include": [
|
6
|
+
"*.config.ts",
|
7
|
+
"src/**/*.ts",
|
8
|
+
"typings/**/*.d.ts",
|
9
|
+
],
|
10
|
+
"exclude": [],
|
11
|
+
"compilerOptions": {
|
12
|
+
// #region Typecheck
|
13
|
+
"allowUnreachableCode": false,
|
14
|
+
"allowUnusedLabels": false,
|
15
|
+
// "alwaysStrict": true /* @default true if `strict`, else false */,
|
16
|
+
"exactOptionalPropertyTypes": true,
|
17
|
+
"noFallthroughCasesInSwitch": true,
|
18
|
+
// "noImplicitAny": true /* @default true if `strict`, else false */,
|
19
|
+
"noImplicitOverride": true,
|
20
|
+
"noImplicitReturns": true,
|
21
|
+
// "noImplicitThis": true /* @default true if `strict`, else false */,
|
22
|
+
"noPropertyAccessFromIndexSignature": true,
|
23
|
+
"noUncheckedIndexedAccess": true,
|
24
|
+
"noUnusedLocals": true,
|
25
|
+
"noUnusedParameters": true,
|
26
|
+
"strict": true /* INFO:[CONTROLS] alwaysStrict | noImplicitAny | noImplicitThis | strict.* | useUnknownInCatchVariables */,
|
27
|
+
// "strictBindCallApply": true /* @default true if `strict`, else false */,
|
28
|
+
// "strictBuiltinIteratorReturn": true /* @default true if `strict`, else false */,
|
29
|
+
// "strictFunctionTypes": true /* @default true if `strict`, else false */,
|
30
|
+
// "strictNullChecks": true /* @default true if `strict`, else false */,
|
31
|
+
// "strictPropertyInitialization": true /* @default true if `strict`, else false */,
|
32
|
+
// "useUnknownInCatchVariables": true /* @default true if `strict`, else false */,
|
33
|
+
// #endregion
|
34
|
+
//
|
35
|
+
// #region Modules
|
36
|
+
"allowArbitraryExtensions": true,
|
37
|
+
// "allowImportingTsExtensions": true,
|
38
|
+
// "allowUmdGlobalAccess": true,
|
39
|
+
// "baseUrl": "./",
|
40
|
+
// "customConditions": [],
|
41
|
+
"module": "esnext",
|
42
|
+
"moduleResolution": "bundler",
|
43
|
+
// "moduleSuffixes": [],
|
44
|
+
// "noResolve": true,
|
45
|
+
// "noUncheckedSideEffectImports": true,
|
46
|
+
// "paths": { "*": ["node_modules/*"] },
|
47
|
+
// "resolveJsonModule": true,
|
48
|
+
// "resolvePackageJsonExports": true,
|
49
|
+
// "resolvePackageJsonImports": true,
|
50
|
+
"rewriteRelativeImportExtensions": true,
|
51
|
+
// "rootDir": "src",
|
52
|
+
// "rootDirs": [],
|
53
|
+
// "typeRoots": [],
|
54
|
+
"types": [
|
55
|
+
"mocha",
|
56
|
+
"chai",
|
57
|
+
/* {CONFIGURE} */
|
58
|
+
],
|
59
|
+
// #endregion
|
60
|
+
//
|
61
|
+
// #region Emit
|
62
|
+
"declaration": true,
|
63
|
+
// "declarationDir": "",
|
64
|
+
"declarationMap": true,
|
65
|
+
// "downlevelIteration": true,
|
66
|
+
// "emitBOM": true,
|
67
|
+
// "emitDeclarationOnly": true,
|
68
|
+
// "importHelpers": true,
|
69
|
+
// "inlineSourceMap": true,
|
70
|
+
// "inlineSources": true,
|
71
|
+
// "mapRoot": "",
|
72
|
+
// "newLine": "crlf",
|
73
|
+
// "noEmit": true,
|
74
|
+
// "noEmitHelpers": true,
|
75
|
+
"noEmitOnError": true,
|
76
|
+
"outDir": "dist",
|
77
|
+
// "outFile": "./",
|
78
|
+
// "preserveConstEnums": true,
|
79
|
+
// "removeComments": true,
|
80
|
+
"sourceMap": true,
|
81
|
+
// "sourceRoot": "",
|
82
|
+
// "stripInternal": true,
|
83
|
+
// #endregion
|
84
|
+
//
|
85
|
+
// #region JS
|
86
|
+
// "allowJs": true,
|
87
|
+
// "checkJs": true,
|
88
|
+
// "maxNodeModuleJsDepth": 1,
|
89
|
+
// #endregion
|
90
|
+
//
|
91
|
+
// #region Editor
|
92
|
+
// "disableSizeLimit": false,
|
93
|
+
// "plugins": [],
|
94
|
+
// #endregion
|
95
|
+
//
|
96
|
+
// #region Interop
|
97
|
+
"allowSyntheticDefaultImports": true,
|
98
|
+
// "erasableSyntaxOnly": true,
|
99
|
+
// "esModuleInterop": true,
|
100
|
+
"forceConsistentCasingInFileNames": true,
|
101
|
+
// "isolatedDeclarations": false,
|
102
|
+
// "isolatedModules": true,
|
103
|
+
// "preserveSymlinks": true,
|
104
|
+
"verbatimModuleSyntax": true,
|
105
|
+
// #endregion
|
106
|
+
//
|
107
|
+
// #region Language
|
108
|
+
// "emitDecoratorMetadata": true,
|
109
|
+
// "experimentalDecorators": true,
|
110
|
+
// "jsx": "preserve",
|
111
|
+
// "jsxFactory": "",
|
112
|
+
// "jsxFragmentFactory": "",
|
113
|
+
// "jsxImportSource": "",
|
114
|
+
"lib": [
|
115
|
+
"esnext",
|
116
|
+
/* {CONFIGURE} */
|
117
|
+
],
|
118
|
+
// "libReplacement": true /* @default: true | INFO: in the future, @default may become false */,
|
119
|
+
// "moduleDetection": "auto",
|
120
|
+
// "noLib": true,
|
121
|
+
// "reactNamespace": "",
|
122
|
+
"target": "esnext",
|
123
|
+
// "useDefineForClassFields": true /* @default true if `target` > `es2022`, else false*/,
|
124
|
+
// #endregion
|
125
|
+
//
|
126
|
+
// #region Diagnostic
|
127
|
+
// "diagnostics": true,
|
128
|
+
// "explainFiles": true,
|
129
|
+
// "extendedDiagnostics": true,
|
130
|
+
// "generateCpuProfile": "profile.cpuprofile",
|
131
|
+
// "listEmittedFiles": true,
|
132
|
+
// "listFiles": true,
|
133
|
+
// "noCheck": true,
|
134
|
+
// "traceResolution": true,
|
135
|
+
// #endregion
|
136
|
+
//
|
137
|
+
// #region Project
|
138
|
+
// "composite": true,
|
139
|
+
// "disableReferencedProjectLoad": true,
|
140
|
+
// "disableSolutionSearching": true,
|
141
|
+
// "disableSourceOfProjectReferenceRedirect": true,
|
142
|
+
"incremental": true /* @default true if `composite`, else false */,
|
143
|
+
// "tsBuildInfoFile": "",
|
144
|
+
// #endregion
|
145
|
+
//
|
146
|
+
// #region Print
|
147
|
+
// "noErrorTruncation": true,
|
148
|
+
// "preserveWatchOutput": true,
|
149
|
+
// "pretty": true,
|
150
|
+
// #endregion
|
151
|
+
//
|
152
|
+
// #region Complete
|
153
|
+
"skipLibCheck": true /* @OVERRIDE */,
|
154
|
+
// #endregion
|
155
|
+
},
|
156
|
+
}
|
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
|
+
}
|