@jsse/eslint-config 0.2.20 → 0.2.22
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/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/esm/cli.d.ts +1 -0
- package/dist/esm/cli.js +96 -0
- package/dist/esm/cli.js.map +1 -0
- package/dist/esm/config-fns.d.ts +56 -0
- package/dist/esm/config-fns.js +76 -0
- package/dist/esm/config-fns.js.map +1 -0
- package/dist/esm/configs/antfu.d.ts +4 -0
- package/dist/esm/configs/antfu.js +31 -0
- package/dist/esm/configs/antfu.js.map +1 -0
- package/dist/esm/configs/comments.d.ts +2 -0
- package/dist/esm/configs/comments.js +17 -0
- package/dist/esm/configs/comments.js.map +1 -0
- package/dist/esm/configs/gql.d.ts +2 -0
- package/dist/esm/configs/gql.js +5 -0
- package/dist/esm/configs/gql.js.map +1 -0
- package/dist/esm/configs/ignores.d.ts +2 -0
- package/dist/esm/configs/ignores.js +10 -0
- package/dist/esm/configs/ignores.js.map +1 -0
- package/dist/esm/configs/imports.d.ts +2 -0
- package/dist/esm/configs/imports.js +30 -0
- package/dist/esm/configs/imports.js.map +1 -0
- package/dist/esm/configs/javascript.d.ts +6 -0
- package/dist/esm/configs/javascript.js +263 -0
- package/dist/esm/configs/javascript.js.map +1 -0
- package/dist/esm/configs/jsdoc.d.ts +2 -0
- package/dist/esm/configs/jsdoc.js +32 -0
- package/dist/esm/configs/jsdoc.js.map +1 -0
- package/dist/esm/configs/jsonc.d.ts +4 -0
- package/dist/esm/configs/jsonc.js +77 -0
- package/dist/esm/configs/jsonc.js.map +1 -0
- package/dist/esm/configs/markdown.d.ts +4 -0
- package/dist/esm/configs/markdown.js +123 -0
- package/dist/esm/configs/markdown.js.map +1 -0
- package/dist/esm/configs/n.d.ts +2 -0
- package/dist/esm/configs/n.js +22 -0
- package/dist/esm/configs/n.js.map +1 -0
- package/dist/esm/configs/no-only-tests.d.ts +4 -0
- package/dist/esm/configs/no-only-tests.js +32 -0
- package/dist/esm/configs/no-only-tests.js.map +1 -0
- package/dist/esm/configs/perfectionist.d.ts +7 -0
- package/dist/esm/configs/perfectionist.js +61 -0
- package/dist/esm/configs/perfectionist.js.map +1 -0
- package/dist/esm/configs/prettier.d.ts +7 -0
- package/dist/esm/configs/prettier.js +127 -0
- package/dist/esm/configs/prettier.js.map +1 -0
- package/dist/esm/configs/react.d.ts +6 -0
- package/dist/esm/configs/react.js +302 -0
- package/dist/esm/configs/react.js.map +1 -0
- package/dist/esm/configs/sort-package-json.d.ts +7 -0
- package/dist/esm/configs/sort-package-json.js +90 -0
- package/dist/esm/configs/sort-package-json.js.map +1 -0
- package/dist/esm/configs/sort-tsconfig.d.ts +14 -0
- package/dist/esm/configs/sort-tsconfig.js +134 -0
- package/dist/esm/configs/sort-tsconfig.js.map +1 -0
- package/dist/esm/configs/stylistic.d.ts +2 -0
- package/dist/esm/configs/stylistic.js +38 -0
- package/dist/esm/configs/stylistic.js.map +1 -0
- package/dist/esm/configs/tailwind.d.ts +2 -0
- package/dist/esm/configs/tailwind.js +49 -0
- package/dist/esm/configs/tailwind.js.map +1 -0
- package/dist/esm/configs/toml.d.ts +2 -0
- package/dist/esm/configs/toml.js +51 -0
- package/dist/esm/configs/toml.js.map +1 -0
- package/dist/esm/configs/ts/parser.d.ts +7 -0
- package/dist/esm/configs/ts/parser.js +66 -0
- package/dist/esm/configs/ts/parser.js.map +1 -0
- package/dist/esm/configs/ts/requires-type-checking.d.ts +1 -0
- package/dist/esm/configs/ts/requires-type-checking.js +58 -0
- package/dist/esm/configs/ts/requires-type-checking.js.map +1 -0
- package/dist/esm/configs/ts/typescript-language-options.d.ts +2 -0
- package/dist/esm/configs/ts/typescript-language-options.js +23 -0
- package/dist/esm/configs/ts/typescript-language-options.js.map +1 -0
- package/dist/esm/configs/ts/typescript-rules.d.ts +6 -0
- package/dist/esm/configs/ts/typescript-rules.js +416 -0
- package/dist/esm/configs/ts/typescript-rules.js.map +1 -0
- package/dist/esm/configs/ts/typescript.d.ts +4 -0
- package/dist/esm/configs/ts/typescript.js +110 -0
- package/dist/esm/configs/ts/typescript.js.map +1 -0
- package/dist/esm/configs/tsdoc.d.ts +2 -0
- package/dist/esm/configs/tsdoc.js +17 -0
- package/dist/esm/configs/tsdoc.js.map +1 -0
- package/dist/esm/configs/unicorn.d.ts +2 -0
- package/dist/esm/configs/unicorn.js +116 -0
- package/dist/esm/configs/unicorn.js.map +1 -0
- package/dist/esm/configs/vitest.d.ts +4 -0
- package/dist/esm/configs/vitest.js +30 -0
- package/dist/esm/configs/vitest.js.map +1 -0
- package/dist/esm/configs/yml.d.ts +4 -0
- package/dist/esm/configs/yml.js +52 -0
- package/dist/esm/configs/yml.js.map +1 -0
- package/dist/esm/const.d.ts +5 -0
- package/dist/esm/const.js +12 -0
- package/dist/esm/const.js.map +1 -0
- package/dist/esm/define-config.d.ts +7 -0
- package/dist/esm/define-config.js +234 -0
- package/dist/esm/define-config.js.map +1 -0
- package/dist/esm/dev.d.ts +4 -0
- package/dist/esm/dev.js +26 -0
- package/dist/esm/dev.js.map +1 -0
- package/dist/esm/fixable.d.ts +1 -0
- package/dist/esm/fixable.js +390 -0
- package/dist/esm/fixable.js.map +1 -0
- package/dist/esm/globs.d.ts +25 -0
- package/dist/esm/globs.js +74 -0
- package/dist/esm/globs.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lager.d.ts +31 -0
- package/dist/esm/lager.js +87 -0
- package/dist/esm/lager.js.map +1 -0
- package/dist/esm/plugindex.d.ts +7 -0
- package/dist/esm/plugindex.js +61 -0
- package/dist/esm/plugindex.js.map +1 -0
- package/dist/esm/plugins-all.d.ts +23 -0
- package/dist/esm/plugins-all.js +27 -0
- package/dist/esm/plugins-all.js.map +1 -0
- package/dist/esm/plugins.d.ts +983 -0
- package/dist/esm/plugins.js +113 -0
- package/dist/esm/plugins.js.map +1 -0
- package/dist/esm/presets.d.ts +2 -0
- package/dist/esm/presets.js +13 -0
- package/dist/esm/presets.js.map +1 -0
- package/dist/esm/types.d.ts +255 -0
- package/dist/esm/types.js +2 -0
- package/dist/esm/types.js.map +1 -0
- package/dist/esm/utils.d.ts +51 -0
- package/dist/esm/utils.js +157 -0
- package/dist/esm/utils.js.map +1 -0
- package/dist/index.cjs +188 -143
- package/dist/index.d.cts +204 -206
- package/dist/index.d.ts +204 -206
- package/dist/index.js +193 -151
- package/package.json +25 -18
package/dist/index.d.cts
CHANGED
|
@@ -14,9 +14,9 @@ import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
|
|
|
14
14
|
import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
|
|
15
15
|
import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
|
|
16
16
|
import * as eslint_plugin_react from 'eslint-plugin-react';
|
|
17
|
+
export { default as pluginEslintComments } from '@eslint-community/eslint-plugin-eslint-comments';
|
|
17
18
|
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
18
19
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
19
|
-
export { default as pluginEslintComments } from 'eslint-plugin-eslint-comments';
|
|
20
20
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
21
21
|
export { eslintPluginImportX as pluginImport };
|
|
22
22
|
export { default as pluginN } from 'eslint-plugin-n';
|
|
@@ -4242,47 +4242,47 @@ type AntfuIndentUnindent =
|
|
|
4242
4242
|
interface EslintCommentsRuleOptions {
|
|
4243
4243
|
/**
|
|
4244
4244
|
* require a `eslint-enable` comment for every `eslint-disable` comment
|
|
4245
|
-
* @see https://
|
|
4245
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
|
|
4246
4246
|
*/
|
|
4247
4247
|
"eslint-comments/disable-enable-pair"?: Linter.RuleEntry<EslintCommentsDisableEnablePair>;
|
|
4248
4248
|
/**
|
|
4249
4249
|
* disallow a `eslint-enable` comment for multiple `eslint-disable` comments
|
|
4250
|
-
* @see https://
|
|
4250
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
|
|
4251
4251
|
*/
|
|
4252
4252
|
"eslint-comments/no-aggregating-enable"?: Linter.RuleEntry<[]>;
|
|
4253
4253
|
/**
|
|
4254
4254
|
* disallow duplicate `eslint-disable` comments
|
|
4255
|
-
* @see https://
|
|
4255
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
|
|
4256
4256
|
*/
|
|
4257
4257
|
"eslint-comments/no-duplicate-disable"?: Linter.RuleEntry<[]>;
|
|
4258
4258
|
/**
|
|
4259
4259
|
* disallow `eslint-disable` comments about specific rules
|
|
4260
|
-
* @see https://
|
|
4260
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
|
|
4261
4261
|
*/
|
|
4262
4262
|
"eslint-comments/no-restricted-disable"?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>;
|
|
4263
4263
|
/**
|
|
4264
4264
|
* disallow `eslint-disable` comments without rule names
|
|
4265
|
-
* @see https://
|
|
4265
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
|
|
4266
4266
|
*/
|
|
4267
4267
|
"eslint-comments/no-unlimited-disable"?: Linter.RuleEntry<[]>;
|
|
4268
4268
|
/**
|
|
4269
4269
|
* disallow unused `eslint-disable` comments
|
|
4270
|
-
* @see https://
|
|
4270
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
|
|
4271
4271
|
*/
|
|
4272
4272
|
"eslint-comments/no-unused-disable"?: Linter.RuleEntry<[]>;
|
|
4273
4273
|
/**
|
|
4274
4274
|
* disallow unused `eslint-enable` comments
|
|
4275
|
-
* @see https://
|
|
4275
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
|
|
4276
4276
|
*/
|
|
4277
4277
|
"eslint-comments/no-unused-enable"?: Linter.RuleEntry<[]>;
|
|
4278
4278
|
/**
|
|
4279
4279
|
* disallow ESLint directive-comments
|
|
4280
|
-
* @see https://
|
|
4280
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
|
|
4281
4281
|
*/
|
|
4282
4282
|
"eslint-comments/no-use"?: Linter.RuleEntry<EslintCommentsNoUse>;
|
|
4283
4283
|
/**
|
|
4284
4284
|
* require include descriptions in ESLint directive-comments
|
|
4285
|
-
* @see https://
|
|
4285
|
+
* @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
|
|
4286
4286
|
*/
|
|
4287
4287
|
"eslint-comments/require-description"?: Linter.RuleEntry<EslintCommentsRequireDescription>;
|
|
4288
4288
|
}
|
|
@@ -4980,10 +4980,6 @@ type UnusedImportsNoUnusedImports =
|
|
|
4980
4980
|
| [
|
|
4981
4981
|
| ("all" | "local")
|
|
4982
4982
|
| {
|
|
4983
|
-
vars?: "all" | "local";
|
|
4984
|
-
|
|
4985
|
-
varsIgnorePattern?: string;
|
|
4986
|
-
|
|
4987
4983
|
args?: "all" | "after-used" | "none";
|
|
4988
4984
|
|
|
4989
4985
|
argsIgnorePattern?: string;
|
|
@@ -4999,6 +4995,10 @@ type UnusedImportsNoUnusedImports =
|
|
|
4999
4995
|
ignoreRestSiblings?: boolean;
|
|
5000
4996
|
|
|
5001
4997
|
reportUsedIgnorePattern?: boolean;
|
|
4998
|
+
|
|
4999
|
+
vars?: "all" | "local";
|
|
5000
|
+
|
|
5001
|
+
varsIgnorePattern?: string;
|
|
5002
5002
|
},
|
|
5003
5003
|
];
|
|
5004
5004
|
// ----- unused-imports/no-unused-vars -----
|
|
@@ -5007,10 +5007,6 @@ type UnusedImportsNoUnusedVars =
|
|
|
5007
5007
|
| [
|
|
5008
5008
|
| ("all" | "local")
|
|
5009
5009
|
| {
|
|
5010
|
-
vars?: "all" | "local";
|
|
5011
|
-
|
|
5012
|
-
varsIgnorePattern?: string;
|
|
5013
|
-
|
|
5014
5010
|
args?: "all" | "after-used" | "none";
|
|
5015
5011
|
|
|
5016
5012
|
argsIgnorePattern?: string;
|
|
@@ -5026,6 +5022,10 @@ type UnusedImportsNoUnusedVars =
|
|
|
5026
5022
|
ignoreRestSiblings?: boolean;
|
|
5027
5023
|
|
|
5028
5024
|
reportUsedIgnorePattern?: boolean;
|
|
5025
|
+
|
|
5026
|
+
vars?: "all" | "local";
|
|
5027
|
+
|
|
5028
|
+
varsIgnorePattern?: string;
|
|
5029
5029
|
},
|
|
5030
5030
|
];
|
|
5031
5031
|
|
|
@@ -15857,32 +15857,31 @@ type TypescriptEslintBanTsComment =
|
|
|
15857
15857
|
| []
|
|
15858
15858
|
| [
|
|
15859
15859
|
{
|
|
15860
|
-
|
|
15860
|
+
minimumDescriptionLength?: number;
|
|
15861
|
+
"ts-check"?:
|
|
15861
15862
|
| boolean
|
|
15862
15863
|
| "allow-with-description"
|
|
15863
15864
|
| {
|
|
15864
15865
|
descriptionFormat?: string;
|
|
15865
15866
|
};
|
|
15866
|
-
"ts-
|
|
15867
|
+
"ts-expect-error"?:
|
|
15867
15868
|
| boolean
|
|
15868
15869
|
| "allow-with-description"
|
|
15869
15870
|
| {
|
|
15870
15871
|
descriptionFormat?: string;
|
|
15871
15872
|
};
|
|
15872
|
-
"ts-
|
|
15873
|
+
"ts-ignore"?:
|
|
15873
15874
|
| boolean
|
|
15874
15875
|
| "allow-with-description"
|
|
15875
15876
|
| {
|
|
15876
15877
|
descriptionFormat?: string;
|
|
15877
15878
|
};
|
|
15878
|
-
"ts-
|
|
15879
|
+
"ts-nocheck"?:
|
|
15879
15880
|
| boolean
|
|
15880
15881
|
| "allow-with-description"
|
|
15881
15882
|
| {
|
|
15882
15883
|
descriptionFormat?: string;
|
|
15883
15884
|
};
|
|
15884
|
-
|
|
15885
|
-
minimumDescriptionLength?: number;
|
|
15886
15885
|
},
|
|
15887
15886
|
];
|
|
15888
15887
|
// ----- @typescript-eslint/class-literal-property-style -----
|
|
@@ -15892,13 +15891,13 @@ type TypescriptEslintClassMethodsUseThis =
|
|
|
15892
15891
|
| []
|
|
15893
15892
|
| [
|
|
15894
15893
|
{
|
|
15895
|
-
exceptMethods?: string[];
|
|
15896
|
-
|
|
15897
15894
|
enforceForClassFields?: boolean;
|
|
15898
15895
|
|
|
15899
|
-
|
|
15896
|
+
exceptMethods?: string[];
|
|
15900
15897
|
|
|
15901
15898
|
ignoreClassesThatImplementAnInterface?: boolean | "public-fields";
|
|
15899
|
+
|
|
15900
|
+
ignoreOverrideMethods?: boolean;
|
|
15902
15901
|
},
|
|
15903
15902
|
];
|
|
15904
15903
|
// ----- @typescript-eslint/consistent-generic-constructors -----
|
|
@@ -15960,6 +15959,8 @@ type TypescriptEslintDotNotation =
|
|
|
15960
15959
|
| []
|
|
15961
15960
|
| [
|
|
15962
15961
|
{
|
|
15962
|
+
allowIndexSignaturePropertyAccess?: boolean;
|
|
15963
|
+
|
|
15963
15964
|
allowKeywords?: boolean;
|
|
15964
15965
|
|
|
15965
15966
|
allowPattern?: string;
|
|
@@ -15967,8 +15968,6 @@ type TypescriptEslintDotNotation =
|
|
|
15967
15968
|
allowPrivateClassPropertyAccess?: boolean;
|
|
15968
15969
|
|
|
15969
15970
|
allowProtectedClassPropertyAccess?: boolean;
|
|
15970
|
-
|
|
15971
|
-
allowIndexSignaturePropertyAccess?: boolean;
|
|
15972
15971
|
},
|
|
15973
15972
|
];
|
|
15974
15973
|
// ----- @typescript-eslint/explicit-function-return-type -----
|
|
@@ -15978,19 +15977,19 @@ type TypescriptEslintExplicitFunctionReturnType =
|
|
|
15978
15977
|
{
|
|
15979
15978
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
|
|
15980
15979
|
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
allowHigherOrderFunctions?: boolean;
|
|
15980
|
+
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
15984
15981
|
|
|
15985
|
-
|
|
15982
|
+
allowedNames?: string[];
|
|
15986
15983
|
|
|
15987
|
-
|
|
15984
|
+
allowExpressions?: boolean;
|
|
15988
15985
|
|
|
15989
15986
|
allowFunctionsWithoutTypeParameters?: boolean;
|
|
15990
15987
|
|
|
15991
|
-
|
|
15988
|
+
allowHigherOrderFunctions?: boolean;
|
|
15992
15989
|
|
|
15993
15990
|
allowIIFEs?: boolean;
|
|
15991
|
+
|
|
15992
|
+
allowTypedFunctionExpressions?: boolean;
|
|
15994
15993
|
},
|
|
15995
15994
|
];
|
|
15996
15995
|
// ----- @typescript-eslint/explicit-member-accessibility -----
|
|
@@ -15999,15 +15998,15 @@ type TypescriptEslintExplicitMemberAccessibility =
|
|
|
15999
15998
|
| [
|
|
16000
15999
|
{
|
|
16001
16000
|
accessibility?: "explicit" | "no-public" | "off";
|
|
16001
|
+
|
|
16002
|
+
ignoredMethodNames?: string[];
|
|
16002
16003
|
overrides?: {
|
|
16003
16004
|
accessors?: "explicit" | "no-public" | "off";
|
|
16004
16005
|
constructors?: "explicit" | "no-public" | "off";
|
|
16005
16006
|
methods?: "explicit" | "no-public" | "off";
|
|
16006
|
-
properties?: "explicit" | "no-public" | "off";
|
|
16007
16007
|
parameterProperties?: "explicit" | "no-public" | "off";
|
|
16008
|
+
properties?: "explicit" | "no-public" | "off";
|
|
16008
16009
|
};
|
|
16009
|
-
|
|
16010
|
-
ignoredMethodNames?: string[];
|
|
16011
16010
|
},
|
|
16012
16011
|
];
|
|
16013
16012
|
// ----- @typescript-eslint/explicit-module-boundary-types -----
|
|
@@ -16043,11 +16042,11 @@ type TypescriptEslintMaxParams =
|
|
|
16043
16042
|
| []
|
|
16044
16043
|
| [
|
|
16045
16044
|
{
|
|
16045
|
+
countVoidThis?: boolean;
|
|
16046
|
+
|
|
16046
16047
|
max?: number;
|
|
16047
16048
|
|
|
16048
16049
|
maximum?: number;
|
|
16049
|
-
|
|
16050
|
-
countVoidThis?: boolean;
|
|
16051
16050
|
},
|
|
16052
16051
|
];
|
|
16053
16052
|
// ----- @typescript-eslint/member-ordering -----
|
|
@@ -16055,7 +16054,7 @@ type TypescriptEslintMemberOrdering =
|
|
|
16055
16054
|
| []
|
|
16056
16055
|
| [
|
|
16057
16056
|
{
|
|
16058
|
-
|
|
16057
|
+
classes?:
|
|
16059
16058
|
| "never"
|
|
16060
16059
|
| (
|
|
16061
16060
|
| (
|
|
@@ -16684,15 +16683,15 @@ type TypescriptEslintMemberOrdering =
|
|
|
16684
16683
|
)[]
|
|
16685
16684
|
)[]
|
|
16686
16685
|
| "never";
|
|
16686
|
+
optionalityOrder?: "optional-first" | "required-first";
|
|
16687
16687
|
order?:
|
|
16688
16688
|
| "alphabetically"
|
|
16689
16689
|
| "alphabetically-case-insensitive"
|
|
16690
16690
|
| "as-written"
|
|
16691
16691
|
| "natural"
|
|
16692
16692
|
| "natural-case-insensitive";
|
|
16693
|
-
optionalityOrder?: "optional-first" | "required-first";
|
|
16694
16693
|
};
|
|
16695
|
-
|
|
16694
|
+
classExpressions?:
|
|
16696
16695
|
| "never"
|
|
16697
16696
|
| (
|
|
16698
16697
|
| (
|
|
@@ -17321,15 +17320,15 @@ type TypescriptEslintMemberOrdering =
|
|
|
17321
17320
|
)[]
|
|
17322
17321
|
)[]
|
|
17323
17322
|
| "never";
|
|
17323
|
+
optionalityOrder?: "optional-first" | "required-first";
|
|
17324
17324
|
order?:
|
|
17325
17325
|
| "alphabetically"
|
|
17326
17326
|
| "alphabetically-case-insensitive"
|
|
17327
17327
|
| "as-written"
|
|
17328
17328
|
| "natural"
|
|
17329
17329
|
| "natural-case-insensitive";
|
|
17330
|
-
optionalityOrder?: "optional-first" | "required-first";
|
|
17331
17330
|
};
|
|
17332
|
-
|
|
17331
|
+
default?:
|
|
17333
17332
|
| "never"
|
|
17334
17333
|
| (
|
|
17335
17334
|
| (
|
|
@@ -17958,13 +17957,13 @@ type TypescriptEslintMemberOrdering =
|
|
|
17958
17957
|
)[]
|
|
17959
17958
|
)[]
|
|
17960
17959
|
| "never";
|
|
17960
|
+
optionalityOrder?: "optional-first" | "required-first";
|
|
17961
17961
|
order?:
|
|
17962
17962
|
| "alphabetically"
|
|
17963
17963
|
| "alphabetically-case-insensitive"
|
|
17964
17964
|
| "as-written"
|
|
17965
17965
|
| "natural"
|
|
17966
17966
|
| "natural-case-insensitive";
|
|
17967
|
-
optionalityOrder?: "optional-first" | "required-first";
|
|
17968
17967
|
};
|
|
17969
17968
|
interfaces?:
|
|
17970
17969
|
| "never"
|
|
@@ -18007,13 +18006,13 @@ type TypescriptEslintMemberOrdering =
|
|
|
18007
18006
|
)[]
|
|
18008
18007
|
)[]
|
|
18009
18008
|
| "never";
|
|
18009
|
+
optionalityOrder?: "optional-first" | "required-first";
|
|
18010
18010
|
order?:
|
|
18011
18011
|
| "alphabetically"
|
|
18012
18012
|
| "alphabetically-case-insensitive"
|
|
18013
18013
|
| "as-written"
|
|
18014
18014
|
| "natural"
|
|
18015
18015
|
| "natural-case-insensitive";
|
|
18016
|
-
optionalityOrder?: "optional-first" | "required-first";
|
|
18017
18016
|
};
|
|
18018
18017
|
typeLiterals?:
|
|
18019
18018
|
| "never"
|
|
@@ -18056,13 +18055,13 @@ type TypescriptEslintMemberOrdering =
|
|
|
18056
18055
|
)[]
|
|
18057
18056
|
)[]
|
|
18058
18057
|
| "never";
|
|
18058
|
+
optionalityOrder?: "optional-first" | "required-first";
|
|
18059
18059
|
order?:
|
|
18060
18060
|
| "alphabetically"
|
|
18061
18061
|
| "alphabetically-case-insensitive"
|
|
18062
18062
|
| "as-written"
|
|
18063
18063
|
| "natural"
|
|
18064
18064
|
| "natural-case-insensitive";
|
|
18065
|
-
optionalityOrder?: "optional-first" | "required-first";
|
|
18066
18065
|
};
|
|
18067
18066
|
},
|
|
18068
18067
|
];
|
|
@@ -18095,14 +18094,33 @@ type _TypescriptEslintNamingConventionTypeModifiers =
|
|
|
18095
18094
|
| "array";
|
|
18096
18095
|
type TypescriptEslintNamingConvention = (
|
|
18097
18096
|
| {
|
|
18098
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18099
18097
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18098
|
+
failureMessage?: string;
|
|
18099
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18100
18100
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18101
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18102
18101
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18103
18102
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18104
|
-
|
|
18103
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18105
18104
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18105
|
+
modifiers?: (
|
|
18106
|
+
| "const"
|
|
18107
|
+
| "readonly"
|
|
18108
|
+
| "static"
|
|
18109
|
+
| "public"
|
|
18110
|
+
| "protected"
|
|
18111
|
+
| "private"
|
|
18112
|
+
| "#private"
|
|
18113
|
+
| "abstract"
|
|
18114
|
+
| "destructured"
|
|
18115
|
+
| "global"
|
|
18116
|
+
| "exported"
|
|
18117
|
+
| "unused"
|
|
18118
|
+
| "requiresQuotes"
|
|
18119
|
+
| "override"
|
|
18120
|
+
| "async"
|
|
18121
|
+
| "default"
|
|
18122
|
+
| "namespace"
|
|
18123
|
+
)[];
|
|
18106
18124
|
selector: (
|
|
18107
18125
|
| "default"
|
|
18108
18126
|
| "variableLike"
|
|
@@ -18131,35 +18149,16 @@ type TypescriptEslintNamingConvention = (
|
|
|
18131
18149
|
| "typeParameter"
|
|
18132
18150
|
| "import"
|
|
18133
18151
|
)[];
|
|
18134
|
-
modifiers?: (
|
|
18135
|
-
| "const"
|
|
18136
|
-
| "readonly"
|
|
18137
|
-
| "static"
|
|
18138
|
-
| "public"
|
|
18139
|
-
| "protected"
|
|
18140
|
-
| "private"
|
|
18141
|
-
| "#private"
|
|
18142
|
-
| "abstract"
|
|
18143
|
-
| "destructured"
|
|
18144
|
-
| "global"
|
|
18145
|
-
| "exported"
|
|
18146
|
-
| "unused"
|
|
18147
|
-
| "requiresQuotes"
|
|
18148
|
-
| "override"
|
|
18149
|
-
| "async"
|
|
18150
|
-
| "default"
|
|
18151
|
-
| "namespace"
|
|
18152
|
-
)[];
|
|
18153
18152
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18154
18153
|
}
|
|
18155
18154
|
| {
|
|
18156
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18157
18155
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18156
|
+
failureMessage?: string;
|
|
18157
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18158
18158
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18159
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18160
18159
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18161
18160
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18162
|
-
|
|
18161
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18163
18162
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18164
18163
|
selector: "default";
|
|
18165
18164
|
modifiers?: (
|
|
@@ -18183,25 +18182,25 @@ type TypescriptEslintNamingConvention = (
|
|
|
18183
18182
|
)[];
|
|
18184
18183
|
}
|
|
18185
18184
|
| {
|
|
18186
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18187
18185
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18186
|
+
failureMessage?: string;
|
|
18187
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18188
18188
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18189
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18190
18189
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18191
18190
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18192
|
-
|
|
18191
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18193
18192
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18194
18193
|
selector: "variableLike";
|
|
18195
18194
|
modifiers?: ("unused" | "async")[];
|
|
18196
18195
|
}
|
|
18197
18196
|
| {
|
|
18198
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18199
18197
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18198
|
+
failureMessage?: string;
|
|
18199
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18200
18200
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18201
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18202
18201
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18203
18202
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18204
|
-
|
|
18203
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18205
18204
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18206
18205
|
selector: "variable";
|
|
18207
18206
|
modifiers?: (
|
|
@@ -18215,38 +18214,38 @@ type TypescriptEslintNamingConvention = (
|
|
|
18215
18214
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18216
18215
|
}
|
|
18217
18216
|
| {
|
|
18218
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18219
18217
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18218
|
+
failureMessage?: string;
|
|
18219
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18220
18220
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18221
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18222
18221
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18223
18222
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18224
|
-
|
|
18223
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18225
18224
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18226
18225
|
selector: "function";
|
|
18227
18226
|
modifiers?: ("exported" | "global" | "unused" | "async")[];
|
|
18228
18227
|
}
|
|
18229
18228
|
| {
|
|
18230
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18231
18229
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18230
|
+
failureMessage?: string;
|
|
18231
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18232
18232
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18233
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18234
18233
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18235
18234
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18236
|
-
|
|
18235
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18237
18236
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18238
18237
|
selector: "parameter";
|
|
18239
18238
|
modifiers?: ("destructured" | "unused")[];
|
|
18240
18239
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18241
18240
|
}
|
|
18242
18241
|
| {
|
|
18243
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18244
18242
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18243
|
+
failureMessage?: string;
|
|
18244
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18245
18245
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18246
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18247
18246
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18248
18247
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18249
|
-
|
|
18248
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18250
18249
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18251
18250
|
selector: "memberLike";
|
|
18252
18251
|
modifiers?: (
|
|
@@ -18263,13 +18262,13 @@ type TypescriptEslintNamingConvention = (
|
|
|
18263
18262
|
)[];
|
|
18264
18263
|
}
|
|
18265
18264
|
| {
|
|
18266
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18267
18265
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18266
|
+
failureMessage?: string;
|
|
18267
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18268
18268
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18269
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18270
18269
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18271
18270
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18272
|
-
|
|
18271
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18273
18272
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18274
18273
|
selector: "classProperty";
|
|
18275
18274
|
modifiers?: (
|
|
@@ -18286,52 +18285,52 @@ type TypescriptEslintNamingConvention = (
|
|
|
18286
18285
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18287
18286
|
}
|
|
18288
18287
|
| {
|
|
18289
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18290
18288
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18289
|
+
failureMessage?: string;
|
|
18290
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18291
18291
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18292
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18293
18292
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18294
18293
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18295
|
-
|
|
18294
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18296
18295
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18297
18296
|
selector: "objectLiteralProperty";
|
|
18298
18297
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
18299
18298
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18300
18299
|
}
|
|
18301
18300
|
| {
|
|
18302
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18303
18301
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18302
|
+
failureMessage?: string;
|
|
18303
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18304
18304
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18305
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18306
18305
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18307
18306
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18308
|
-
|
|
18307
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18309
18308
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18310
18309
|
selector: "typeProperty";
|
|
18311
18310
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[];
|
|
18312
18311
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18313
18312
|
}
|
|
18314
18313
|
| {
|
|
18315
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18316
18314
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18315
|
+
failureMessage?: string;
|
|
18316
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18317
18317
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18318
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18319
18318
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18320
18319
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18321
|
-
|
|
18320
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18322
18321
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18323
18322
|
selector: "parameterProperty";
|
|
18324
18323
|
modifiers?: ("private" | "protected" | "public" | "readonly")[];
|
|
18325
18324
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18326
18325
|
}
|
|
18327
18326
|
| {
|
|
18328
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18329
18327
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18328
|
+
failureMessage?: string;
|
|
18329
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18330
18330
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18331
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18332
18331
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18333
18332
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18334
|
-
|
|
18333
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18335
18334
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18336
18335
|
selector: "property";
|
|
18337
18336
|
modifiers?: (
|
|
@@ -18349,13 +18348,13 @@ type TypescriptEslintNamingConvention = (
|
|
|
18349
18348
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18350
18349
|
}
|
|
18351
18350
|
| {
|
|
18352
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18353
18351
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18352
|
+
failureMessage?: string;
|
|
18353
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18354
18354
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18355
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18356
18355
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18357
18356
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18358
|
-
|
|
18357
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18359
18358
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18360
18359
|
selector: "classMethod";
|
|
18361
18360
|
modifiers?: (
|
|
@@ -18371,37 +18370,37 @@ type TypescriptEslintNamingConvention = (
|
|
|
18371
18370
|
)[];
|
|
18372
18371
|
}
|
|
18373
18372
|
| {
|
|
18374
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18375
18373
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18374
|
+
failureMessage?: string;
|
|
18375
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18376
18376
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18377
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18378
18377
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18379
18378
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18380
|
-
|
|
18379
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18381
18380
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18382
18381
|
selector: "objectLiteralMethod";
|
|
18383
18382
|
modifiers?: ("public" | "requiresQuotes" | "async")[];
|
|
18384
18383
|
}
|
|
18385
18384
|
| {
|
|
18386
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18387
18385
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18386
|
+
failureMessage?: string;
|
|
18387
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18388
18388
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18389
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18390
18389
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18391
18390
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18392
|
-
|
|
18391
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18393
18392
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18394
18393
|
selector: "typeMethod";
|
|
18395
18394
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
18396
18395
|
}
|
|
18397
18396
|
| {
|
|
18398
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18399
18397
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18398
|
+
failureMessage?: string;
|
|
18399
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18400
18400
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18401
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18402
18401
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18403
18402
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18404
|
-
|
|
18403
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18405
18404
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18406
18405
|
selector: "method";
|
|
18407
18406
|
modifiers?: (
|
|
@@ -18417,13 +18416,13 @@ type TypescriptEslintNamingConvention = (
|
|
|
18417
18416
|
)[];
|
|
18418
18417
|
}
|
|
18419
18418
|
| {
|
|
18420
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18421
18419
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18420
|
+
failureMessage?: string;
|
|
18421
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18422
18422
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18423
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18424
18423
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18425
18424
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18426
|
-
|
|
18425
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18427
18426
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18428
18427
|
selector: "classicAccessor";
|
|
18429
18428
|
modifiers?: (
|
|
@@ -18438,13 +18437,13 @@ type TypescriptEslintNamingConvention = (
|
|
|
18438
18437
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18439
18438
|
}
|
|
18440
18439
|
| {
|
|
18441
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18442
18440
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18441
|
+
failureMessage?: string;
|
|
18442
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18443
18443
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18444
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18445
18444
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18446
18445
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18447
|
-
|
|
18446
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18448
18447
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18449
18448
|
selector: "autoAccessor";
|
|
18450
18449
|
modifiers?: (
|
|
@@ -18459,13 +18458,13 @@ type TypescriptEslintNamingConvention = (
|
|
|
18459
18458
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18460
18459
|
}
|
|
18461
18460
|
| {
|
|
18462
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18463
18461
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18462
|
+
failureMessage?: string;
|
|
18463
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18464
18464
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18465
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18466
18465
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18467
18466
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18468
|
-
|
|
18467
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18469
18468
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18470
18469
|
selector: "accessor";
|
|
18471
18470
|
modifiers?: (
|
|
@@ -18480,97 +18479,97 @@ type TypescriptEslintNamingConvention = (
|
|
|
18480
18479
|
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
18481
18480
|
}
|
|
18482
18481
|
| {
|
|
18483
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18484
18482
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18483
|
+
failureMessage?: string;
|
|
18484
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18485
18485
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18486
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18487
18486
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18488
18487
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18489
|
-
|
|
18488
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18490
18489
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18491
18490
|
selector: "enumMember";
|
|
18492
18491
|
modifiers?: "requiresQuotes"[];
|
|
18493
18492
|
}
|
|
18494
18493
|
| {
|
|
18495
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18496
18494
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18495
|
+
failureMessage?: string;
|
|
18496
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18497
18497
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18498
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18499
18498
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18500
18499
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18501
|
-
|
|
18500
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18502
18501
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18503
18502
|
selector: "typeLike";
|
|
18504
18503
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
18505
18504
|
}
|
|
18506
18505
|
| {
|
|
18507
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18508
18506
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18507
|
+
failureMessage?: string;
|
|
18508
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18509
18509
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18510
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18511
18510
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18512
18511
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18513
|
-
|
|
18512
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18514
18513
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18515
18514
|
selector: "class";
|
|
18516
18515
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
18517
18516
|
}
|
|
18518
18517
|
| {
|
|
18519
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18520
18518
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18519
|
+
failureMessage?: string;
|
|
18520
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18521
18521
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18522
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18523
18522
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18524
18523
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18525
|
-
|
|
18524
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18526
18525
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18527
18526
|
selector: "interface";
|
|
18528
18527
|
modifiers?: ("exported" | "unused")[];
|
|
18529
18528
|
}
|
|
18530
18529
|
| {
|
|
18531
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18532
18530
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18531
|
+
failureMessage?: string;
|
|
18532
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18533
18533
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18534
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18535
18534
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18536
18535
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18537
|
-
|
|
18536
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18538
18537
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18539
18538
|
selector: "typeAlias";
|
|
18540
18539
|
modifiers?: ("exported" | "unused")[];
|
|
18541
18540
|
}
|
|
18542
18541
|
| {
|
|
18543
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18544
18542
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18543
|
+
failureMessage?: string;
|
|
18544
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18545
18545
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18546
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18547
18546
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18548
18547
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18549
|
-
|
|
18548
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18550
18549
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18551
18550
|
selector: "enum";
|
|
18552
18551
|
modifiers?: ("exported" | "unused")[];
|
|
18553
18552
|
}
|
|
18554
18553
|
| {
|
|
18555
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18556
18554
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18555
|
+
failureMessage?: string;
|
|
18556
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18557
18557
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18558
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18559
18558
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18560
18559
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18561
|
-
|
|
18560
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18562
18561
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18563
18562
|
selector: "typeParameter";
|
|
18564
18563
|
modifiers?: "unused"[];
|
|
18565
18564
|
}
|
|
18566
18565
|
| {
|
|
18567
|
-
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18568
18566
|
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18567
|
+
failureMessage?: string;
|
|
18568
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
18569
18569
|
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18570
|
-
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18571
18570
|
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18572
18571
|
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
18573
|
-
|
|
18572
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
18574
18573
|
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
18575
18574
|
selector: "import";
|
|
18576
18575
|
modifiers?: ("default" | "namespace")[];
|
|
@@ -18680,7 +18679,7 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18680
18679
|
| []
|
|
18681
18680
|
| [
|
|
18682
18681
|
{
|
|
18683
|
-
|
|
18682
|
+
allowForKnownSafeCalls?: (
|
|
18684
18683
|
| string
|
|
18685
18684
|
| {
|
|
18686
18685
|
from: "file";
|
|
@@ -18698,7 +18697,7 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18698
18697
|
}
|
|
18699
18698
|
)[];
|
|
18700
18699
|
|
|
18701
|
-
|
|
18700
|
+
allowForKnownSafePromises?: (
|
|
18702
18701
|
| string
|
|
18703
18702
|
| {
|
|
18704
18703
|
from: "file";
|
|
@@ -18718,9 +18717,9 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
18718
18717
|
|
|
18719
18718
|
checkThenables?: boolean;
|
|
18720
18719
|
|
|
18721
|
-
ignoreVoid?: boolean;
|
|
18722
|
-
|
|
18723
18720
|
ignoreIIFE?: boolean;
|
|
18721
|
+
|
|
18722
|
+
ignoreVoid?: boolean;
|
|
18724
18723
|
},
|
|
18725
18724
|
];
|
|
18726
18725
|
// ----- @typescript-eslint/no-inferrable-types -----
|
|
@@ -18746,9 +18745,9 @@ type TypescriptEslintNoInvalidVoidType =
|
|
|
18746
18745
|
| []
|
|
18747
18746
|
| [
|
|
18748
18747
|
{
|
|
18749
|
-
allowInGenericTypeArguments?: boolean | [string, ...string[]];
|
|
18750
|
-
|
|
18751
18748
|
allowAsThisParameter?: boolean;
|
|
18749
|
+
|
|
18750
|
+
allowInGenericTypeArguments?: boolean | [string, ...string[]];
|
|
18752
18751
|
},
|
|
18753
18752
|
];
|
|
18754
18753
|
// ----- @typescript-eslint/no-magic-numbers -----
|
|
@@ -18763,10 +18762,10 @@ type TypescriptEslintNoMagicNumbers =
|
|
|
18763
18762
|
ignoreDefaultValues?: boolean;
|
|
18764
18763
|
ignoreClassFieldInitialValues?: boolean;
|
|
18765
18764
|
|
|
18766
|
-
ignoreNumericLiteralTypes?: boolean;
|
|
18767
|
-
|
|
18768
18765
|
ignoreEnums?: boolean;
|
|
18769
18766
|
|
|
18767
|
+
ignoreNumericLiteralTypes?: boolean;
|
|
18768
|
+
|
|
18770
18769
|
ignoreReadonlyClassProperties?: boolean;
|
|
18771
18770
|
|
|
18772
18771
|
ignoreTypeIndexes?: boolean;
|
|
@@ -18786,6 +18785,8 @@ type TypescriptEslintNoMisusedPromises =
|
|
|
18786
18785
|
| [
|
|
18787
18786
|
{
|
|
18788
18787
|
checksConditionals?: boolean;
|
|
18788
|
+
|
|
18789
|
+
checksSpreads?: boolean;
|
|
18789
18790
|
checksVoidReturn?:
|
|
18790
18791
|
| boolean
|
|
18791
18792
|
| {
|
|
@@ -18801,8 +18802,6 @@ type TypescriptEslintNoMisusedPromises =
|
|
|
18801
18802
|
|
|
18802
18803
|
variables?: boolean;
|
|
18803
18804
|
};
|
|
18804
|
-
|
|
18805
|
-
checksSpreads?: boolean;
|
|
18806
18805
|
},
|
|
18807
18806
|
];
|
|
18808
18807
|
// ----- @typescript-eslint/no-namespace -----
|
|
@@ -18891,10 +18890,10 @@ type TypescriptEslintNoRestrictedTypes =
|
|
|
18891
18890
|
| true
|
|
18892
18891
|
| string
|
|
18893
18892
|
| {
|
|
18894
|
-
message?: string;
|
|
18895
|
-
|
|
18896
18893
|
fixWith?: string;
|
|
18897
18894
|
|
|
18895
|
+
message?: string;
|
|
18896
|
+
|
|
18898
18897
|
suggest?: string[];
|
|
18899
18898
|
}
|
|
18900
18899
|
)
|
|
@@ -18907,17 +18906,17 @@ type TypescriptEslintNoShadow =
|
|
|
18907
18906
|
| []
|
|
18908
18907
|
| [
|
|
18909
18908
|
{
|
|
18909
|
+
allow?: string[];
|
|
18910
|
+
|
|
18910
18911
|
builtinGlobals?: boolean;
|
|
18911
18912
|
|
|
18912
18913
|
hoist?: "all" | "functions" | "never";
|
|
18913
18914
|
|
|
18914
|
-
|
|
18915
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
18915
18916
|
|
|
18916
18917
|
ignoreOnInitialization?: boolean;
|
|
18917
18918
|
|
|
18918
18919
|
ignoreTypeValueShadow?: boolean;
|
|
18919
|
-
|
|
18920
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean;
|
|
18921
18920
|
},
|
|
18922
18921
|
];
|
|
18923
18922
|
// ----- @typescript-eslint/no-this-alias -----
|
|
@@ -18948,6 +18947,8 @@ type TypescriptEslintNoTypeAlias =
|
|
|
18948
18947
|
|
|
18949
18948
|
allowConstructors?: "always" | "never";
|
|
18950
18949
|
|
|
18950
|
+
allowGenerics?: "always" | "never";
|
|
18951
|
+
|
|
18951
18952
|
allowLiterals?:
|
|
18952
18953
|
| "always"
|
|
18953
18954
|
| "never"
|
|
@@ -18968,8 +18969,6 @@ type TypescriptEslintNoTypeAlias =
|
|
|
18968
18969
|
| "in-unions"
|
|
18969
18970
|
| "in-intersections"
|
|
18970
18971
|
| "in-unions-and-intersections";
|
|
18971
|
-
|
|
18972
|
-
allowGenerics?: "always" | "never";
|
|
18973
18972
|
},
|
|
18974
18973
|
];
|
|
18975
18974
|
// ----- @typescript-eslint/no-unnecessary-boolean-literal-compare -----
|
|
@@ -18977,9 +18976,9 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
|
|
|
18977
18976
|
| []
|
|
18978
18977
|
| [
|
|
18979
18978
|
{
|
|
18980
|
-
allowComparingNullableBooleansToTrue?: boolean;
|
|
18981
|
-
|
|
18982
18979
|
allowComparingNullableBooleansToFalse?: boolean;
|
|
18980
|
+
|
|
18981
|
+
allowComparingNullableBooleansToTrue?: boolean;
|
|
18983
18982
|
},
|
|
18984
18983
|
];
|
|
18985
18984
|
// ----- @typescript-eslint/no-unnecessary-condition -----
|
|
@@ -19019,10 +19018,6 @@ type TypescriptEslintNoUnusedVars =
|
|
|
19019
19018
|
| [
|
|
19020
19019
|
| ("all" | "local")
|
|
19021
19020
|
| {
|
|
19022
|
-
vars?: "all" | "local";
|
|
19023
|
-
|
|
19024
|
-
varsIgnorePattern?: string;
|
|
19025
|
-
|
|
19026
19021
|
args?: "all" | "after-used" | "none";
|
|
19027
19022
|
|
|
19028
19023
|
argsIgnorePattern?: string;
|
|
@@ -19038,6 +19033,10 @@ type TypescriptEslintNoUnusedVars =
|
|
|
19038
19033
|
ignoreRestSiblings?: boolean;
|
|
19039
19034
|
|
|
19040
19035
|
reportUsedIgnorePattern?: boolean;
|
|
19036
|
+
|
|
19037
|
+
vars?: "all" | "local";
|
|
19038
|
+
|
|
19039
|
+
varsIgnorePattern?: string;
|
|
19041
19040
|
},
|
|
19042
19041
|
];
|
|
19043
19042
|
// ----- @typescript-eslint/no-use-before-define -----
|
|
@@ -19046,18 +19045,19 @@ type TypescriptEslintNoUseBeforeDefine =
|
|
|
19046
19045
|
| [
|
|
19047
19046
|
| "nofunc"
|
|
19048
19047
|
| {
|
|
19049
|
-
|
|
19048
|
+
allowNamedExports?: boolean;
|
|
19050
19049
|
|
|
19051
19050
|
classes?: boolean;
|
|
19052
19051
|
|
|
19053
19052
|
enums?: boolean;
|
|
19054
19053
|
|
|
19055
|
-
|
|
19054
|
+
functions?: boolean;
|
|
19055
|
+
|
|
19056
|
+
ignoreTypeReferences?: boolean;
|
|
19056
19057
|
|
|
19057
19058
|
typedefs?: boolean;
|
|
19058
19059
|
|
|
19059
|
-
|
|
19060
|
-
allowNamedExports?: boolean;
|
|
19060
|
+
variables?: boolean;
|
|
19061
19061
|
},
|
|
19062
19062
|
];
|
|
19063
19063
|
// ----- @typescript-eslint/no-var-requires -----
|
|
@@ -19101,11 +19101,11 @@ type TypescriptEslintPreferDestructuring =
|
|
|
19101
19101
|
| []
|
|
19102
19102
|
| [
|
|
19103
19103
|
| {
|
|
19104
|
-
|
|
19104
|
+
AssignmentExpression?: {
|
|
19105
19105
|
array?: boolean;
|
|
19106
19106
|
object?: boolean;
|
|
19107
19107
|
};
|
|
19108
|
-
|
|
19108
|
+
VariableDeclarator?: {
|
|
19109
19109
|
array?: boolean;
|
|
19110
19110
|
object?: boolean;
|
|
19111
19111
|
};
|
|
@@ -19118,11 +19118,11 @@ type TypescriptEslintPreferDestructuring =
|
|
|
19118
19118
|
| [
|
|
19119
19119
|
(
|
|
19120
19120
|
| {
|
|
19121
|
-
|
|
19121
|
+
AssignmentExpression?: {
|
|
19122
19122
|
array?: boolean;
|
|
19123
19123
|
object?: boolean;
|
|
19124
19124
|
};
|
|
19125
|
-
|
|
19125
|
+
VariableDeclarator?: {
|
|
19126
19126
|
array?: boolean;
|
|
19127
19127
|
object?: boolean;
|
|
19128
19128
|
};
|
|
@@ -19133,8 +19133,8 @@ type TypescriptEslintPreferDestructuring =
|
|
|
19133
19133
|
}
|
|
19134
19134
|
),
|
|
19135
19135
|
{
|
|
19136
|
-
enforceForRenamedProperties?: boolean;
|
|
19137
19136
|
enforceForDeclarationWithTypeAnnotation?: boolean;
|
|
19137
|
+
enforceForRenamedProperties?: boolean;
|
|
19138
19138
|
[k: string]: unknown | undefined;
|
|
19139
19139
|
},
|
|
19140
19140
|
];
|
|
@@ -19175,21 +19175,21 @@ type TypescriptEslintPreferOptionalChain =
|
|
|
19175
19175
|
| []
|
|
19176
19176
|
| [
|
|
19177
19177
|
{
|
|
19178
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
19179
|
+
|
|
19178
19180
|
checkAny?: boolean;
|
|
19179
19181
|
|
|
19180
|
-
|
|
19182
|
+
checkBigInt?: boolean;
|
|
19181
19183
|
|
|
19182
|
-
|
|
19184
|
+
checkBoolean?: boolean;
|
|
19183
19185
|
|
|
19184
19186
|
checkNumber?: boolean;
|
|
19185
19187
|
|
|
19186
|
-
|
|
19188
|
+
checkString?: boolean;
|
|
19187
19189
|
|
|
19188
|
-
|
|
19190
|
+
checkUnknown?: boolean;
|
|
19189
19191
|
|
|
19190
19192
|
requireNullish?: boolean;
|
|
19191
|
-
|
|
19192
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
19193
19193
|
},
|
|
19194
19194
|
];
|
|
19195
19195
|
// ----- @typescript-eslint/prefer-promise-reject-errors -----
|
|
@@ -19345,12 +19345,12 @@ type TypescriptEslintSortTypeConstituents =
|
|
|
19345
19345
|
| []
|
|
19346
19346
|
| [
|
|
19347
19347
|
{
|
|
19348
|
+
caseSensitive?: boolean;
|
|
19349
|
+
|
|
19348
19350
|
checkIntersections?: boolean;
|
|
19349
19351
|
|
|
19350
19352
|
checkUnions?: boolean;
|
|
19351
19353
|
|
|
19352
|
-
caseSensitive?: boolean;
|
|
19353
|
-
|
|
19354
19354
|
groupOrder?: (
|
|
19355
19355
|
| "conditional"
|
|
19356
19356
|
| "function"
|
|
@@ -19372,22 +19372,22 @@ type TypescriptEslintStrictBooleanExpressions =
|
|
|
19372
19372
|
| []
|
|
19373
19373
|
| [
|
|
19374
19374
|
{
|
|
19375
|
-
|
|
19376
|
-
|
|
19377
|
-
allowNumber?: boolean;
|
|
19378
|
-
|
|
19379
|
-
allowNullableObject?: boolean;
|
|
19375
|
+
allowAny?: boolean;
|
|
19380
19376
|
|
|
19381
19377
|
allowNullableBoolean?: boolean;
|
|
19382
19378
|
|
|
19383
|
-
|
|
19379
|
+
allowNullableEnum?: boolean;
|
|
19384
19380
|
|
|
19385
19381
|
allowNullableNumber?: boolean;
|
|
19386
19382
|
|
|
19387
|
-
|
|
19383
|
+
allowNullableObject?: boolean;
|
|
19388
19384
|
|
|
19389
|
-
|
|
19385
|
+
allowNullableString?: boolean;
|
|
19386
|
+
|
|
19387
|
+
allowNumber?: boolean;
|
|
19390
19388
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
19389
|
+
|
|
19390
|
+
allowString?: boolean;
|
|
19391
19391
|
},
|
|
19392
19392
|
];
|
|
19393
19393
|
// ----- @typescript-eslint/switch-exhaustiveness-check -----
|
|
@@ -21360,7 +21360,7 @@ type RuleOptionsUnion = BuiltinsRuleOptions &
|
|
|
21360
21360
|
type Awaitable<T> = T | Promise<T>;
|
|
21361
21361
|
type Rules = RuleOptionsUnion;
|
|
21362
21362
|
type LanguageOptions = Linter.Config["languageOptions"];
|
|
21363
|
-
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"
|
|
21363
|
+
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
21364
21364
|
/**
|
|
21365
21365
|
* Custom name of each config item
|
|
21366
21366
|
*/
|
|
@@ -21371,12 +21371,6 @@ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plug
|
|
|
21371
21371
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
21372
21372
|
*/
|
|
21373
21373
|
plugins?: Record<string, any>;
|
|
21374
|
-
/**
|
|
21375
|
-
* An object containing a name-value mapping of rules to use.
|
|
21376
|
-
*/
|
|
21377
|
-
rules?: {
|
|
21378
|
-
[key: string]: Linter.RuleEntry;
|
|
21379
|
-
} & Rules;
|
|
21380
21374
|
};
|
|
21381
21375
|
type RuleName = keyof Rules;
|
|
21382
21376
|
type TypedFlatConfigItemWithId = TypedFlatConfigItem & {
|
|
@@ -21625,6 +21619,8 @@ declare const SLOW_RULES: RuleName[];
|
|
|
21625
21619
|
* Construct an array of ESLint flat config items.
|
|
21626
21620
|
*/
|
|
21627
21621
|
declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
21622
|
+
declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
|
|
21623
|
+
type DefineConfig = typeof defineConfig;
|
|
21628
21624
|
|
|
21629
21625
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
21630
21626
|
declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
|
|
@@ -22626,8 +22622,7 @@ declare function safeImportPluginTailwind(): Promise<neverthrow.Ok<{
|
|
|
22626
22622
|
pluginTailwind: any;
|
|
22627
22623
|
}, never> | neverthrow.Err<never, Error>>;
|
|
22628
22624
|
|
|
22629
|
-
declare
|
|
22630
|
-
declare function jsseReact(): Promise<TypedFlatConfigItem[]>;
|
|
22625
|
+
declare const jsseReact: DefineConfig;
|
|
22631
22626
|
|
|
22632
22627
|
/**
|
|
22633
22628
|
* Combine array and non-array configs into a single array.
|
|
@@ -22675,5 +22670,8 @@ declare const parserPlain: {
|
|
|
22675
22670
|
};
|
|
22676
22671
|
};
|
|
22677
22672
|
declare function turnOffRules(configs: TypedFlatConfigItem[], off: string[]): TypedFlatConfigItem[];
|
|
22673
|
+
declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, level: Linter.RuleSeverity): Linter.RuleEntry<any>;
|
|
22674
|
+
declare function error2warn<T extends TypedFlatConfigItem>(configs: T[]): T[];
|
|
22675
|
+
declare function warn2error<T extends TypedFlatConfigItem>(configs: T[]): T[];
|
|
22678
22676
|
|
|
22679
|
-
export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact,
|
|
22677
|
+
export { type Awaitable, type EslintConfigFn, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML, type LanguageOptions, type OptionsCommon, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsPrefix, type OptionsReact, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type PromiseFlatConfigItem, type RenamePefix, type RuleName, type Rules, SLOW_RULES, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, type TypedFlatConfigItem, type TypedFlatConfigItemWithId, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importPluginTsdoc, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, renameRules, safeImportPluginTailwind, turnOffRules, uniqueStrings, warn2error };
|