@jimmy.codes/eslint-config 3.8.1 → 3.9.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/dist/index.cjs +1 -1
- package/dist/index.d.cts +454 -59
- package/dist/index.d.mts +454 -59
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import * as eslint_plugin_testing_library from 'eslint-plugin-testing-library';
|
|
2
|
-
import * as eslint_plugin_jest_dom from 'eslint-plugin-jest-dom';
|
|
3
|
-
import * as eslint_plugin_react_refresh from 'eslint-plugin-react-refresh';
|
|
4
|
-
import * as eslint_plugin_react_hooks from 'eslint-plugin-react-hooks';
|
|
5
1
|
import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
6
2
|
import * as eslint_plugin_n from 'eslint-plugin-n';
|
|
7
|
-
import * as
|
|
3
|
+
import * as eslint_plugin_import_x_utils_module_visitor_js from 'eslint-plugin-import-x/utils/module-visitor.js';
|
|
4
|
+
import * as eslint_plugin_import_x_types_js from 'eslint-plugin-import-x/types.js';
|
|
5
|
+
import * as eslint_plugin_astro from 'eslint-plugin-astro';
|
|
8
6
|
import * as eslint from 'eslint';
|
|
9
7
|
import { Linter } from 'eslint';
|
|
10
8
|
import * as astro_eslint_parser from 'astro-eslint-parser';
|
|
@@ -9862,7 +9860,7 @@ interface Options {
|
|
|
9862
9860
|
typescript?: boolean | TypescriptOptions;
|
|
9863
9861
|
}
|
|
9864
9862
|
|
|
9865
|
-
declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, testing, typescript, }?: Options, ...moreConfigs: Linter.Config[] | TypedConfigItem[]) => (TypedConfigItem | Linter.Config<Linter.RulesRecord> | _typescript_eslint_utils_ts_eslint.FlatConfig.Config | {
|
|
9863
|
+
declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, testing, typescript, }?: Options, ...moreConfigs: Linter.Config[] | TypedConfigItem[]) => Promise<(TypedConfigItem | Linter.Config<Linter.RulesRecord> | _typescript_eslint_utils_ts_eslint.FlatConfig.Config | {
|
|
9866
9864
|
files: string[];
|
|
9867
9865
|
languageOptions: {
|
|
9868
9866
|
globals: {
|
|
@@ -9943,7 +9941,16 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
9943
9941
|
WritableStreamDefaultController: false;
|
|
9944
9942
|
WritableStreamDefaultWriter: false;
|
|
9945
9943
|
};
|
|
9946
|
-
parser:
|
|
9944
|
+
parser: {
|
|
9945
|
+
default: typeof astro_eslint_parser;
|
|
9946
|
+
ParseError: typeof astro_eslint_parser.ParseError;
|
|
9947
|
+
VisitorKeys: eslint.SourceCode.VisitorKeys;
|
|
9948
|
+
meta: typeof astro_eslint_parser.meta;
|
|
9949
|
+
name: string;
|
|
9950
|
+
parseForESLint: typeof astro_eslint_parser.parseForESLint;
|
|
9951
|
+
parseTemplate: typeof astro_eslint_parser.parseTemplate;
|
|
9952
|
+
traverseNodes: typeof astro_eslint_parser.traverseNodes;
|
|
9953
|
+
};
|
|
9947
9954
|
parserOptions: {
|
|
9948
9955
|
extraFileExtensions: string[];
|
|
9949
9956
|
parser: _typescript_eslint_utils_ts_eslint.Parser.LooseParserModule;
|
|
@@ -9952,42 +9959,12 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
9952
9959
|
};
|
|
9953
9960
|
name: string;
|
|
9954
9961
|
plugins: {
|
|
9955
|
-
astro:
|
|
9956
|
-
|
|
9957
|
-
name: string;
|
|
9958
|
-
version: string;
|
|
9959
|
-
};
|
|
9960
|
-
environments: {
|
|
9961
|
-
astro: {
|
|
9962
|
-
globals: {
|
|
9963
|
-
Astro: boolean;
|
|
9964
|
-
Fragment: boolean;
|
|
9965
|
-
};
|
|
9966
|
-
};
|
|
9967
|
-
};
|
|
9968
|
-
rules: {
|
|
9969
|
-
[key: string]: eslint.Rule.RuleModule;
|
|
9970
|
-
};
|
|
9971
|
-
processors: {
|
|
9972
|
-
".astro": Linter.Processor<string | Linter.ProcessorFile>;
|
|
9973
|
-
astro: Linter.Processor<string | Linter.ProcessorFile>;
|
|
9974
|
-
"client-side-ts": Linter.Processor<string | Linter.ProcessorFile>;
|
|
9975
|
-
};
|
|
9976
|
-
} & {
|
|
9962
|
+
astro: typeof eslint_plugin_astro;
|
|
9963
|
+
"jsx-a11y": {
|
|
9977
9964
|
configs: {
|
|
9978
|
-
|
|
9979
|
-
recommended: Linter.Config[];
|
|
9980
|
-
all: Linter.Config[];
|
|
9981
|
-
"jsx-a11y-strict": Linter.Config[];
|
|
9982
|
-
"jsx-a11y-recommended": Linter.Config[];
|
|
9983
|
-
"flat/base": Linter.Config[];
|
|
9984
|
-
"flat/recommended": Linter.Config[];
|
|
9985
|
-
"flat/all": Linter.Config[];
|
|
9986
|
-
"flat/jsx-a11y-strict": Linter.Config[];
|
|
9987
|
-
"flat/jsx-a11y-recommended": Linter.Config[];
|
|
9965
|
+
recommended: Linter.Config<Linter.RulesRecord>;
|
|
9988
9966
|
};
|
|
9989
9967
|
};
|
|
9990
|
-
"jsx-a11y": typeof eslint_plugin_jsx_a11y;
|
|
9991
9968
|
};
|
|
9992
9969
|
processor: string;
|
|
9993
9970
|
rules: {
|
|
@@ -10069,15 +10046,414 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
10069
10046
|
};
|
|
10070
10047
|
};
|
|
10071
10048
|
} | {
|
|
10072
|
-
languageOptions: {
|
|
10073
|
-
parserOptions: {
|
|
10074
|
-
ecmaVersion: "latest";
|
|
10075
|
-
sourceType: "module";
|
|
10076
|
-
};
|
|
10077
|
-
};
|
|
10078
10049
|
name: string;
|
|
10079
10050
|
plugins: {
|
|
10080
|
-
"import-x":
|
|
10051
|
+
"import-x": {
|
|
10052
|
+
configs: {
|
|
10053
|
+
recommended: {
|
|
10054
|
+
plugins: ["import-x"];
|
|
10055
|
+
rules: {
|
|
10056
|
+
"import-x/no-unresolved": "error";
|
|
10057
|
+
"import-x/named": "error";
|
|
10058
|
+
"import-x/namespace": "error";
|
|
10059
|
+
"import-x/default": "error";
|
|
10060
|
+
"import-x/export": "error";
|
|
10061
|
+
"import-x/no-named-as-default": "warn";
|
|
10062
|
+
"import-x/no-named-as-default-member": "warn";
|
|
10063
|
+
"import-x/no-duplicates": "warn";
|
|
10064
|
+
};
|
|
10065
|
+
parserOptions: {
|
|
10066
|
+
sourceType: "module";
|
|
10067
|
+
ecmaVersion: 2018;
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
10070
|
+
errors: {
|
|
10071
|
+
plugins: ["import-x"];
|
|
10072
|
+
rules: {
|
|
10073
|
+
"import-x/no-unresolved": 2;
|
|
10074
|
+
"import-x/named": 2;
|
|
10075
|
+
"import-x/namespace": 2;
|
|
10076
|
+
"import-x/default": 2;
|
|
10077
|
+
"import-x/export": 2;
|
|
10078
|
+
};
|
|
10079
|
+
};
|
|
10080
|
+
warnings: {
|
|
10081
|
+
plugins: ["import-x"];
|
|
10082
|
+
rules: {
|
|
10083
|
+
"import-x/no-named-as-default": 1;
|
|
10084
|
+
"import-x/no-named-as-default-member": 1;
|
|
10085
|
+
"import-x/no-rename-default": 1;
|
|
10086
|
+
"import-x/no-duplicates": 1;
|
|
10087
|
+
};
|
|
10088
|
+
};
|
|
10089
|
+
"stage-0": eslint_plugin_import_x_types_js.PluginConfig;
|
|
10090
|
+
react: {
|
|
10091
|
+
settings: {
|
|
10092
|
+
"import-x/extensions": (".js" | ".jsx")[];
|
|
10093
|
+
};
|
|
10094
|
+
languageOptions: {
|
|
10095
|
+
parserOptions: {
|
|
10096
|
+
ecmaFeatures: {
|
|
10097
|
+
jsx: true;
|
|
10098
|
+
};
|
|
10099
|
+
};
|
|
10100
|
+
};
|
|
10101
|
+
};
|
|
10102
|
+
"react-native": {
|
|
10103
|
+
settings: {
|
|
10104
|
+
"import-x/resolver": {
|
|
10105
|
+
node: {
|
|
10106
|
+
extensions: string[];
|
|
10107
|
+
};
|
|
10108
|
+
};
|
|
10109
|
+
};
|
|
10110
|
+
};
|
|
10111
|
+
electron: {
|
|
10112
|
+
settings: {
|
|
10113
|
+
"import-x/core-modules": string[];
|
|
10114
|
+
};
|
|
10115
|
+
};
|
|
10116
|
+
typescript: {
|
|
10117
|
+
settings: {
|
|
10118
|
+
"import-x/extensions": readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
10119
|
+
"import-x/external-module-folders": string[];
|
|
10120
|
+
"import-x/parsers": {
|
|
10121
|
+
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
10122
|
+
};
|
|
10123
|
+
"import-x/resolver": {
|
|
10124
|
+
typescript: true;
|
|
10125
|
+
};
|
|
10126
|
+
};
|
|
10127
|
+
rules: {
|
|
10128
|
+
"import-x/named": "off";
|
|
10129
|
+
};
|
|
10130
|
+
};
|
|
10131
|
+
};
|
|
10132
|
+
flatConfigs: {
|
|
10133
|
+
recommended: eslint_plugin_import_x_types_js.PluginFlatConfig;
|
|
10134
|
+
errors: eslint_plugin_import_x_types_js.PluginFlatConfig;
|
|
10135
|
+
warnings: eslint_plugin_import_x_types_js.PluginFlatConfig;
|
|
10136
|
+
"stage-0": eslint_plugin_import_x_types_js.PluginFlatConfig;
|
|
10137
|
+
react: {
|
|
10138
|
+
settings: {
|
|
10139
|
+
"import-x/extensions": (".js" | ".mjs" | ".cjs" | ".jsx")[];
|
|
10140
|
+
};
|
|
10141
|
+
languageOptions: {
|
|
10142
|
+
parserOptions: {
|
|
10143
|
+
ecmaFeatures: {
|
|
10144
|
+
jsx: true;
|
|
10145
|
+
};
|
|
10146
|
+
};
|
|
10147
|
+
};
|
|
10148
|
+
};
|
|
10149
|
+
"react-native": {
|
|
10150
|
+
settings: {
|
|
10151
|
+
"import-x/resolver": {
|
|
10152
|
+
node: {
|
|
10153
|
+
extensions: string[];
|
|
10154
|
+
};
|
|
10155
|
+
};
|
|
10156
|
+
};
|
|
10157
|
+
};
|
|
10158
|
+
electron: {
|
|
10159
|
+
settings: {
|
|
10160
|
+
"import-x/core-modules": string[];
|
|
10161
|
+
};
|
|
10162
|
+
};
|
|
10163
|
+
typescript: {
|
|
10164
|
+
settings: {
|
|
10165
|
+
"import-x/extensions": readonly [".ts", ".tsx", ".cts", ".mts", ".js", ".jsx", ".cjs", ".mjs"];
|
|
10166
|
+
"import-x/external-module-folders": string[];
|
|
10167
|
+
"import-x/parsers": {
|
|
10168
|
+
"@typescript-eslint/parser": (".ts" | ".tsx" | ".cts" | ".mts")[];
|
|
10169
|
+
};
|
|
10170
|
+
"import-x/resolver": {
|
|
10171
|
+
typescript: true;
|
|
10172
|
+
};
|
|
10173
|
+
};
|
|
10174
|
+
rules: {
|
|
10175
|
+
"import-x/named": "off";
|
|
10176
|
+
};
|
|
10177
|
+
};
|
|
10178
|
+
};
|
|
10179
|
+
rules: {
|
|
10180
|
+
"no-unresolved": _typescript_eslint_utils_ts_eslint.RuleModule<"unresolved" | "casingMismatch", [((eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions & {
|
|
10181
|
+
caseSensitive?: boolean;
|
|
10182
|
+
caseSensitiveStrict?: boolean;
|
|
10183
|
+
}) | undefined)?], {
|
|
10184
|
+
category?: string;
|
|
10185
|
+
recommended?: true;
|
|
10186
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10187
|
+
named: _typescript_eslint_utils_ts_eslint.RuleModule<"notFound" | "notFoundDeep", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
10188
|
+
category?: string;
|
|
10189
|
+
recommended?: true;
|
|
10190
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10191
|
+
default: _typescript_eslint_utils_ts_eslint.RuleModule<"noDefaultExport", [], {
|
|
10192
|
+
category?: string;
|
|
10193
|
+
recommended?: true;
|
|
10194
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10195
|
+
namespace: _typescript_eslint_utils_ts_eslint.RuleModule<"noNamesFound" | "computedReference" | "namespaceMember" | "topLevelNames" | "notFoundInNamespace", [{
|
|
10196
|
+
allowComputed?: boolean;
|
|
10197
|
+
}], {
|
|
10198
|
+
category?: string;
|
|
10199
|
+
recommended?: true;
|
|
10200
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10201
|
+
"no-namespace": _typescript_eslint_utils_ts_eslint.RuleModule<"noNamespace", [({
|
|
10202
|
+
ignore?: string[];
|
|
10203
|
+
} | undefined)?], {
|
|
10204
|
+
category?: string;
|
|
10205
|
+
recommended?: true;
|
|
10206
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10207
|
+
export: _typescript_eslint_utils_ts_eslint.RuleModule<"noNamed" | "multiDefault" | "multiNamed", [], {
|
|
10208
|
+
category?: string;
|
|
10209
|
+
recommended?: true;
|
|
10210
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10211
|
+
"no-mutable-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"noMutable", [], {
|
|
10212
|
+
category?: string;
|
|
10213
|
+
recommended?: true;
|
|
10214
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10215
|
+
extensions: _typescript_eslint_utils_ts_eslint.RuleModule<"missing" | "unexpected", (string | {
|
|
10216
|
+
defaultConfig?: string;
|
|
10217
|
+
pattern?: Record<eslint_plugin_import_x_types_js.FileExtension, string>;
|
|
10218
|
+
ignorePackages?: boolean;
|
|
10219
|
+
checkTypeImports?: boolean;
|
|
10220
|
+
})[], {
|
|
10221
|
+
category?: string;
|
|
10222
|
+
recommended?: true;
|
|
10223
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10224
|
+
"no-restricted-paths": _typescript_eslint_utils_ts_eslint.RuleModule<"path" | "mixedGlob" | "glob" | "zone", [({
|
|
10225
|
+
basePath?: string;
|
|
10226
|
+
zones?: Array<{
|
|
10227
|
+
from: eslint_plugin_import_x_types_js.Arrayable<string>;
|
|
10228
|
+
target: eslint_plugin_import_x_types_js.Arrayable<string>;
|
|
10229
|
+
message?: string;
|
|
10230
|
+
except?: string[];
|
|
10231
|
+
}>;
|
|
10232
|
+
} | undefined)?], {
|
|
10233
|
+
category?: string;
|
|
10234
|
+
recommended?: true;
|
|
10235
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10236
|
+
"no-internal-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [({
|
|
10237
|
+
allow?: string[];
|
|
10238
|
+
forbid?: string[];
|
|
10239
|
+
} | undefined)?], {
|
|
10240
|
+
category?: string;
|
|
10241
|
+
recommended?: true;
|
|
10242
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10243
|
+
"group-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"ExportNamedDeclaration" | "AssignmentExpression", [], {
|
|
10244
|
+
category?: string;
|
|
10245
|
+
recommended?: true;
|
|
10246
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10247
|
+
"no-relative-packages": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
10248
|
+
category?: string;
|
|
10249
|
+
recommended?: true;
|
|
10250
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10251
|
+
"no-relative-parent-imports": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
10252
|
+
category?: string;
|
|
10253
|
+
recommended?: true;
|
|
10254
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10255
|
+
"consistent-type-specifier-style": _typescript_eslint_utils_ts_eslint.RuleModule<"inline" | "topLevel", [(("prefer-inline" | "prefer-top-level") | undefined)?], {
|
|
10256
|
+
category?: string;
|
|
10257
|
+
recommended?: true;
|
|
10258
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10259
|
+
"no-self-import": _typescript_eslint_utils_ts_eslint.RuleModule<"self", [], {
|
|
10260
|
+
category?: string;
|
|
10261
|
+
recommended?: true;
|
|
10262
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10263
|
+
"no-cycle": _typescript_eslint_utils_ts_eslint.RuleModule<"cycle", [(({
|
|
10264
|
+
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
10265
|
+
ignoreExternal?: boolean;
|
|
10266
|
+
maxDepth?: number;
|
|
10267
|
+
} & eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions) | undefined)?], {
|
|
10268
|
+
category?: string;
|
|
10269
|
+
recommended?: true;
|
|
10270
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10271
|
+
"no-named-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], {
|
|
10272
|
+
category?: string;
|
|
10273
|
+
recommended?: true;
|
|
10274
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10275
|
+
"no-named-as-default": _typescript_eslint_utils_ts_eslint.RuleModule<"default", [], {
|
|
10276
|
+
category?: string;
|
|
10277
|
+
recommended?: true;
|
|
10278
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10279
|
+
"no-named-as-default-member": _typescript_eslint_utils_ts_eslint.RuleModule<"member", [], {
|
|
10280
|
+
category?: string;
|
|
10281
|
+
recommended?: true;
|
|
10282
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10283
|
+
"no-anonymous-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"assign" | "anonymous", [({
|
|
10284
|
+
allowArray?: boolean;
|
|
10285
|
+
allowArrowFunction?: boolean;
|
|
10286
|
+
allowCallExpression?: boolean;
|
|
10287
|
+
allowAnonymousClass?: boolean;
|
|
10288
|
+
allowAnonymousFunction?: boolean;
|
|
10289
|
+
allowLiteral?: boolean;
|
|
10290
|
+
allowObject?: boolean;
|
|
10291
|
+
allowNew?: boolean;
|
|
10292
|
+
} | undefined)?], {
|
|
10293
|
+
category?: string;
|
|
10294
|
+
recommended?: true;
|
|
10295
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10296
|
+
"no-rename-default": _typescript_eslint_utils_ts_eslint.RuleModule<"renameDefault", [((eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions & {
|
|
10297
|
+
preventRenamingBindings?: boolean;
|
|
10298
|
+
}) | undefined)?], {
|
|
10299
|
+
category?: string;
|
|
10300
|
+
recommended?: true;
|
|
10301
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10302
|
+
"no-unused-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"notFound" | "unused", {
|
|
10303
|
+
src?: string[];
|
|
10304
|
+
ignoreExports?: string[];
|
|
10305
|
+
missingExports?: string[];
|
|
10306
|
+
unusedExports?: boolean;
|
|
10307
|
+
ignoreUnusedTypeExports?: boolean;
|
|
10308
|
+
}[], {
|
|
10309
|
+
category?: string;
|
|
10310
|
+
recommended?: true;
|
|
10311
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10312
|
+
"no-commonjs": _typescript_eslint_utils_ts_eslint.RuleModule<"import" | "export", [(({
|
|
10313
|
+
allowPrimitiveModules?: boolean;
|
|
10314
|
+
allowRequire?: boolean;
|
|
10315
|
+
allowConditionalRequire?: boolean;
|
|
10316
|
+
} | "allow-primitive-modules") | undefined)?], {
|
|
10317
|
+
category?: string;
|
|
10318
|
+
recommended?: true;
|
|
10319
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10320
|
+
"no-amd": _typescript_eslint_utils_ts_eslint.RuleModule<"amd", [], {
|
|
10321
|
+
category?: string;
|
|
10322
|
+
recommended?: true;
|
|
10323
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10324
|
+
"no-duplicates": _typescript_eslint_utils_ts_eslint.RuleModule<"duplicate", [({
|
|
10325
|
+
considerQueryString?: boolean;
|
|
10326
|
+
"prefer-inline"?: boolean;
|
|
10327
|
+
} | undefined)?], {
|
|
10328
|
+
category?: string;
|
|
10329
|
+
recommended?: true;
|
|
10330
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10331
|
+
first: _typescript_eslint_utils_ts_eslint.RuleModule<"absolute" | "order", [("absolute-first" | undefined)?], {
|
|
10332
|
+
category?: string;
|
|
10333
|
+
recommended?: true;
|
|
10334
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10335
|
+
"max-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<"max", [({
|
|
10336
|
+
ignoreTypeImports?: boolean;
|
|
10337
|
+
max?: number;
|
|
10338
|
+
} | undefined)?], {
|
|
10339
|
+
category?: string;
|
|
10340
|
+
recommended?: true;
|
|
10341
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10342
|
+
"no-extraneous-dependencies": _typescript_eslint_utils_ts_eslint.RuleModule<"missing" | "pkgNotFound" | "pkgUnparsable" | "devDep" | "optDep", [({
|
|
10343
|
+
packageDir?: string | string[];
|
|
10344
|
+
devDependencies?: boolean;
|
|
10345
|
+
optionalDependencies?: boolean;
|
|
10346
|
+
peerDependencies?: boolean;
|
|
10347
|
+
bundledDependencies?: boolean;
|
|
10348
|
+
includeInternal?: boolean;
|
|
10349
|
+
includeTypes?: boolean;
|
|
10350
|
+
whitelist?: string[];
|
|
10351
|
+
} | undefined)?], {
|
|
10352
|
+
category?: string;
|
|
10353
|
+
recommended?: true;
|
|
10354
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10355
|
+
"no-absolute-path": _typescript_eslint_utils_ts_eslint.RuleModule<"absolute", [(eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions | undefined)?], {
|
|
10356
|
+
category?: string;
|
|
10357
|
+
recommended?: true;
|
|
10358
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10359
|
+
"no-nodejs-modules": _typescript_eslint_utils_ts_eslint.RuleModule<"builtin", [({
|
|
10360
|
+
allow?: string[];
|
|
10361
|
+
} | undefined)?], {
|
|
10362
|
+
category?: string;
|
|
10363
|
+
recommended?: true;
|
|
10364
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10365
|
+
"no-webpack-loader-syntax": _typescript_eslint_utils_ts_eslint.RuleModule<"unexpected", [], {
|
|
10366
|
+
category?: string;
|
|
10367
|
+
recommended?: true;
|
|
10368
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10369
|
+
order: _typescript_eslint_utils_ts_eslint.RuleModule<"error" | "order" | "noLineWithinGroup" | "noLineBetweenGroups" | "oneLineBetweenGroups", [({
|
|
10370
|
+
"newlines-between"?: "always" | "always-and-inside-groups" | "ignore" | "never";
|
|
10371
|
+
alphabetize?: Partial<eslint_plugin_import_x_types_js.AlphabetizeOptions>;
|
|
10372
|
+
distinctGroup?: boolean;
|
|
10373
|
+
groups?: ReadonlyArray<eslint_plugin_import_x_types_js.Arrayable<eslint_plugin_import_x_types_js.ImportType>>;
|
|
10374
|
+
pathGroupsExcludedImportTypes?: eslint_plugin_import_x_types_js.ImportType[];
|
|
10375
|
+
pathGroups?: eslint_plugin_import_x_types_js.PathGroup[];
|
|
10376
|
+
warnOnUnassignedImports?: boolean;
|
|
10377
|
+
} | undefined)?], {
|
|
10378
|
+
category?: string;
|
|
10379
|
+
recommended?: true;
|
|
10380
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10381
|
+
"newline-after-import": _typescript_eslint_utils_ts_eslint.RuleModule<"newline", [({
|
|
10382
|
+
count?: number;
|
|
10383
|
+
exactCount?: boolean;
|
|
10384
|
+
considerComments?: boolean;
|
|
10385
|
+
} | undefined)?], {
|
|
10386
|
+
category?: string;
|
|
10387
|
+
recommended?: true;
|
|
10388
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10389
|
+
"prefer-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"any" | "single", [({
|
|
10390
|
+
target?: "single" | "any";
|
|
10391
|
+
} | undefined)?], {
|
|
10392
|
+
category?: string;
|
|
10393
|
+
recommended?: true;
|
|
10394
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10395
|
+
"no-default-export": _typescript_eslint_utils_ts_eslint.RuleModule<"preferNamed" | "noAliasDefault", [], {
|
|
10396
|
+
category?: string;
|
|
10397
|
+
recommended?: true;
|
|
10398
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10399
|
+
"no-named-export": _typescript_eslint_utils_ts_eslint.RuleModule<"noAllowed", [], {
|
|
10400
|
+
category?: string;
|
|
10401
|
+
recommended?: true;
|
|
10402
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10403
|
+
"no-dynamic-require": _typescript_eslint_utils_ts_eslint.RuleModule<"import" | "require", [({
|
|
10404
|
+
esmodule?: boolean;
|
|
10405
|
+
} | undefined)?], {
|
|
10406
|
+
category?: string;
|
|
10407
|
+
recommended?: true;
|
|
10408
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10409
|
+
unambiguous: _typescript_eslint_utils_ts_eslint.RuleModule<"module", [], {
|
|
10410
|
+
category?: string;
|
|
10411
|
+
recommended?: true;
|
|
10412
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10413
|
+
"no-unassigned-import": _typescript_eslint_utils_ts_eslint.RuleModule<"unassigned", [({
|
|
10414
|
+
allow?: string[];
|
|
10415
|
+
} | undefined)?], {
|
|
10416
|
+
category?: string;
|
|
10417
|
+
recommended?: true;
|
|
10418
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10419
|
+
"no-useless-path-segments": _typescript_eslint_utils_ts_eslint.RuleModule<"useless", [((eslint_plugin_import_x_utils_module_visitor_js.ModuleOptions & {
|
|
10420
|
+
noUselessIndex?: boolean;
|
|
10421
|
+
}) | undefined)?], {
|
|
10422
|
+
category?: string;
|
|
10423
|
+
recommended?: true;
|
|
10424
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10425
|
+
"dynamic-import-chunkname": _typescript_eslint_utils_ts_eslint.RuleModule<"leadingComment" | "blockComment" | "paddedSpaces" | "webpackComment" | "chunknameFormat" | "webpackEagerModeNoChunkName" | "webpackRemoveEagerMode" | "webpackRemoveChunkName", [({
|
|
10426
|
+
allowEmpty?: boolean;
|
|
10427
|
+
importFunctions?: readonly string[];
|
|
10428
|
+
webpackChunknameFormat?: string;
|
|
10429
|
+
} | undefined)?], {
|
|
10430
|
+
category?: string;
|
|
10431
|
+
recommended?: true;
|
|
10432
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10433
|
+
"no-import-module-exports": _typescript_eslint_utils_ts_eslint.RuleModule<"notAllowed", [({
|
|
10434
|
+
exceptions?: string[];
|
|
10435
|
+
} | undefined)?], {
|
|
10436
|
+
category?: string;
|
|
10437
|
+
recommended?: true;
|
|
10438
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10439
|
+
"no-empty-named-blocks": _typescript_eslint_utils_ts_eslint.RuleModule<"emptyNamed" | "unused" | "emptyImport", [], {
|
|
10440
|
+
category?: string;
|
|
10441
|
+
recommended?: true;
|
|
10442
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10443
|
+
"exports-last": _typescript_eslint_utils_ts_eslint.RuleModule<"end", [], {
|
|
10444
|
+
category?: string;
|
|
10445
|
+
recommended?: true;
|
|
10446
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10447
|
+
"no-deprecated": _typescript_eslint_utils_ts_eslint.RuleModule<"deprecated", [], {
|
|
10448
|
+
category?: string;
|
|
10449
|
+
recommended?: true;
|
|
10450
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10451
|
+
"imports-first": _typescript_eslint_utils_ts_eslint.RuleModule<"absolute" | "order", [("absolute-first" | undefined)?], {
|
|
10452
|
+
category?: string;
|
|
10453
|
+
recommended?: true;
|
|
10454
|
+
}, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
10455
|
+
};
|
|
10456
|
+
};
|
|
10081
10457
|
n: eslint.ESLint.Plugin & {
|
|
10082
10458
|
configs: eslint_plugin_n.Configs;
|
|
10083
10459
|
};
|
|
@@ -10105,11 +10481,6 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
10105
10481
|
'import-x/default': "error";
|
|
10106
10482
|
'import-x/export': "error";
|
|
10107
10483
|
};
|
|
10108
|
-
settings: {
|
|
10109
|
-
"import-x/parsers": {
|
|
10110
|
-
espree: string[];
|
|
10111
|
-
};
|
|
10112
|
-
};
|
|
10113
10484
|
} | {
|
|
10114
10485
|
linterOptions: {
|
|
10115
10486
|
reportUnusedDisableDirectives: true;
|
|
@@ -11306,7 +11677,11 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
11306
11677
|
};
|
|
11307
11678
|
name: string;
|
|
11308
11679
|
plugins: {
|
|
11309
|
-
"jsx-a11y":
|
|
11680
|
+
"jsx-a11y": {
|
|
11681
|
+
configs: {
|
|
11682
|
+
recommended: Linter.Config<Linter.RulesRecord>;
|
|
11683
|
+
};
|
|
11684
|
+
};
|
|
11310
11685
|
react: {
|
|
11311
11686
|
deprecatedRules: Partial<{
|
|
11312
11687
|
'boolean-prop-naming': eslint.Rule.RuleModule;
|
|
@@ -11679,8 +12054,20 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
11679
12054
|
flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
|
|
11680
12055
|
};
|
|
11681
12056
|
};
|
|
11682
|
-
"react-hooks":
|
|
11683
|
-
|
|
12057
|
+
"react-hooks": {
|
|
12058
|
+
configs: {
|
|
12059
|
+
recommended: {
|
|
12060
|
+
recommended: {
|
|
12061
|
+
plugins: Record<string, eslint.ESLint.Plugin>;
|
|
12062
|
+
rules: {
|
|
12063
|
+
"exhaustive-deps": Linter.RuleEntry;
|
|
12064
|
+
"rules-of-hooks": Linter.RuleEntry;
|
|
12065
|
+
};
|
|
12066
|
+
};
|
|
12067
|
+
};
|
|
12068
|
+
};
|
|
12069
|
+
};
|
|
12070
|
+
"react-refresh": eslint.ESLint.Plugin;
|
|
11684
12071
|
"@tanstack/query"?: undefined;
|
|
11685
12072
|
};
|
|
11686
12073
|
rules: {
|
|
@@ -11784,11 +12171,19 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
11784
12171
|
files: string[];
|
|
11785
12172
|
name: string;
|
|
11786
12173
|
plugins: {
|
|
11787
|
-
"jest-dom":
|
|
11788
|
-
|
|
12174
|
+
"jest-dom": {
|
|
12175
|
+
configs: {
|
|
12176
|
+
"flat/recommended": Linter.Config<Linter.RulesRecord>;
|
|
12177
|
+
};
|
|
12178
|
+
};
|
|
12179
|
+
"testing-library": {
|
|
12180
|
+
configs: {
|
|
12181
|
+
react: Linter.Config<Linter.RulesRecord>;
|
|
12182
|
+
};
|
|
12183
|
+
};
|
|
11789
12184
|
};
|
|
11790
12185
|
rules: {
|
|
11791
|
-
[x: string]: Linter.RuleEntry<any[]
|
|
12186
|
+
[x: string]: Linter.RuleEntry<any[]> | undefined;
|
|
11792
12187
|
"testing-library/prefer-screen-queries"?: undefined;
|
|
11793
12188
|
};
|
|
11794
12189
|
} | {
|
|
@@ -11930,6 +12325,6 @@ declare const jimmyDotCodes: ({ astro, autoDetect, configs, ignores, react, test
|
|
|
11930
12325
|
processor?: string | Linter.Processor;
|
|
11931
12326
|
plugins?: Record<string, eslint.ESLint.Plugin>;
|
|
11932
12327
|
settings?: Record<string, unknown>;
|
|
11933
|
-
})[]
|
|
12328
|
+
})[]>;
|
|
11934
12329
|
|
|
11935
12330
|
export { type Options, type ReactOptions, type Rules, type TestingOptions, type TypedConfigItem, type TypescriptOptions, jimmyDotCodes as default };
|