@storm-software/eslint 0.170.157 → 0.170.159
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/README.md +1 -1
- package/dist/{plugins-CZWNS7l4.mjs → index.cjs} +4613 -205
- package/dist/{typegen.d.mts → index.d.cts} +1027 -1
- package/dist/index.d.mts +17942 -40
- package/dist/index.mjs +12628 -38
- package/package.json +14 -57
- package/dist/astro-CKzo6xci.d.mts +0 -5
- package/dist/banner-YnHf4ewf.d.mts +0 -5
- package/dist/bun-OJPLvfnX.d.mts +0 -5
- package/dist/cspell-CfGd6g7m.d.mts +0 -8
- package/dist/disables-Dx5b56Fi.d.mts +0 -5
- package/dist/find-workspace-root-D3UHWbgn.mjs +0 -211
- package/dist/formatters-VU6Zu_ju.d.mts +0 -5
- package/dist/graphql-ClFinA5J.d.mts +0 -5
- package/dist/helpers-mce_MNwt.mjs +0 -72
- package/dist/ignores-CPeru9Fz.d.mts +0 -5
- package/dist/imports-CQToT7JW.d.mts +0 -5
- package/dist/javascript-BR8uv0Wr.d.mts +0 -5
- package/dist/jsdoc-Dy8bHykP.d.mts +0 -5
- package/dist/jsonc-YqDXTIOi.d.mts +0 -5
- package/dist/jsx-DzqEJSYd.d.mts +0 -5
- package/dist/markdown-C5lFEI83.d.mts +0 -5
- package/dist/mdx-CDEhveb1.d.mts +0 -5
- package/dist/next-DGhspeMc.d.mts +0 -8
- package/dist/node-CQgsZ8nv.d.mts +0 -5
- package/dist/nx-CLRc6QRM.d.mts +0 -8
- package/dist/perfectionist-CgSgqAjV.d.mts +0 -10
- package/dist/plugins.d.mts +0 -616
- package/dist/plugins.mjs +0 -2
- package/dist/pnpm-Cp9VzsCv.d.mts +0 -5
- package/dist/preset-x6MId9-7.mjs +0 -265
- package/dist/preset.d.mts +0 -30
- package/dist/preset.mjs +0 -3
- package/dist/prettier-CboafVRp.d.mts +0 -8
- package/dist/react-C5HWHYPh.d.mts +0 -5
- package/dist/react-native-DjQo3PXB.d.mts +0 -8
- package/dist/regexp-D2Fm6vg7.d.mts +0 -5
- package/dist/rolldown-runtime-CMFfr-1z.mjs +0 -26
- package/dist/secrets-DfvPNLCF.d.mts +0 -10
- package/dist/sort-9_xeGmal.d.mts +0 -16
- package/dist/storybook-DqDJ5exI.d.mts +0 -5
- package/dist/stylistic-9jDGqsHH.d.mts +0 -9
- package/dist/test-Dw-h86ig.d.mts +0 -5
- package/dist/toml-ConAZLXy.d.mts +0 -5
- package/dist/tsdoc-DcYWMVl0.d.mts +0 -5
- package/dist/types-XIthLTox.d.mts +0 -852
- package/dist/types.d.mts +0 -3
- package/dist/types.mjs +0 -2
- package/dist/typescript-BFiiMXDt.d.mts +0 -5
- package/dist/unicorn-CQ3PTdfT.d.mts +0 -5
- package/dist/unocss-Uw-vEvNU.d.mts +0 -5
- package/dist/yaml-Ddbh49WY.d.mts +0 -5
- package/dist/zod-7F7dUsU5.d.mts +0 -8
package/dist/plugins.d.mts
DELETED
|
@@ -1,616 +0,0 @@
|
|
|
1
|
-
import pluginCspell from "@cspell/eslint-plugin";
|
|
2
|
-
import pluginNx from "@nx/eslint-plugin/nx";
|
|
3
|
-
import pluginVitest from "@vitest/eslint-plugin";
|
|
4
|
-
import { NapiResolveOptions } from "unrs-resolver";
|
|
5
|
-
import { LegacyResolver, NewResolver, PluginName, PluginSettings, RuleContext } from "eslint-import-context";
|
|
6
|
-
import { ESLint, Linter } from "eslint";
|
|
7
|
-
import { TSESTree } from "@typescript-eslint/types";
|
|
8
|
-
import { ESLintUtils, TSESLint, TSESTree as TSESTree$1 } from "@typescript-eslint/utils";
|
|
9
|
-
import pluginNode from "eslint-plugin-n";
|
|
10
|
-
import pluginNoOnlyTests from "eslint-plugin-no-only-tests";
|
|
11
|
-
import pluginSecrets from "eslint-plugin-no-secrets";
|
|
12
|
-
import pluginPerfectionist from "eslint-plugin-perfectionist";
|
|
13
|
-
import pluginPrettier from "eslint-plugin-prettier";
|
|
14
|
-
import pluginUnicorn from "eslint-plugin-unicorn";
|
|
15
|
-
import pluginUnusedImports from "eslint-plugin-unused-imports";
|
|
16
|
-
import "comment-parser";
|
|
17
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/utils/create-rule.d.ts
|
|
18
|
-
interface ImportXPluginDocs {
|
|
19
|
-
category?: string;
|
|
20
|
-
recommended?: true;
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
//#region ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/index.d.ts
|
|
24
|
-
type Platform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'haiku' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin' | 'netbsd';
|
|
25
|
-
interface MinimatchOptions {
|
|
26
|
-
/** do not expand `{x,y}` style braces */
|
|
27
|
-
nobrace?: boolean;
|
|
28
|
-
/** do not treat patterns starting with `#` as a comment */
|
|
29
|
-
nocomment?: boolean;
|
|
30
|
-
/** do not treat patterns starting with `!` as a negation */
|
|
31
|
-
nonegate?: boolean;
|
|
32
|
-
/** print LOTS of debugging output */
|
|
33
|
-
debug?: boolean;
|
|
34
|
-
/** treat `**` the same as `*` */
|
|
35
|
-
noglobstar?: boolean;
|
|
36
|
-
/** do not expand extglobs like `+(a|b)` */
|
|
37
|
-
noext?: boolean;
|
|
38
|
-
/** return the pattern if nothing matches */
|
|
39
|
-
nonull?: boolean;
|
|
40
|
-
/** treat `\\` as a path separator, not an escape character */
|
|
41
|
-
windowsPathsNoEscape?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* inverse of {@link MinimatchOptions.windowsPathsNoEscape}
|
|
44
|
-
* @deprecated
|
|
45
|
-
*/
|
|
46
|
-
allowWindowsEscape?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Compare a partial path to a pattern. As long as the parts
|
|
49
|
-
* of the path that are present are not contradicted by the
|
|
50
|
-
* pattern, it will be treated as a match. This is useful in
|
|
51
|
-
* applications where you're walking through a folder structure,
|
|
52
|
-
* and don't yet have the full path, but want to ensure that you
|
|
53
|
-
* do not walk down paths that can never be a match.
|
|
54
|
-
*/
|
|
55
|
-
partial?: boolean;
|
|
56
|
-
/** allow matches that start with `.` even if the pattern does not */
|
|
57
|
-
dot?: boolean;
|
|
58
|
-
/** ignore case */
|
|
59
|
-
nocase?: boolean;
|
|
60
|
-
/** ignore case only in wildcard patterns */
|
|
61
|
-
nocaseMagicOnly?: boolean;
|
|
62
|
-
/** consider braces to be "magic" for the purpose of `hasMagic` */
|
|
63
|
-
magicalBraces?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* If set, then patterns without slashes will be matched
|
|
66
|
-
* against the basename of the path if it contains slashes.
|
|
67
|
-
* For example, `a?b` would match the path `/xyz/123/acb`, but
|
|
68
|
-
* not `/xyz/acb/123`.
|
|
69
|
-
*/
|
|
70
|
-
matchBase?: boolean;
|
|
71
|
-
/** invert the results of negated matches */
|
|
72
|
-
flipNegate?: boolean;
|
|
73
|
-
/** do not collapse multiple `/` into a single `/` */
|
|
74
|
-
preserveMultipleSlashes?: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* A number indicating the level of optimization that should be done
|
|
77
|
-
* to the pattern prior to parsing and using it for matches.
|
|
78
|
-
*/
|
|
79
|
-
optimizationLevel?: number;
|
|
80
|
-
/** operating system platform */
|
|
81
|
-
platform?: Platform;
|
|
82
|
-
/**
|
|
83
|
-
* When a pattern starts with a UNC path or drive letter, and in
|
|
84
|
-
* `nocase:true` mode, do not convert the root portions of the
|
|
85
|
-
* pattern into a case-insensitive regular expression, and instead
|
|
86
|
-
* leave them as strings.
|
|
87
|
-
*
|
|
88
|
-
* This is the default when the platform is `win32` and
|
|
89
|
-
* `nocase:true` is set.
|
|
90
|
-
*/
|
|
91
|
-
windowsNoMagicRoot?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* max number of `{...}` patterns to expand. Default 100_000.
|
|
94
|
-
*/
|
|
95
|
-
braceExpandMax?: number;
|
|
96
|
-
/**
|
|
97
|
-
* Max number of non-adjacent `**` patterns to recursively walk down.
|
|
98
|
-
*
|
|
99
|
-
* The default of 200 is almost certainly high enough for most purposes,
|
|
100
|
-
* and can handle absurdly excessive patterns.
|
|
101
|
-
*/
|
|
102
|
-
maxGlobstarRecursion?: number;
|
|
103
|
-
/**
|
|
104
|
-
* Max depth to traverse for nested extglobs like `*(a|b|c)`
|
|
105
|
-
*
|
|
106
|
-
* Default is 2, which is quite low, but any higher value
|
|
107
|
-
* swiftly results in punishing performance impacts. Note
|
|
108
|
-
* that this is *not* relevant when the globstar types can
|
|
109
|
-
* be safely coalesced into a single set.
|
|
110
|
-
*
|
|
111
|
-
* For example, `*(a|@(b|c)|d)` would be flattened into
|
|
112
|
-
* `*(a|b|c|d)`. Thus, many common extglobs will retain good
|
|
113
|
-
* performance and never hit this limit, even if they are
|
|
114
|
-
* excessively deep and complicated.
|
|
115
|
-
*
|
|
116
|
-
* If the limit is hit, then the extglob characters are simply
|
|
117
|
-
* not parsed, and the pattern effectively switches into
|
|
118
|
-
* `noextglob: true` mode for the contents of that nested
|
|
119
|
-
* sub-pattern. This will typically _not_ result in a match,
|
|
120
|
-
* but is considered a valid trade-off for security and
|
|
121
|
-
* performance.
|
|
122
|
-
*/
|
|
123
|
-
maxExtglobRecursion?: number;
|
|
124
|
-
}
|
|
125
|
-
//#endregion
|
|
126
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/types.d.ts
|
|
127
|
-
type ImportType$1 = ImportType | 'object' | 'type';
|
|
128
|
-
type Arrayable<T> = T | readonly T[];
|
|
129
|
-
interface PluginConfig extends Linter.LegacyConfig {
|
|
130
|
-
plugins?: [PluginName];
|
|
131
|
-
settings?: PluginSettings;
|
|
132
|
-
rules?: Record<`${PluginName}/${string}`, TSESLint.ClassicConfig.RuleEntry>;
|
|
133
|
-
}
|
|
134
|
-
interface PathGroup {
|
|
135
|
-
pattern: string;
|
|
136
|
-
group: ImportType$1;
|
|
137
|
-
patternOptions?: MinimatchOptions;
|
|
138
|
-
position?: 'before' | 'after';
|
|
139
|
-
}
|
|
140
|
-
type NewLinesOptions = 'always' | 'always-and-inside-groups' | 'ignore' | 'never';
|
|
141
|
-
type NamedTypes = 'mixed' | 'types-first' | 'types-last';
|
|
142
|
-
interface NamedOptions {
|
|
143
|
-
enabled?: boolean;
|
|
144
|
-
import?: boolean;
|
|
145
|
-
export?: boolean;
|
|
146
|
-
require?: boolean;
|
|
147
|
-
cjsExports?: boolean;
|
|
148
|
-
types?: NamedTypes;
|
|
149
|
-
}
|
|
150
|
-
interface AlphabetizeOptions {
|
|
151
|
-
caseInsensitive: boolean;
|
|
152
|
-
order: 'ignore' | 'asc' | 'desc';
|
|
153
|
-
orderImportKind: 'ignore' | 'asc' | 'desc';
|
|
154
|
-
}
|
|
155
|
-
type LiteralNodeValue = string | number | bigint | boolean | RegExp | null;
|
|
156
|
-
interface CjsRequire extends NodeJS.Require {
|
|
157
|
-
<T>(id: string): T;
|
|
158
|
-
}
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/utils/import-type.d.ts
|
|
161
|
-
declare function importType(name: LiteralNodeValue, context: RuleContext): "internal" | "absolute" | "builtin" | "parent" | "index" | "sibling" | "external" | "unknown";
|
|
162
|
-
type ImportType = ReturnType<typeof importType>;
|
|
163
|
-
//#endregion
|
|
164
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/utils/module-visitor.d.ts
|
|
165
|
-
interface ModuleOptions {
|
|
166
|
-
amd?: boolean;
|
|
167
|
-
commonjs?: boolean;
|
|
168
|
-
esmodule?: boolean;
|
|
169
|
-
ignore?: Array<RegExp | string>;
|
|
170
|
-
}
|
|
171
|
-
//#endregion
|
|
172
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/utils/resolve.d.ts
|
|
173
|
-
declare function importXResolverCompat(resolver: LegacyResolver | NewResolver, resolverOptions?: unknown): NewResolver;
|
|
174
|
-
//#endregion
|
|
175
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-unresolved.d.ts
|
|
176
|
-
type Options$25 = ModuleOptions & {
|
|
177
|
-
caseSensitive?: boolean;
|
|
178
|
-
caseSensitiveStrict?: boolean;
|
|
179
|
-
};
|
|
180
|
-
type MessageId$12 = 'unresolved' | 'casingMismatch';
|
|
181
|
-
//#endregion
|
|
182
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/named.d.ts
|
|
183
|
-
type MessageId$11 = 'notFound' | 'notFoundDeep';
|
|
184
|
-
//#endregion
|
|
185
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/namespace.d.ts
|
|
186
|
-
type MessageId$10 = 'noNamesFound' | 'computedReference' | 'namespaceMember' | 'topLevelNames' | 'notFoundInNamespace' | 'notFoundInNamespaceDeep';
|
|
187
|
-
interface Options$24 {
|
|
188
|
-
allowComputed?: boolean;
|
|
189
|
-
}
|
|
190
|
-
//#endregion
|
|
191
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-namespace.d.ts
|
|
192
|
-
interface Options$23 {
|
|
193
|
-
ignore?: string[];
|
|
194
|
-
}
|
|
195
|
-
//#endregion
|
|
196
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/export.d.ts
|
|
197
|
-
type MessageId$9 = 'noNamed' | 'multiDefault' | 'multiNamed';
|
|
198
|
-
//#endregion
|
|
199
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/extensions.d.ts
|
|
200
|
-
declare const modifierValues: readonly ["always", "ignorePackages", "never"];
|
|
201
|
-
type Modifier = (typeof modifierValues)[number];
|
|
202
|
-
type ModifierByFileExtension = Partial<Record<string, Modifier>>;
|
|
203
|
-
interface OptionsItemWithPatternProperty {
|
|
204
|
-
ignorePackages?: boolean;
|
|
205
|
-
checkTypeImports?: boolean;
|
|
206
|
-
pattern: ModifierByFileExtension;
|
|
207
|
-
pathGroupOverrides?: PathGroupOverride[];
|
|
208
|
-
fix?: boolean;
|
|
209
|
-
}
|
|
210
|
-
interface PathGroupOverride {
|
|
211
|
-
pattern: string;
|
|
212
|
-
patternOptions?: Record<string, MinimatchOptions>;
|
|
213
|
-
action: 'enforce' | 'ignore';
|
|
214
|
-
}
|
|
215
|
-
interface OptionsItemWithoutPatternProperty {
|
|
216
|
-
ignorePackages?: boolean;
|
|
217
|
-
checkTypeImports?: boolean;
|
|
218
|
-
pathGroupOverrides?: PathGroupOverride[];
|
|
219
|
-
fix?: boolean;
|
|
220
|
-
}
|
|
221
|
-
type Options$22 = [] | [OptionsItemWithoutPatternProperty] | [OptionsItemWithPatternProperty] | [Modifier] | [Modifier, OptionsItemWithoutPatternProperty] | [Modifier, OptionsItemWithPatternProperty] | [Modifier, ModifierByFileExtension] | [ModifierByFileExtension];
|
|
222
|
-
type MessageId$8 = 'missing' | 'missingKnown' | 'unexpected' | 'addMissing' | 'removeUnexpected';
|
|
223
|
-
//#endregion
|
|
224
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-restricted-paths.d.ts
|
|
225
|
-
interface Options$21 {
|
|
226
|
-
basePath?: string;
|
|
227
|
-
zones?: Array<{
|
|
228
|
-
from: Arrayable<string>;
|
|
229
|
-
target: Arrayable<string>;
|
|
230
|
-
message?: string;
|
|
231
|
-
except?: string[];
|
|
232
|
-
}>;
|
|
233
|
-
}
|
|
234
|
-
type MessageId$7 = 'path' | 'mixedGlob' | 'glob' | 'zone';
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-internal-modules.d.ts
|
|
237
|
-
interface Options$20 {
|
|
238
|
-
allow?: string[];
|
|
239
|
-
forbid?: string[];
|
|
240
|
-
}
|
|
241
|
-
//#endregion
|
|
242
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/group-exports.d.ts
|
|
243
|
-
type MessageId$6 = 'ExportNamedDeclaration' | 'AssignmentExpression';
|
|
244
|
-
//#endregion
|
|
245
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/consistent-type-specifier-style.d.ts
|
|
246
|
-
type Options$19 = 'prefer-inline' | 'prefer-top-level';
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-cycle.d.ts
|
|
249
|
-
interface Options$18 extends ModuleOptions {
|
|
250
|
-
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
251
|
-
ignoreExternal?: boolean;
|
|
252
|
-
maxDepth?: number | '∞';
|
|
253
|
-
}
|
|
254
|
-
type MessageId$5 = 'cycle' | 'cycleSource';
|
|
255
|
-
//#endregion
|
|
256
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-anonymous-default-export.d.ts
|
|
257
|
-
interface Options$17 {
|
|
258
|
-
allowArray?: boolean;
|
|
259
|
-
allowArrowFunction?: boolean;
|
|
260
|
-
allowCallExpression?: boolean;
|
|
261
|
-
allowAnonymousClass?: boolean;
|
|
262
|
-
allowAnonymousFunction?: boolean;
|
|
263
|
-
allowLiteral?: boolean;
|
|
264
|
-
allowObject?: boolean;
|
|
265
|
-
allowNew?: boolean;
|
|
266
|
-
}
|
|
267
|
-
//#endregion
|
|
268
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-rename-default.d.ts
|
|
269
|
-
type Options$16 = ModuleOptions & {
|
|
270
|
-
preventRenamingBindings?: boolean;
|
|
271
|
-
};
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-unused-modules.d.ts
|
|
274
|
-
interface Options$15 {
|
|
275
|
-
src?: string[];
|
|
276
|
-
ignoreExports?: string[];
|
|
277
|
-
missingExports?: true;
|
|
278
|
-
unusedExports?: boolean;
|
|
279
|
-
ignoreUnusedTypeExports?: boolean;
|
|
280
|
-
suppressMissingFileEnumeratorAPIWarning?: boolean;
|
|
281
|
-
}
|
|
282
|
-
//#endregion
|
|
283
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-commonjs.d.ts
|
|
284
|
-
interface NormalizedOptions {
|
|
285
|
-
allowPrimitiveModules?: boolean;
|
|
286
|
-
allowRequire?: boolean;
|
|
287
|
-
allowConditionalRequire?: boolean;
|
|
288
|
-
}
|
|
289
|
-
type Options$14 = 'allow-primitive-modules' | NormalizedOptions;
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-duplicates.d.ts
|
|
292
|
-
interface Options$13 {
|
|
293
|
-
considerQueryString?: boolean;
|
|
294
|
-
'prefer-inline'?: boolean;
|
|
295
|
-
}
|
|
296
|
-
//#endregion
|
|
297
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/first.d.ts
|
|
298
|
-
type Options$12 = 'absolute-first' | 'disable-absolute-first';
|
|
299
|
-
type MessageId$4 = 'absolute' | 'order';
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/max-dependencies.d.ts
|
|
302
|
-
interface Options$11 {
|
|
303
|
-
ignoreTypeImports?: boolean;
|
|
304
|
-
max?: number;
|
|
305
|
-
}
|
|
306
|
-
//#endregion
|
|
307
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-extraneous-dependencies.d.ts
|
|
308
|
-
interface Options$10 {
|
|
309
|
-
packageDir?: string | string[];
|
|
310
|
-
devDependencies?: boolean | string[];
|
|
311
|
-
optionalDependencies?: boolean | string[];
|
|
312
|
-
peerDependencies?: boolean | string[];
|
|
313
|
-
bundledDependencies?: boolean | string[];
|
|
314
|
-
includeInternal?: boolean;
|
|
315
|
-
includeTypes?: boolean;
|
|
316
|
-
whitelist?: string[];
|
|
317
|
-
}
|
|
318
|
-
type MessageId$3 = 'pkgNotFound' | 'pkgUnparsable' | 'devDep' | 'optDep' | 'missing';
|
|
319
|
-
//#endregion
|
|
320
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-nodejs-modules.d.ts
|
|
321
|
-
interface Options$9 {
|
|
322
|
-
allow?: string[];
|
|
323
|
-
}
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/order.d.ts
|
|
326
|
-
interface Options$8 {
|
|
327
|
-
'newlines-between'?: NewLinesOptions;
|
|
328
|
-
'newlines-between-types'?: NewLinesOptions;
|
|
329
|
-
named?: boolean | NamedOptions;
|
|
330
|
-
alphabetize?: Partial<AlphabetizeOptions>;
|
|
331
|
-
consolidateIslands?: 'inside-groups' | 'never';
|
|
332
|
-
distinctGroup?: boolean;
|
|
333
|
-
groups?: ReadonlyArray<Arrayable<ImportType$1>>;
|
|
334
|
-
pathGroupsExcludedImportTypes?: ImportType$1[];
|
|
335
|
-
pathGroups?: PathGroup[];
|
|
336
|
-
sortTypesGroup?: boolean;
|
|
337
|
-
warnOnUnassignedImports?: boolean;
|
|
338
|
-
}
|
|
339
|
-
//#endregion
|
|
340
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/newline-after-import.d.ts
|
|
341
|
-
interface Options$7 {
|
|
342
|
-
count?: number;
|
|
343
|
-
exactCount?: boolean;
|
|
344
|
-
considerComments?: boolean;
|
|
345
|
-
}
|
|
346
|
-
//#endregion
|
|
347
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/prefer-default-export.d.ts
|
|
348
|
-
interface Options$6 {
|
|
349
|
-
target?: 'single' | 'any';
|
|
350
|
-
}
|
|
351
|
-
type MessageId$2 = 'single' | 'any';
|
|
352
|
-
//#endregion
|
|
353
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/prefer-namespace-import.d.ts
|
|
354
|
-
interface Options$5 {
|
|
355
|
-
patterns?: readonly string[];
|
|
356
|
-
}
|
|
357
|
-
//#endregion
|
|
358
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-dynamic-require.d.ts
|
|
359
|
-
interface Options$4 {
|
|
360
|
-
esmodule?: boolean;
|
|
361
|
-
}
|
|
362
|
-
type MessageId$1 = 'import' | 'require';
|
|
363
|
-
//#endregion
|
|
364
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-unassigned-import.d.ts
|
|
365
|
-
interface Options$3 {
|
|
366
|
-
allow?: string[];
|
|
367
|
-
}
|
|
368
|
-
//#endregion
|
|
369
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-useless-path-segments.d.ts
|
|
370
|
-
interface Options$2 extends ModuleOptions {
|
|
371
|
-
noUselessIndex?: boolean;
|
|
372
|
-
}
|
|
373
|
-
//#endregion
|
|
374
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/dynamic-import-chunkname.d.ts
|
|
375
|
-
interface Options$1 {
|
|
376
|
-
allowEmpty?: boolean;
|
|
377
|
-
importFunctions?: readonly string[];
|
|
378
|
-
webpackChunknameFormat?: string;
|
|
379
|
-
}
|
|
380
|
-
type MessageId = 'leadingComment' | 'blockComment' | 'paddedSpaces' | 'webpackComment' | 'chunknameFormat' | 'webpackEagerModeNoChunkName' | 'webpackRemoveEagerMode' | 'webpackRemoveChunkName';
|
|
381
|
-
//#endregion
|
|
382
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/rules/no-import-module-exports.d.ts
|
|
383
|
-
interface Options {
|
|
384
|
-
exceptions?: string[];
|
|
385
|
-
}
|
|
386
|
-
//#endregion
|
|
387
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/node-resolver.d.ts
|
|
388
|
-
type NodeResolver = NewResolver & {
|
|
389
|
-
clearCache: () => void;
|
|
390
|
-
};
|
|
391
|
-
declare function createNodeResolver({ extensions, conditionNames, mainFields, ...restOptions }?: NapiResolveOptions): NodeResolver;
|
|
392
|
-
//#endregion
|
|
393
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-x@4.17.1_patch_hash=2fde63e367ada6ae348459ff5a2b0bbc53a12189dad6a5_d74b68867cd90b11765828cea49cabce/node_modules/eslint-plugin-import-x/lib/index.d.ts
|
|
394
|
-
declare const plugin_: {
|
|
395
|
-
meta: {
|
|
396
|
-
name: string;
|
|
397
|
-
version: string;
|
|
398
|
-
};
|
|
399
|
-
rules: {
|
|
400
|
-
'no-unresolved': TSESLint.RuleModule<MessageId$12, [(Options$25 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
401
|
-
named: TSESLint.RuleModule<MessageId$11, [(ModuleOptions | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
402
|
-
default: TSESLint.RuleModule<"noDefaultExport", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
403
|
-
namespace: TSESLint.RuleModule<MessageId$10, [Options$24], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
404
|
-
'no-namespace': TSESLint.RuleModule<"noNamespace", [(Options$23 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
405
|
-
export: TSESLint.RuleModule<MessageId$9, [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
406
|
-
'no-mutable-exports': TSESLint.RuleModule<"noMutable", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
407
|
-
extensions: TSESLint.RuleModule<MessageId$8, Options$22, ImportXPluginDocs, TSESLint.RuleListener>;
|
|
408
|
-
'no-restricted-paths': TSESLint.RuleModule<MessageId$7, [(Options$21 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
409
|
-
'no-internal-modules': TSESLint.RuleModule<"noAllowed", [(Options$20 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
410
|
-
'group-exports': TSESLint.RuleModule<MessageId$6, [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
411
|
-
'no-relative-packages': TSESLint.RuleModule<"noAllowed", [(ModuleOptions | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
412
|
-
'no-relative-parent-imports': TSESLint.RuleModule<"noAllowed", [(ModuleOptions | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
413
|
-
'consistent-type-specifier-style': TSESLint.RuleModule<"inline" | "topLevel", [(Options$19 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
414
|
-
'no-self-import': TSESLint.RuleModule<"self", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
415
|
-
'no-cycle': TSESLint.RuleModule<MessageId$5, [(Options$18 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
416
|
-
'no-named-default': TSESLint.RuleModule<"default", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
417
|
-
'no-named-as-default': TSESLint.RuleModule<"default", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
418
|
-
'no-named-as-default-member': TSESLint.RuleModule<"member", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
419
|
-
'no-anonymous-default-export': TSESLint.RuleModule<"assign" | "anonymous", [(Options$17 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
420
|
-
'no-rename-default': TSESLint.RuleModule<"renameDefault", [(Options$16 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
421
|
-
'no-unused-modules': TSESLint.RuleModule<"notFound" | "unused", Options$15[], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
422
|
-
'no-commonjs': TSESLint.RuleModule<"import" | "export", [(Options$14 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
423
|
-
'no-amd': TSESLint.RuleModule<"amd", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
424
|
-
'no-duplicates': TSESLint.RuleModule<"duplicate", [(Options$13 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
425
|
-
first: TSESLint.RuleModule<MessageId$4, [(Options$12 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
426
|
-
'max-dependencies': TSESLint.RuleModule<"max", [(Options$11 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
427
|
-
'no-extraneous-dependencies': TSESLint.RuleModule<MessageId$3, [(Options$10 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
428
|
-
'no-absolute-path': TSESLint.RuleModule<"absolute", [(ModuleOptions | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
429
|
-
'no-nodejs-modules': TSESLint.RuleModule<"builtin", [(Options$9 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
430
|
-
'no-webpack-loader-syntax': TSESLint.RuleModule<"unexpected", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
431
|
-
order: TSESLint.RuleModule<"error" | "order" | "noLineWithinGroup" | "noLineBetweenGroups" | "oneLineBetweenGroups" | "oneLineBetweenTheMultiLineImport" | "oneLineBetweenThisMultiLineImport" | "noLineBetweenSingleLineImport", [(Options$8 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
432
|
-
'newline-after-import': TSESLint.RuleModule<"newline", [(Options$7 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
433
|
-
'prefer-default-export': TSESLint.RuleModule<MessageId$2, [(Options$6 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
434
|
-
'prefer-namespace-import': TSESLint.RuleModule<"preferNamespaceImport", [(Options$5 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
435
|
-
'no-default-export': TSESLint.RuleModule<"preferNamed" | "noAliasDefault", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
436
|
-
'no-named-export': TSESLint.RuleModule<"noAllowed", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
437
|
-
'no-dynamic-require': TSESLint.RuleModule<MessageId$1, [(Options$4 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
438
|
-
unambiguous: TSESLint.RuleModule<"module", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
439
|
-
'no-unassigned-import': TSESLint.RuleModule<"unassigned", [(Options$3 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
440
|
-
'no-useless-path-segments': TSESLint.RuleModule<"useless", [(Options$2 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
441
|
-
'dynamic-import-chunkname': TSESLint.RuleModule<MessageId, [(Options$1 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
442
|
-
'no-import-module-exports': TSESLint.RuleModule<"notAllowed", [(Options | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
443
|
-
'no-empty-named-blocks': TSESLint.RuleModule<"emptyNamed" | "unused" | "emptyImport", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
444
|
-
'exports-last': TSESLint.RuleModule<"end", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
445
|
-
'no-deprecated': TSESLint.RuleModule<"deprecated" | "deprecatedDesc", [], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
446
|
-
'imports-first': TSESLint.RuleModule<MessageId$4, [(Options$12 | undefined)?], ImportXPluginDocs, TSESLint.RuleListener>;
|
|
447
|
-
};
|
|
448
|
-
cjsRequire: CjsRequire;
|
|
449
|
-
importXResolverCompat: typeof importXResolverCompat;
|
|
450
|
-
createNodeResolver: typeof createNodeResolver;
|
|
451
|
-
};
|
|
452
|
-
declare const flatConfigs: {
|
|
453
|
-
recommended: Linter.Config<{
|
|
454
|
-
'import-x/no-unresolved': "error";
|
|
455
|
-
'import-x/named': "error";
|
|
456
|
-
'import-x/namespace': "error";
|
|
457
|
-
'import-x/default': "error";
|
|
458
|
-
'import-x/export': "error";
|
|
459
|
-
'import-x/no-named-as-default': "warn";
|
|
460
|
-
'import-x/no-named-as-default-member': "warn";
|
|
461
|
-
'import-x/no-duplicates': "warn";
|
|
462
|
-
}>;
|
|
463
|
-
errors: Linter.Config<{
|
|
464
|
-
'import-x/no-unresolved': 2;
|
|
465
|
-
'import-x/named': 2;
|
|
466
|
-
'import-x/namespace': 2;
|
|
467
|
-
'import-x/default': 2;
|
|
468
|
-
'import-x/export': 2;
|
|
469
|
-
}>;
|
|
470
|
-
warnings: Linter.Config<{
|
|
471
|
-
'import-x/no-named-as-default': 1;
|
|
472
|
-
'import-x/no-named-as-default-member': 1;
|
|
473
|
-
'import-x/no-rename-default': 1;
|
|
474
|
-
'import-x/no-duplicates': 1;
|
|
475
|
-
}>;
|
|
476
|
-
'stage-0': Linter.Config<{
|
|
477
|
-
'import-x/no-deprecated': 1;
|
|
478
|
-
}>;
|
|
479
|
-
react: Linter.Config<{}>;
|
|
480
|
-
'react-native': Linter.Config<{}>;
|
|
481
|
-
electron: Linter.Config<{}>;
|
|
482
|
-
typescript: Linter.Config<{
|
|
483
|
-
'import-x/named': "off";
|
|
484
|
-
}>;
|
|
485
|
-
};
|
|
486
|
-
declare const configs: {
|
|
487
|
-
recommended: {
|
|
488
|
-
plugins: ["import-x"];
|
|
489
|
-
rules: {
|
|
490
|
-
'import-x/no-unresolved': "error";
|
|
491
|
-
'import-x/named': "error";
|
|
492
|
-
'import-x/namespace': "error";
|
|
493
|
-
'import-x/default': "error";
|
|
494
|
-
'import-x/export': "error";
|
|
495
|
-
'import-x/no-named-as-default': "warn";
|
|
496
|
-
'import-x/no-named-as-default-member': "warn";
|
|
497
|
-
'import-x/no-duplicates': "warn";
|
|
498
|
-
};
|
|
499
|
-
parserOptions: {
|
|
500
|
-
sourceType: "module";
|
|
501
|
-
ecmaVersion: 2018;
|
|
502
|
-
};
|
|
503
|
-
};
|
|
504
|
-
errors: {
|
|
505
|
-
plugins: ["import-x"];
|
|
506
|
-
rules: {
|
|
507
|
-
'import-x/no-unresolved': 2;
|
|
508
|
-
'import-x/named': 2;
|
|
509
|
-
'import-x/namespace': 2;
|
|
510
|
-
'import-x/default': 2;
|
|
511
|
-
'import-x/export': 2;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
warnings: {
|
|
515
|
-
plugins: ["import-x"];
|
|
516
|
-
rules: {
|
|
517
|
-
'import-x/no-named-as-default': 1;
|
|
518
|
-
'import-x/no-named-as-default-member': 1;
|
|
519
|
-
'import-x/no-rename-default': 1;
|
|
520
|
-
'import-x/no-duplicates': 1;
|
|
521
|
-
};
|
|
522
|
-
};
|
|
523
|
-
'stage-0': PluginConfig;
|
|
524
|
-
react: {
|
|
525
|
-
settings: {
|
|
526
|
-
'import-x/extensions': (".js" | ".jsx")[];
|
|
527
|
-
};
|
|
528
|
-
parserOptions: {
|
|
529
|
-
ecmaFeatures: {
|
|
530
|
-
jsx: true;
|
|
531
|
-
};
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
'react-native': {
|
|
535
|
-
settings: {
|
|
536
|
-
'import-x/resolver': {
|
|
537
|
-
node: {
|
|
538
|
-
extensions: string[];
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
};
|
|
543
|
-
electron: {
|
|
544
|
-
settings: {
|
|
545
|
-
'import-x/core-modules': string[];
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
typescript: {
|
|
549
|
-
settings: {
|
|
550
|
-
'import-x/extensions': readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
551
|
-
'import-x/external-module-folders': string[];
|
|
552
|
-
'import-x/parsers': {
|
|
553
|
-
'@typescript-eslint/parser': (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
554
|
-
};
|
|
555
|
-
'import-x/resolver': {
|
|
556
|
-
typescript: true;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
rules: {
|
|
560
|
-
'import-x/named': "off";
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
'flat/recommended': Linter.Config<{
|
|
564
|
-
'import-x/no-unresolved': "error";
|
|
565
|
-
'import-x/named': "error";
|
|
566
|
-
'import-x/namespace': "error";
|
|
567
|
-
'import-x/default': "error";
|
|
568
|
-
'import-x/export': "error";
|
|
569
|
-
'import-x/no-named-as-default': "warn";
|
|
570
|
-
'import-x/no-named-as-default-member': "warn";
|
|
571
|
-
'import-x/no-duplicates': "warn";
|
|
572
|
-
}>;
|
|
573
|
-
'flat/errors': Linter.Config<{
|
|
574
|
-
'import-x/no-unresolved': 2;
|
|
575
|
-
'import-x/named': 2;
|
|
576
|
-
'import-x/namespace': 2;
|
|
577
|
-
'import-x/default': 2;
|
|
578
|
-
'import-x/export': 2;
|
|
579
|
-
}>;
|
|
580
|
-
'flat/warnings': Linter.Config<{
|
|
581
|
-
'import-x/no-named-as-default': 1;
|
|
582
|
-
'import-x/no-named-as-default-member': 1;
|
|
583
|
-
'import-x/no-rename-default': 1;
|
|
584
|
-
'import-x/no-duplicates': 1;
|
|
585
|
-
}>;
|
|
586
|
-
'flat/stage-0': Linter.Config<{
|
|
587
|
-
'import-x/no-deprecated': 1;
|
|
588
|
-
}>;
|
|
589
|
-
'flat/react': Linter.Config<{}>;
|
|
590
|
-
'flat/react-native': Linter.Config<{}>;
|
|
591
|
-
'flat/electron': Linter.Config<{}>;
|
|
592
|
-
'flat/typescript': Linter.Config<{
|
|
593
|
-
'import-x/named': "off";
|
|
594
|
-
}>;
|
|
595
|
-
};
|
|
596
|
-
declare const plugin: typeof plugin_ & ESLint.Plugin & {
|
|
597
|
-
flatConfigs: typeof flatConfigs;
|
|
598
|
-
configs: typeof configs;
|
|
599
|
-
};
|
|
600
|
-
//#endregion
|
|
601
|
-
//#region ../../node_modules/.pnpm/eslint-plugin-import-zod@1.2.1_@typescript-eslint+utils@8.66.0_eslint@10.8.0_jiti@2.7.0_249816da6650368ff5a8e0a19476ba2a/node_modules/eslint-plugin-import-zod/dist/index.d.mts
|
|
602
|
-
//#region src/index.d.ts
|
|
603
|
-
declare const importZod: {
|
|
604
|
-
meta: {
|
|
605
|
-
name: string;
|
|
606
|
-
version: string;
|
|
607
|
-
};
|
|
608
|
-
rules: {
|
|
609
|
-
"prefer-zod-namespace": NonNullable<ESLint.Plugin["rules"]>[string];
|
|
610
|
-
};
|
|
611
|
-
configs: {
|
|
612
|
-
recommended: Linter.Config[];
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
//#endregion
|
|
616
|
-
export { pluginCspell, plugin as pluginImport, importZod as pluginImportZod, pluginNoOnlyTests, pluginNode, pluginNx, pluginPerfectionist, pluginPrettier, pluginSecrets, pluginUnicorn, pluginUnusedImports, pluginVitest };
|
package/dist/plugins.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as pluginPerfectionist, c as pluginUnicorn, d as dist_default, f as plugin, i as pluginNx, l as pluginUnusedImports, n as pluginNoOnlyTests, o as pluginPrettier, r as pluginNode, s as pluginSecrets, t as pluginCspell, u as pluginVitest } from "./plugins-CZWNS7l4.mjs";
|
|
2
|
-
export { pluginCspell, plugin as pluginImport, dist_default as pluginImportZod, pluginNoOnlyTests, pluginNode, pluginNx, pluginPerfectionist, pluginPrettier, pluginSecrets, pluginUnicorn, pluginUnusedImports, pluginVitest };
|
package/dist/pnpm-Cp9VzsCv.d.mts
DELETED