@jsse/eslint-config 0.1.6 → 0.1.7
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 +4 -3
- package/dist/cli.js +4 -3
- package/dist/index.cjs +299 -181
- package/dist/index.d.cts +1805 -499
- package/dist/index.d.ts +1805 -499
- package/dist/index.js +303 -186
- package/package.json +27 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,27 @@
|
|
|
1
|
+
import * as eslint from 'eslint';
|
|
1
2
|
import { Linter } from 'eslint';
|
|
2
3
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
4
|
import * as parser from '@typescript-eslint/parser';
|
|
4
5
|
export { parser as parserTs };
|
|
5
6
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
|
|
8
|
+
import * as eslint_plugin_yml_lib_types_js from 'eslint-plugin-yml/lib/types.js';
|
|
9
|
+
import * as eslint_plugin_yml_lib_meta_js from 'eslint-plugin-yml/lib/meta.js';
|
|
10
|
+
import * as yaml_eslint_parser from 'yaml-eslint-parser';
|
|
11
|
+
import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
|
|
12
|
+
import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
|
|
13
|
+
import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
|
|
8
14
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
9
|
-
export { default as pluginEslintComments } from 'eslint-plugin-eslint-comments';
|
|
10
15
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
11
16
|
export { eslintPluginImportX as pluginImport };
|
|
12
|
-
export { default as pluginJsdoc } from 'eslint-plugin-jsdoc';
|
|
13
|
-
import * as eslintPluginJsonc from 'eslint-plugin-jsonc';
|
|
14
|
-
export { eslintPluginJsonc as pluginJsonc };
|
|
15
|
-
export { default as pluginMarkdown } from 'eslint-plugin-markdown';
|
|
16
17
|
export { default as pluginN } from 'eslint-plugin-n';
|
|
17
|
-
export { default as
|
|
18
|
+
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
19
|
+
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
18
20
|
export { default as pluginPerfectionist } from 'eslint-plugin-perfectionist';
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
import * as eslintPluginReactRefresh from 'eslint-plugin-react-refresh';
|
|
22
|
-
export { eslintPluginReactRefresh as pluginReactRefresh };
|
|
21
|
+
export { default as pluginEslintComments } from 'eslint-plugin-eslint-comments';
|
|
22
|
+
export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
|
|
23
23
|
import * as eslintPluginSortKeys from 'eslint-plugin-sort-keys';
|
|
24
24
|
export { eslintPluginSortKeys as pluginSortKeys };
|
|
25
|
-
export { default as pluginTailwind } from 'eslint-plugin-tailwindcss';
|
|
26
|
-
export { default as pluginUnicorn } from 'eslint-plugin-unicorn';
|
|
27
|
-
export { default as pluginUnusedImports } from 'eslint-plugin-unused-imports';
|
|
28
|
-
export { default as pluginVitest } from 'eslint-plugin-vitest';
|
|
29
|
-
export { default as parserJsonc } from 'jsonc-eslint-parser';
|
|
30
25
|
|
|
31
26
|
/* eslint-disable */
|
|
32
27
|
/* prettier-ignore */
|
|
@@ -2318,6 +2313,7 @@ interface RuleOptions {
|
|
|
2318
2313
|
* @see https://reactjs.org/docs/hooks-rules.html
|
|
2319
2314
|
*/
|
|
2320
2315
|
"react-hooks/rules-of-hooks"?: Linter.RuleEntry<[]>;
|
|
2316
|
+
"react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
|
|
2321
2317
|
/**
|
|
2322
2318
|
* Enforces consistent naming for boolean props
|
|
2323
2319
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/boolean-prop-naming.md
|
|
@@ -2825,6 +2821,46 @@ interface RuleOptions {
|
|
|
2825
2821
|
* @see https://github.com/jsx-eslint/eslint-plugin-react/tree/master/docs/rules/void-dom-elements-no-children.md
|
|
2826
2822
|
*/
|
|
2827
2823
|
"react/void-dom-elements-no-children"?: Linter.RuleEntry<[]>;
|
|
2824
|
+
/**
|
|
2825
|
+
* Enforce a consistent and logical order of the Tailwind CSS classnames
|
|
2826
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/classnames-order.md
|
|
2827
|
+
*/
|
|
2828
|
+
"tailwindcss/classnames-order"?: Linter.RuleEntry<TailwindcssClassnamesOrder>;
|
|
2829
|
+
/**
|
|
2830
|
+
* Warns about dash prefixed classnames using arbitrary values
|
|
2831
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-negative-arbitrary-values.md
|
|
2832
|
+
*/
|
|
2833
|
+
"tailwindcss/enforces-negative-arbitrary-values"?: Linter.RuleEntry<TailwindcssEnforcesNegativeArbitraryValues>;
|
|
2834
|
+
/**
|
|
2835
|
+
* Enforces the usage of shorthand Tailwind CSS classnames
|
|
2836
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/enforces-shorthand.md
|
|
2837
|
+
*/
|
|
2838
|
+
"tailwindcss/enforces-shorthand"?: Linter.RuleEntry<TailwindcssEnforcesShorthand>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Detect obsolete classnames when upgrading to Tailwind CSS v3
|
|
2841
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/migration-from-tailwind-2.md
|
|
2842
|
+
*/
|
|
2843
|
+
"tailwindcss/migration-from-tailwind-2"?: Linter.RuleEntry<TailwindcssMigrationFromTailwind2>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Forbid using arbitrary values in classnames
|
|
2846
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-arbitrary-value.md
|
|
2847
|
+
*/
|
|
2848
|
+
"tailwindcss/no-arbitrary-value"?: Linter.RuleEntry<TailwindcssNoArbitraryValue>;
|
|
2849
|
+
/**
|
|
2850
|
+
* Avoid contradicting Tailwind CSS classnames (e.g. "w-3 w-5")
|
|
2851
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-contradicting-classname.md
|
|
2852
|
+
*/
|
|
2853
|
+
"tailwindcss/no-contradicting-classname"?: Linter.RuleEntry<TailwindcssNoContradictingClassname>;
|
|
2854
|
+
/**
|
|
2855
|
+
* Detect classnames which do not belong to Tailwind CSS
|
|
2856
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-custom-classname.md
|
|
2857
|
+
*/
|
|
2858
|
+
"tailwindcss/no-custom-classname"?: Linter.RuleEntry<TailwindcssNoCustomClassname>;
|
|
2859
|
+
/**
|
|
2860
|
+
* Forbid using arbitrary values in classnames when an equivalent preset exists
|
|
2861
|
+
* @see https://github.com/francoismassart/eslint-plugin-tailwindcss/tree/master/docs/rules/no-unnecessary-arbitrary-value.md
|
|
2862
|
+
*/
|
|
2863
|
+
"tailwindcss/no-unnecessary-arbitrary-value"?: Linter.RuleEntry<TailwindcssNoUnnecessaryArbitraryValue>;
|
|
2828
2864
|
/**
|
|
2829
2865
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
2830
2866
|
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v51.0.1/docs/rules/better-regex.md
|
|
@@ -3912,12 +3948,18 @@ type StylisticArrayBracketSpacing =
|
|
|
3912
3948
|
type StylisticArrayElementNewline =
|
|
3913
3949
|
| []
|
|
3914
3950
|
| [
|
|
3915
|
-
|
|
|
3951
|
+
| _StylisticArrayElementNewlineBasicConfig
|
|
3916
3952
|
| {
|
|
3917
|
-
ArrayExpression?:
|
|
3918
|
-
ArrayPattern?:
|
|
3953
|
+
ArrayExpression?: _StylisticArrayElementNewlineBasicConfig;
|
|
3954
|
+
ArrayPattern?: _StylisticArrayElementNewlineBasicConfig;
|
|
3919
3955
|
},
|
|
3920
3956
|
];
|
|
3957
|
+
type _StylisticArrayElementNewlineBasicConfig =
|
|
3958
|
+
| ("always" | "never" | "consistent")
|
|
3959
|
+
| {
|
|
3960
|
+
multiline?: boolean;
|
|
3961
|
+
minItems?: number | null;
|
|
3962
|
+
};
|
|
3921
3963
|
// ----- @stylistic/arrow-parens -----
|
|
3922
3964
|
type StylisticArrowParens =
|
|
3923
3965
|
| []
|
|
@@ -3953,18 +3995,29 @@ type StylisticBraceStyle =
|
|
|
3953
3995
|
type StylisticCommaDangle =
|
|
3954
3996
|
| []
|
|
3955
3997
|
| [
|
|
3956
|
-
|
|
|
3998
|
+
| _StylisticCommaDangleValue
|
|
3957
3999
|
| {
|
|
3958
|
-
arrays?:
|
|
3959
|
-
objects?:
|
|
3960
|
-
imports?:
|
|
3961
|
-
exports?:
|
|
3962
|
-
functions?:
|
|
3963
|
-
enums?:
|
|
3964
|
-
generics?:
|
|
3965
|
-
tuples?:
|
|
4000
|
+
arrays?: _StylisticCommaDangleValueWithIgnore;
|
|
4001
|
+
objects?: _StylisticCommaDangleValueWithIgnore;
|
|
4002
|
+
imports?: _StylisticCommaDangleValueWithIgnore;
|
|
4003
|
+
exports?: _StylisticCommaDangleValueWithIgnore;
|
|
4004
|
+
functions?: _StylisticCommaDangleValueWithIgnore;
|
|
4005
|
+
enums?: _StylisticCommaDangleValueWithIgnore;
|
|
4006
|
+
generics?: _StylisticCommaDangleValueWithIgnore;
|
|
4007
|
+
tuples?: _StylisticCommaDangleValueWithIgnore;
|
|
3966
4008
|
},
|
|
3967
4009
|
];
|
|
4010
|
+
type _StylisticCommaDangleValue =
|
|
4011
|
+
| "always-multiline"
|
|
4012
|
+
| "always"
|
|
4013
|
+
| "never"
|
|
4014
|
+
| "only-multiline";
|
|
4015
|
+
type _StylisticCommaDangleValueWithIgnore =
|
|
4016
|
+
| "always-multiline"
|
|
4017
|
+
| "always"
|
|
4018
|
+
| "never"
|
|
4019
|
+
| "only-multiline"
|
|
4020
|
+
| "ignore";
|
|
3968
4021
|
// ----- @stylistic/comma-spacing -----
|
|
3969
4022
|
type StylisticCommaSpacing =
|
|
3970
4023
|
| []
|
|
@@ -4161,18 +4214,18 @@ type StylisticJsxCurlyNewline =
|
|
|
4161
4214
|
type StylisticJsxCurlySpacing =
|
|
4162
4215
|
| []
|
|
4163
4216
|
| [
|
|
4164
|
-
| (
|
|
4165
|
-
attributes?:
|
|
4166
|
-
children?:
|
|
4217
|
+
| (_StylisticJsxCurlySpacing_BasicConfig & {
|
|
4218
|
+
attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4219
|
+
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4167
4220
|
[k: string]: unknown | undefined;
|
|
4168
4221
|
})
|
|
4169
4222
|
| ("always" | "never"),
|
|
4170
4223
|
]
|
|
4171
4224
|
| [
|
|
4172
4225
|
(
|
|
4173
|
-
| (
|
|
4174
|
-
attributes?:
|
|
4175
|
-
children?:
|
|
4226
|
+
| (_StylisticJsxCurlySpacing_BasicConfig & {
|
|
4227
|
+
attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4228
|
+
children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
|
|
4176
4229
|
[k: string]: unknown | undefined;
|
|
4177
4230
|
})
|
|
4178
4231
|
| ("always" | "never")
|
|
@@ -4185,6 +4238,18 @@ type StylisticJsxCurlySpacing =
|
|
|
4185
4238
|
};
|
|
4186
4239
|
},
|
|
4187
4240
|
];
|
|
4241
|
+
type _StylisticJsxCurlySpacingBasicConfigOrBoolean =
|
|
4242
|
+
| _StylisticJsxCurlySpacing_BasicConfig
|
|
4243
|
+
| boolean;
|
|
4244
|
+
interface _StylisticJsxCurlySpacing_BasicConfig {
|
|
4245
|
+
when?: "always" | "never";
|
|
4246
|
+
allowMultiline?: boolean;
|
|
4247
|
+
spacing?: {
|
|
4248
|
+
objectLiterals?: "always" | "never";
|
|
4249
|
+
[k: string]: unknown | undefined;
|
|
4250
|
+
};
|
|
4251
|
+
[k: string]: unknown | undefined;
|
|
4252
|
+
}
|
|
4188
4253
|
// ----- @stylistic/jsx-equals-spacing -----
|
|
4189
4254
|
type StylisticJsxEqualsSpacing = [] | ["always" | "never"];
|
|
4190
4255
|
// ----- @stylistic/jsx-first-prop-new-line -----
|
|
@@ -4861,12 +4926,22 @@ type StylisticMemberDelimiterStyle =
|
|
|
4861
4926
|
requireLast?: boolean;
|
|
4862
4927
|
};
|
|
4863
4928
|
overrides?: {
|
|
4864
|
-
interface?:
|
|
4865
|
-
typeLiteral?:
|
|
4929
|
+
interface?: _StylisticMemberDelimiterStyle_DelimiterConfig;
|
|
4930
|
+
typeLiteral?: _StylisticMemberDelimiterStyle_DelimiterConfig;
|
|
4866
4931
|
};
|
|
4867
4932
|
multilineDetection?: "brackets" | "last-member";
|
|
4868
4933
|
},
|
|
4869
4934
|
];
|
|
4935
|
+
interface _StylisticMemberDelimiterStyle_DelimiterConfig {
|
|
4936
|
+
multiline?: {
|
|
4937
|
+
delimiter?: "none" | "semi" | "comma";
|
|
4938
|
+
requireLast?: boolean;
|
|
4939
|
+
};
|
|
4940
|
+
singleline?: {
|
|
4941
|
+
delimiter?: "semi" | "comma";
|
|
4942
|
+
requireLast?: boolean;
|
|
4943
|
+
};
|
|
4944
|
+
}
|
|
4870
4945
|
// ----- @stylistic/multiline-ternary -----
|
|
4871
4946
|
type StylisticMultilineTernary =
|
|
4872
4947
|
| []
|
|
@@ -5173,10 +5248,153 @@ type StylisticPaddedBlocks =
|
|
|
5173
5248
|
allowSingleLineBlocks?: boolean;
|
|
5174
5249
|
},
|
|
5175
5250
|
];
|
|
5251
|
+
// ----- @stylistic/padding-line-between-statements -----
|
|
5252
|
+
type _StylisticPaddingLineBetweenStatementsPaddingType =
|
|
5253
|
+
| "any"
|
|
5254
|
+
| "never"
|
|
5255
|
+
| "always";
|
|
5256
|
+
type _StylisticPaddingLineBetweenStatementsStatementType =
|
|
5257
|
+
| (
|
|
5258
|
+
| "*"
|
|
5259
|
+
| "block-like"
|
|
5260
|
+
| "exports"
|
|
5261
|
+
| "require"
|
|
5262
|
+
| "directive"
|
|
5263
|
+
| "expression"
|
|
5264
|
+
| "iife"
|
|
5265
|
+
| "multiline-block-like"
|
|
5266
|
+
| "multiline-expression"
|
|
5267
|
+
| "multiline-const"
|
|
5268
|
+
| "multiline-let"
|
|
5269
|
+
| "multiline-var"
|
|
5270
|
+
| "singleline-const"
|
|
5271
|
+
| "singleline-let"
|
|
5272
|
+
| "singleline-var"
|
|
5273
|
+
| "block"
|
|
5274
|
+
| "empty"
|
|
5275
|
+
| "function"
|
|
5276
|
+
| "break"
|
|
5277
|
+
| "case"
|
|
5278
|
+
| "class"
|
|
5279
|
+
| "const"
|
|
5280
|
+
| "continue"
|
|
5281
|
+
| "debugger"
|
|
5282
|
+
| "default"
|
|
5283
|
+
| "do"
|
|
5284
|
+
| "export"
|
|
5285
|
+
| "for"
|
|
5286
|
+
| "if"
|
|
5287
|
+
| "import"
|
|
5288
|
+
| "let"
|
|
5289
|
+
| "return"
|
|
5290
|
+
| "switch"
|
|
5291
|
+
| "throw"
|
|
5292
|
+
| "try"
|
|
5293
|
+
| "var"
|
|
5294
|
+
| "while"
|
|
5295
|
+
| "with"
|
|
5296
|
+
| "cjs-export"
|
|
5297
|
+
| "cjs-import"
|
|
5298
|
+
| "interface"
|
|
5299
|
+
| "type"
|
|
5300
|
+
| "function-overload"
|
|
5301
|
+
)
|
|
5302
|
+
| [
|
|
5303
|
+
(
|
|
5304
|
+
| "*"
|
|
5305
|
+
| "block-like"
|
|
5306
|
+
| "exports"
|
|
5307
|
+
| "require"
|
|
5308
|
+
| "directive"
|
|
5309
|
+
| "expression"
|
|
5310
|
+
| "iife"
|
|
5311
|
+
| "multiline-block-like"
|
|
5312
|
+
| "multiline-expression"
|
|
5313
|
+
| "multiline-const"
|
|
5314
|
+
| "multiline-let"
|
|
5315
|
+
| "multiline-var"
|
|
5316
|
+
| "singleline-const"
|
|
5317
|
+
| "singleline-let"
|
|
5318
|
+
| "singleline-var"
|
|
5319
|
+
| "block"
|
|
5320
|
+
| "empty"
|
|
5321
|
+
| "function"
|
|
5322
|
+
| "break"
|
|
5323
|
+
| "case"
|
|
5324
|
+
| "class"
|
|
5325
|
+
| "const"
|
|
5326
|
+
| "continue"
|
|
5327
|
+
| "debugger"
|
|
5328
|
+
| "default"
|
|
5329
|
+
| "do"
|
|
5330
|
+
| "export"
|
|
5331
|
+
| "for"
|
|
5332
|
+
| "if"
|
|
5333
|
+
| "import"
|
|
5334
|
+
| "let"
|
|
5335
|
+
| "return"
|
|
5336
|
+
| "switch"
|
|
5337
|
+
| "throw"
|
|
5338
|
+
| "try"
|
|
5339
|
+
| "var"
|
|
5340
|
+
| "while"
|
|
5341
|
+
| "with"
|
|
5342
|
+
| "cjs-export"
|
|
5343
|
+
| "cjs-import"
|
|
5344
|
+
| "interface"
|
|
5345
|
+
| "type"
|
|
5346
|
+
| "function-overload"
|
|
5347
|
+
),
|
|
5348
|
+
...(
|
|
5349
|
+
| "*"
|
|
5350
|
+
| "block-like"
|
|
5351
|
+
| "exports"
|
|
5352
|
+
| "require"
|
|
5353
|
+
| "directive"
|
|
5354
|
+
| "expression"
|
|
5355
|
+
| "iife"
|
|
5356
|
+
| "multiline-block-like"
|
|
5357
|
+
| "multiline-expression"
|
|
5358
|
+
| "multiline-const"
|
|
5359
|
+
| "multiline-let"
|
|
5360
|
+
| "multiline-var"
|
|
5361
|
+
| "singleline-const"
|
|
5362
|
+
| "singleline-let"
|
|
5363
|
+
| "singleline-var"
|
|
5364
|
+
| "block"
|
|
5365
|
+
| "empty"
|
|
5366
|
+
| "function"
|
|
5367
|
+
| "break"
|
|
5368
|
+
| "case"
|
|
5369
|
+
| "class"
|
|
5370
|
+
| "const"
|
|
5371
|
+
| "continue"
|
|
5372
|
+
| "debugger"
|
|
5373
|
+
| "default"
|
|
5374
|
+
| "do"
|
|
5375
|
+
| "export"
|
|
5376
|
+
| "for"
|
|
5377
|
+
| "if"
|
|
5378
|
+
| "import"
|
|
5379
|
+
| "let"
|
|
5380
|
+
| "return"
|
|
5381
|
+
| "switch"
|
|
5382
|
+
| "throw"
|
|
5383
|
+
| "try"
|
|
5384
|
+
| "var"
|
|
5385
|
+
| "while"
|
|
5386
|
+
| "with"
|
|
5387
|
+
| "cjs-export"
|
|
5388
|
+
| "cjs-import"
|
|
5389
|
+
| "interface"
|
|
5390
|
+
| "type"
|
|
5391
|
+
| "function-overload"
|
|
5392
|
+
)[],
|
|
5393
|
+
];
|
|
5176
5394
|
type StylisticPaddingLineBetweenStatements = {
|
|
5177
|
-
blankLine:
|
|
5178
|
-
prev:
|
|
5179
|
-
next:
|
|
5395
|
+
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
5396
|
+
prev: _StylisticPaddingLineBetweenStatementsStatementType;
|
|
5397
|
+
next: _StylisticPaddingLineBetweenStatementsStatementType;
|
|
5180
5398
|
}[];
|
|
5181
5399
|
// ----- @stylistic/quote-props -----
|
|
5182
5400
|
type StylisticQuoteProps =
|
|
@@ -5331,15 +5549,19 @@ type StylisticTypeAnnotationSpacing =
|
|
|
5331
5549
|
before?: boolean;
|
|
5332
5550
|
after?: boolean;
|
|
5333
5551
|
overrides?: {
|
|
5334
|
-
colon?:
|
|
5335
|
-
arrow?:
|
|
5336
|
-
variable?:
|
|
5337
|
-
parameter?:
|
|
5338
|
-
property?:
|
|
5339
|
-
returnType?:
|
|
5552
|
+
colon?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5553
|
+
arrow?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5554
|
+
variable?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5555
|
+
parameter?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5556
|
+
property?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5557
|
+
returnType?: _StylisticTypeAnnotationSpacing_SpacingConfig;
|
|
5340
5558
|
};
|
|
5341
5559
|
},
|
|
5342
5560
|
];
|
|
5561
|
+
interface _StylisticTypeAnnotationSpacing_SpacingConfig {
|
|
5562
|
+
before?: boolean;
|
|
5563
|
+
after?: boolean;
|
|
5564
|
+
}
|
|
5343
5565
|
// ----- @stylistic/wrap-iife -----
|
|
5344
5566
|
type StylisticWrapIife =
|
|
5345
5567
|
| []
|
|
@@ -5366,6 +5588,7 @@ type TypescriptEslintArrayType =
|
|
|
5366
5588
|
| [
|
|
5367
5589
|
{
|
|
5368
5590
|
default?: "array" | "generic" | "array-simple";
|
|
5591
|
+
|
|
5369
5592
|
readonly?: "array" | "generic" | "array-simple";
|
|
5370
5593
|
},
|
|
5371
5594
|
];
|
|
@@ -5415,7 +5638,9 @@ type TypescriptEslintBanTypes =
|
|
|
5415
5638
|
| string
|
|
5416
5639
|
| {
|
|
5417
5640
|
message?: string;
|
|
5641
|
+
|
|
5418
5642
|
fixWith?: string;
|
|
5643
|
+
|
|
5419
5644
|
suggest?: string[];
|
|
5420
5645
|
}
|
|
5421
5646
|
)
|
|
@@ -5444,8 +5669,11 @@ type TypescriptEslintClassMethodsUseThis =
|
|
|
5444
5669
|
| [
|
|
5445
5670
|
{
|
|
5446
5671
|
exceptMethods?: string[];
|
|
5672
|
+
|
|
5447
5673
|
enforceForClassFields?: boolean;
|
|
5674
|
+
|
|
5448
5675
|
ignoreOverrideMethods?: boolean;
|
|
5676
|
+
|
|
5449
5677
|
ignoreClassesThatImplementAnInterface?: boolean | "public-fields";
|
|
5450
5678
|
},
|
|
5451
5679
|
];
|
|
@@ -5453,18 +5681,29 @@ type TypescriptEslintClassMethodsUseThis =
|
|
|
5453
5681
|
type TypescriptEslintCommaDangle =
|
|
5454
5682
|
| []
|
|
5455
5683
|
| [
|
|
5456
|
-
|
|
|
5684
|
+
| _TypescriptEslintCommaDangleValue
|
|
5457
5685
|
| {
|
|
5458
|
-
arrays?:
|
|
5459
|
-
objects?:
|
|
5460
|
-
imports?:
|
|
5461
|
-
exports?:
|
|
5462
|
-
functions?:
|
|
5463
|
-
enums?:
|
|
5464
|
-
generics?:
|
|
5465
|
-
tuples?:
|
|
5686
|
+
arrays?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5687
|
+
objects?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5688
|
+
imports?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5689
|
+
exports?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5690
|
+
functions?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5691
|
+
enums?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5692
|
+
generics?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5693
|
+
tuples?: _TypescriptEslintCommaDangleValueWithIgnore;
|
|
5466
5694
|
},
|
|
5467
5695
|
];
|
|
5696
|
+
type _TypescriptEslintCommaDangleValue =
|
|
5697
|
+
| "always-multiline"
|
|
5698
|
+
| "always"
|
|
5699
|
+
| "never"
|
|
5700
|
+
| "only-multiline";
|
|
5701
|
+
type _TypescriptEslintCommaDangleValueWithIgnore =
|
|
5702
|
+
| "always-multiline"
|
|
5703
|
+
| "always"
|
|
5704
|
+
| "never"
|
|
5705
|
+
| "only-multiline"
|
|
5706
|
+
| "ignore";
|
|
5468
5707
|
// ----- @typescript-eslint/comma-spacing -----
|
|
5469
5708
|
type TypescriptEslintCommaSpacing =
|
|
5470
5709
|
| []
|
|
@@ -5543,12 +5782,19 @@ type TypescriptEslintExplicitFunctionReturnType =
|
|
|
5543
5782
|
| [
|
|
5544
5783
|
{
|
|
5545
5784
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean;
|
|
5785
|
+
|
|
5546
5786
|
allowExpressions?: boolean;
|
|
5787
|
+
|
|
5547
5788
|
allowHigherOrderFunctions?: boolean;
|
|
5789
|
+
|
|
5548
5790
|
allowTypedFunctionExpressions?: boolean;
|
|
5791
|
+
|
|
5549
5792
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
5793
|
+
|
|
5550
5794
|
allowFunctionsWithoutTypeParameters?: boolean;
|
|
5795
|
+
|
|
5551
5796
|
allowedNames?: string[];
|
|
5797
|
+
|
|
5552
5798
|
allowIIFEs?: boolean;
|
|
5553
5799
|
},
|
|
5554
5800
|
];
|
|
@@ -5574,9 +5820,13 @@ type TypescriptEslintExplicitModuleBoundaryTypes =
|
|
|
5574
5820
|
| [
|
|
5575
5821
|
{
|
|
5576
5822
|
allowArgumentsExplicitlyTypedAsAny?: boolean;
|
|
5823
|
+
|
|
5577
5824
|
allowDirectConstAssertionInArrowFunctions?: boolean;
|
|
5825
|
+
|
|
5578
5826
|
allowedNames?: string[];
|
|
5827
|
+
|
|
5579
5828
|
allowHigherOrderFunctions?: boolean;
|
|
5829
|
+
|
|
5580
5830
|
allowTypedFunctionExpressions?: boolean;
|
|
5581
5831
|
},
|
|
5582
5832
|
];
|
|
@@ -6083,23 +6333,13 @@ type TypescriptEslintMemberDelimiterStyle =
|
|
|
6083
6333
|
requireLast?: boolean;
|
|
6084
6334
|
};
|
|
6085
6335
|
overrides?: {
|
|
6086
|
-
interface?:
|
|
6087
|
-
typeLiteral?:
|
|
6336
|
+
interface?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
|
|
6337
|
+
typeLiteral?: _TypescriptEslintMemberDelimiterStyle_DelimiterConfig;
|
|
6088
6338
|
};
|
|
6089
6339
|
multilineDetection?: "brackets" | "last-member";
|
|
6090
6340
|
},
|
|
6091
6341
|
];
|
|
6092
|
-
interface
|
|
6093
|
-
multiline?: {
|
|
6094
|
-
delimiter?: "none" | "semi" | "comma";
|
|
6095
|
-
requireLast?: boolean;
|
|
6096
|
-
};
|
|
6097
|
-
singleline?: {
|
|
6098
|
-
delimiter?: "semi" | "comma";
|
|
6099
|
-
requireLast?: boolean;
|
|
6100
|
-
};
|
|
6101
|
-
}
|
|
6102
|
-
interface DelimiterConfig {
|
|
6342
|
+
interface _TypescriptEslintMemberDelimiterStyle_DelimiterConfig {
|
|
6103
6343
|
multiline?: {
|
|
6104
6344
|
delimiter?: "none" | "semi" | "comma";
|
|
6105
6345
|
requireLast?: boolean;
|
|
@@ -8128,33 +8368,40 @@ type TypescriptEslintMemberOrdering =
|
|
|
8128
8368
|
// ----- @typescript-eslint/method-signature-style -----
|
|
8129
8369
|
type TypescriptEslintMethodSignatureStyle = [] | ["property" | "method"];
|
|
8130
8370
|
// ----- @typescript-eslint/naming-convention -----
|
|
8131
|
-
type
|
|
8132
|
-
|
|
8371
|
+
type _TypescriptEslintNamingConventionFormatOptionsConfig =
|
|
8372
|
+
| _TypescriptEslintNamingConventionPredefinedFormats[]
|
|
8373
|
+
| null;
|
|
8374
|
+
type _TypescriptEslintNamingConventionPredefinedFormats =
|
|
8133
8375
|
| "camelCase"
|
|
8134
8376
|
| "strictCamelCase"
|
|
8135
8377
|
| "PascalCase"
|
|
8136
8378
|
| "StrictPascalCase"
|
|
8137
8379
|
| "snake_case"
|
|
8138
8380
|
| "UPPER_CASE";
|
|
8139
|
-
type
|
|
8381
|
+
type _TypescriptEslintNamingConventionUnderscoreOptions =
|
|
8140
8382
|
| "forbid"
|
|
8141
8383
|
| "allow"
|
|
8142
8384
|
| "require"
|
|
8143
8385
|
| "requireDouble"
|
|
8144
8386
|
| "allowDouble"
|
|
8145
8387
|
| "allowSingleOrDouble";
|
|
8146
|
-
type
|
|
8147
|
-
type
|
|
8388
|
+
type _TypescriptEslintNamingConvention_PrefixSuffixConfig = string[];
|
|
8389
|
+
type _TypescriptEslintNamingConventionTypeModifiers =
|
|
8390
|
+
| "boolean"
|
|
8391
|
+
| "string"
|
|
8392
|
+
| "number"
|
|
8393
|
+
| "function"
|
|
8394
|
+
| "array";
|
|
8148
8395
|
type TypescriptEslintNamingConvention = (
|
|
8149
8396
|
| {
|
|
8150
|
-
format:
|
|
8151
|
-
custom?:
|
|
8152
|
-
leadingUnderscore?:
|
|
8153
|
-
trailingUnderscore?:
|
|
8154
|
-
prefix?:
|
|
8155
|
-
suffix?:
|
|
8397
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8398
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8399
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8400
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8401
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8402
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8156
8403
|
failureMessage?: string;
|
|
8157
|
-
filter?: string |
|
|
8404
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8158
8405
|
selector: (
|
|
8159
8406
|
| "default"
|
|
8160
8407
|
| "variableLike"
|
|
@@ -8202,17 +8449,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8202
8449
|
| "default"
|
|
8203
8450
|
| "namespace"
|
|
8204
8451
|
)[];
|
|
8205
|
-
types?:
|
|
8452
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8206
8453
|
}
|
|
8207
8454
|
| {
|
|
8208
|
-
format:
|
|
8209
|
-
custom?:
|
|
8210
|
-
leadingUnderscore?:
|
|
8211
|
-
trailingUnderscore?:
|
|
8212
|
-
prefix?:
|
|
8213
|
-
suffix?:
|
|
8455
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8456
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8457
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8458
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8459
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8460
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8214
8461
|
failureMessage?: string;
|
|
8215
|
-
filter?: string |
|
|
8462
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8216
8463
|
selector: "default";
|
|
8217
8464
|
modifiers?: (
|
|
8218
8465
|
| "const"
|
|
@@ -8235,26 +8482,26 @@ type TypescriptEslintNamingConvention = (
|
|
|
8235
8482
|
)[];
|
|
8236
8483
|
}
|
|
8237
8484
|
| {
|
|
8238
|
-
format:
|
|
8239
|
-
custom?:
|
|
8240
|
-
leadingUnderscore?:
|
|
8241
|
-
trailingUnderscore?:
|
|
8242
|
-
prefix?:
|
|
8243
|
-
suffix?:
|
|
8485
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8486
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8487
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8488
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8489
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8490
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8244
8491
|
failureMessage?: string;
|
|
8245
|
-
filter?: string |
|
|
8492
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8246
8493
|
selector: "variableLike";
|
|
8247
8494
|
modifiers?: ("unused" | "async")[];
|
|
8248
8495
|
}
|
|
8249
8496
|
| {
|
|
8250
|
-
format:
|
|
8251
|
-
custom?:
|
|
8252
|
-
leadingUnderscore?:
|
|
8253
|
-
trailingUnderscore?:
|
|
8254
|
-
prefix?:
|
|
8255
|
-
suffix?:
|
|
8497
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8498
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8499
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8500
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8501
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8502
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8256
8503
|
failureMessage?: string;
|
|
8257
|
-
filter?: string |
|
|
8504
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8258
8505
|
selector: "variable";
|
|
8259
8506
|
modifiers?: (
|
|
8260
8507
|
| "const"
|
|
@@ -8264,42 +8511,42 @@ type TypescriptEslintNamingConvention = (
|
|
|
8264
8511
|
| "unused"
|
|
8265
8512
|
| "async"
|
|
8266
8513
|
)[];
|
|
8267
|
-
types?:
|
|
8514
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8268
8515
|
}
|
|
8269
8516
|
| {
|
|
8270
|
-
format:
|
|
8271
|
-
custom?:
|
|
8272
|
-
leadingUnderscore?:
|
|
8273
|
-
trailingUnderscore?:
|
|
8274
|
-
prefix?:
|
|
8275
|
-
suffix?:
|
|
8517
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8518
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8519
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8520
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8521
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8522
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8276
8523
|
failureMessage?: string;
|
|
8277
|
-
filter?: string |
|
|
8524
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8278
8525
|
selector: "function";
|
|
8279
8526
|
modifiers?: ("exported" | "global" | "unused" | "async")[];
|
|
8280
8527
|
}
|
|
8281
8528
|
| {
|
|
8282
|
-
format:
|
|
8283
|
-
custom?:
|
|
8284
|
-
leadingUnderscore?:
|
|
8285
|
-
trailingUnderscore?:
|
|
8286
|
-
prefix?:
|
|
8287
|
-
suffix?:
|
|
8529
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8530
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8531
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8532
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8533
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8534
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8288
8535
|
failureMessage?: string;
|
|
8289
|
-
filter?: string |
|
|
8536
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8290
8537
|
selector: "parameter";
|
|
8291
8538
|
modifiers?: ("destructured" | "unused")[];
|
|
8292
|
-
types?:
|
|
8539
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8293
8540
|
}
|
|
8294
8541
|
| {
|
|
8295
|
-
format:
|
|
8296
|
-
custom?:
|
|
8297
|
-
leadingUnderscore?:
|
|
8298
|
-
trailingUnderscore?:
|
|
8299
|
-
prefix?:
|
|
8300
|
-
suffix?:
|
|
8542
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8543
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8544
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8545
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8546
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8547
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8301
8548
|
failureMessage?: string;
|
|
8302
|
-
filter?: string |
|
|
8549
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8303
8550
|
selector: "memberLike";
|
|
8304
8551
|
modifiers?: (
|
|
8305
8552
|
| "abstract"
|
|
@@ -8315,14 +8562,14 @@ type TypescriptEslintNamingConvention = (
|
|
|
8315
8562
|
)[];
|
|
8316
8563
|
}
|
|
8317
8564
|
| {
|
|
8318
|
-
format:
|
|
8319
|
-
custom?:
|
|
8320
|
-
leadingUnderscore?:
|
|
8321
|
-
trailingUnderscore?:
|
|
8322
|
-
prefix?:
|
|
8323
|
-
suffix?:
|
|
8565
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8566
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8567
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8568
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8569
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8570
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8324
8571
|
failureMessage?: string;
|
|
8325
|
-
filter?: string |
|
|
8572
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8326
8573
|
selector: "classProperty";
|
|
8327
8574
|
modifiers?: (
|
|
8328
8575
|
| "abstract"
|
|
@@ -8335,56 +8582,56 @@ type TypescriptEslintNamingConvention = (
|
|
|
8335
8582
|
| "static"
|
|
8336
8583
|
| "override"
|
|
8337
8584
|
)[];
|
|
8338
|
-
types?:
|
|
8585
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8339
8586
|
}
|
|
8340
8587
|
| {
|
|
8341
|
-
format:
|
|
8342
|
-
custom?:
|
|
8343
|
-
leadingUnderscore?:
|
|
8344
|
-
trailingUnderscore?:
|
|
8345
|
-
prefix?:
|
|
8346
|
-
suffix?:
|
|
8588
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8589
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8590
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8591
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8592
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8593
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8347
8594
|
failureMessage?: string;
|
|
8348
|
-
filter?: string |
|
|
8595
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8349
8596
|
selector: "objectLiteralProperty";
|
|
8350
8597
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
8351
|
-
types?:
|
|
8598
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8352
8599
|
}
|
|
8353
8600
|
| {
|
|
8354
|
-
format:
|
|
8355
|
-
custom?:
|
|
8356
|
-
leadingUnderscore?:
|
|
8357
|
-
trailingUnderscore?:
|
|
8358
|
-
prefix?:
|
|
8359
|
-
suffix?:
|
|
8601
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8602
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8603
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8604
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8605
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8606
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8360
8607
|
failureMessage?: string;
|
|
8361
|
-
filter?: string |
|
|
8608
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8362
8609
|
selector: "typeProperty";
|
|
8363
8610
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[];
|
|
8364
|
-
types?:
|
|
8611
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8365
8612
|
}
|
|
8366
8613
|
| {
|
|
8367
|
-
format:
|
|
8368
|
-
custom?:
|
|
8369
|
-
leadingUnderscore?:
|
|
8370
|
-
trailingUnderscore?:
|
|
8371
|
-
prefix?:
|
|
8372
|
-
suffix?:
|
|
8614
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8615
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8616
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8617
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8618
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8619
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8373
8620
|
failureMessage?: string;
|
|
8374
|
-
filter?: string |
|
|
8621
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8375
8622
|
selector: "parameterProperty";
|
|
8376
8623
|
modifiers?: ("private" | "protected" | "public" | "readonly")[];
|
|
8377
|
-
types?:
|
|
8624
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8378
8625
|
}
|
|
8379
8626
|
| {
|
|
8380
|
-
format:
|
|
8381
|
-
custom?:
|
|
8382
|
-
leadingUnderscore?:
|
|
8383
|
-
trailingUnderscore?:
|
|
8384
|
-
prefix?:
|
|
8385
|
-
suffix?:
|
|
8627
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8628
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8629
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8630
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8631
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8632
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8386
8633
|
failureMessage?: string;
|
|
8387
|
-
filter?: string |
|
|
8634
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8388
8635
|
selector: "property";
|
|
8389
8636
|
modifiers?: (
|
|
8390
8637
|
| "abstract"
|
|
@@ -8398,17 +8645,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8398
8645
|
| "override"
|
|
8399
8646
|
| "async"
|
|
8400
8647
|
)[];
|
|
8401
|
-
types?:
|
|
8648
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8402
8649
|
}
|
|
8403
8650
|
| {
|
|
8404
|
-
format:
|
|
8405
|
-
custom?:
|
|
8406
|
-
leadingUnderscore?:
|
|
8407
|
-
trailingUnderscore?:
|
|
8408
|
-
prefix?:
|
|
8409
|
-
suffix?:
|
|
8651
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8652
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8653
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8654
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8655
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8656
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8410
8657
|
failureMessage?: string;
|
|
8411
|
-
filter?: string |
|
|
8658
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8412
8659
|
selector: "classMethod";
|
|
8413
8660
|
modifiers?: (
|
|
8414
8661
|
| "abstract"
|
|
@@ -8423,38 +8670,38 @@ type TypescriptEslintNamingConvention = (
|
|
|
8423
8670
|
)[];
|
|
8424
8671
|
}
|
|
8425
8672
|
| {
|
|
8426
|
-
format:
|
|
8427
|
-
custom?:
|
|
8428
|
-
leadingUnderscore?:
|
|
8429
|
-
trailingUnderscore?:
|
|
8430
|
-
prefix?:
|
|
8431
|
-
suffix?:
|
|
8673
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8674
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8675
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8676
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8677
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8678
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8432
8679
|
failureMessage?: string;
|
|
8433
|
-
filter?: string |
|
|
8680
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8434
8681
|
selector: "objectLiteralMethod";
|
|
8435
8682
|
modifiers?: ("public" | "requiresQuotes" | "async")[];
|
|
8436
8683
|
}
|
|
8437
8684
|
| {
|
|
8438
|
-
format:
|
|
8439
|
-
custom?:
|
|
8440
|
-
leadingUnderscore?:
|
|
8441
|
-
trailingUnderscore?:
|
|
8442
|
-
prefix?:
|
|
8443
|
-
suffix?:
|
|
8685
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8686
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8687
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8688
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8689
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8690
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8444
8691
|
failureMessage?: string;
|
|
8445
|
-
filter?: string |
|
|
8692
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8446
8693
|
selector: "typeMethod";
|
|
8447
8694
|
modifiers?: ("public" | "requiresQuotes")[];
|
|
8448
8695
|
}
|
|
8449
8696
|
| {
|
|
8450
|
-
format:
|
|
8451
|
-
custom?:
|
|
8452
|
-
leadingUnderscore?:
|
|
8453
|
-
trailingUnderscore?:
|
|
8454
|
-
prefix?:
|
|
8455
|
-
suffix?:
|
|
8697
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8698
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8699
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8700
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8701
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8702
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8456
8703
|
failureMessage?: string;
|
|
8457
|
-
filter?: string |
|
|
8704
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8458
8705
|
selector: "method";
|
|
8459
8706
|
modifiers?: (
|
|
8460
8707
|
| "abstract"
|
|
@@ -8469,14 +8716,14 @@ type TypescriptEslintNamingConvention = (
|
|
|
8469
8716
|
)[];
|
|
8470
8717
|
}
|
|
8471
8718
|
| {
|
|
8472
|
-
format:
|
|
8473
|
-
custom?:
|
|
8474
|
-
leadingUnderscore?:
|
|
8475
|
-
trailingUnderscore?:
|
|
8476
|
-
prefix?:
|
|
8477
|
-
suffix?:
|
|
8719
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8720
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8721
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8722
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8723
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8724
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8478
8725
|
failureMessage?: string;
|
|
8479
|
-
filter?: string |
|
|
8726
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8480
8727
|
selector: "classicAccessor";
|
|
8481
8728
|
modifiers?: (
|
|
8482
8729
|
| "abstract"
|
|
@@ -8487,17 +8734,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8487
8734
|
| "static"
|
|
8488
8735
|
| "override"
|
|
8489
8736
|
)[];
|
|
8490
|
-
types?:
|
|
8737
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8491
8738
|
}
|
|
8492
8739
|
| {
|
|
8493
|
-
format:
|
|
8494
|
-
custom?:
|
|
8495
|
-
leadingUnderscore?:
|
|
8496
|
-
trailingUnderscore?:
|
|
8497
|
-
prefix?:
|
|
8498
|
-
suffix?:
|
|
8740
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8741
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8742
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8743
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8744
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8745
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8499
8746
|
failureMessage?: string;
|
|
8500
|
-
filter?: string |
|
|
8747
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8501
8748
|
selector: "autoAccessor";
|
|
8502
8749
|
modifiers?: (
|
|
8503
8750
|
| "abstract"
|
|
@@ -8508,17 +8755,17 @@ type TypescriptEslintNamingConvention = (
|
|
|
8508
8755
|
| "static"
|
|
8509
8756
|
| "override"
|
|
8510
8757
|
)[];
|
|
8511
|
-
types?:
|
|
8758
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8512
8759
|
}
|
|
8513
8760
|
| {
|
|
8514
|
-
format:
|
|
8515
|
-
custom?:
|
|
8516
|
-
leadingUnderscore?:
|
|
8517
|
-
trailingUnderscore?:
|
|
8518
|
-
prefix?:
|
|
8519
|
-
suffix?:
|
|
8761
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8762
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8763
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8764
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8765
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8766
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8520
8767
|
failureMessage?: string;
|
|
8521
|
-
filter?: string |
|
|
8768
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8522
8769
|
selector: "accessor";
|
|
8523
8770
|
modifiers?: (
|
|
8524
8771
|
| "abstract"
|
|
@@ -8529,106 +8776,106 @@ type TypescriptEslintNamingConvention = (
|
|
|
8529
8776
|
| "static"
|
|
8530
8777
|
| "override"
|
|
8531
8778
|
)[];
|
|
8532
|
-
types?:
|
|
8779
|
+
types?: _TypescriptEslintNamingConventionTypeModifiers[];
|
|
8533
8780
|
}
|
|
8534
8781
|
| {
|
|
8535
|
-
format:
|
|
8536
|
-
custom?:
|
|
8537
|
-
leadingUnderscore?:
|
|
8538
|
-
trailingUnderscore?:
|
|
8539
|
-
prefix?:
|
|
8540
|
-
suffix?:
|
|
8782
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8783
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8784
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8785
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8786
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8787
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8541
8788
|
failureMessage?: string;
|
|
8542
|
-
filter?: string |
|
|
8789
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8543
8790
|
selector: "enumMember";
|
|
8544
8791
|
modifiers?: "requiresQuotes"[];
|
|
8545
8792
|
}
|
|
8546
8793
|
| {
|
|
8547
|
-
format:
|
|
8548
|
-
custom?:
|
|
8549
|
-
leadingUnderscore?:
|
|
8550
|
-
trailingUnderscore?:
|
|
8551
|
-
prefix?:
|
|
8552
|
-
suffix?:
|
|
8794
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8795
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8796
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8797
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8798
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8799
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8553
8800
|
failureMessage?: string;
|
|
8554
|
-
filter?: string |
|
|
8801
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8555
8802
|
selector: "typeLike";
|
|
8556
8803
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
8557
8804
|
}
|
|
8558
8805
|
| {
|
|
8559
|
-
format:
|
|
8560
|
-
custom?:
|
|
8561
|
-
leadingUnderscore?:
|
|
8562
|
-
trailingUnderscore?:
|
|
8563
|
-
prefix?:
|
|
8564
|
-
suffix?:
|
|
8806
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8807
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8808
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8809
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8810
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8811
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8565
8812
|
failureMessage?: string;
|
|
8566
|
-
filter?: string |
|
|
8813
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8567
8814
|
selector: "class";
|
|
8568
8815
|
modifiers?: ("abstract" | "exported" | "unused")[];
|
|
8569
8816
|
}
|
|
8570
8817
|
| {
|
|
8571
|
-
format:
|
|
8572
|
-
custom?:
|
|
8573
|
-
leadingUnderscore?:
|
|
8574
|
-
trailingUnderscore?:
|
|
8575
|
-
prefix?:
|
|
8576
|
-
suffix?:
|
|
8818
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8819
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8820
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8821
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8822
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8823
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8577
8824
|
failureMessage?: string;
|
|
8578
|
-
filter?: string |
|
|
8825
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8579
8826
|
selector: "interface";
|
|
8580
8827
|
modifiers?: ("exported" | "unused")[];
|
|
8581
8828
|
}
|
|
8582
8829
|
| {
|
|
8583
|
-
format:
|
|
8584
|
-
custom?:
|
|
8585
|
-
leadingUnderscore?:
|
|
8586
|
-
trailingUnderscore?:
|
|
8587
|
-
prefix?:
|
|
8588
|
-
suffix?:
|
|
8830
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8831
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8832
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8833
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8834
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8835
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8589
8836
|
failureMessage?: string;
|
|
8590
|
-
filter?: string |
|
|
8837
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8591
8838
|
selector: "typeAlias";
|
|
8592
8839
|
modifiers?: ("exported" | "unused")[];
|
|
8593
8840
|
}
|
|
8594
8841
|
| {
|
|
8595
|
-
format:
|
|
8596
|
-
custom?:
|
|
8597
|
-
leadingUnderscore?:
|
|
8598
|
-
trailingUnderscore?:
|
|
8599
|
-
prefix?:
|
|
8600
|
-
suffix?:
|
|
8842
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8843
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8844
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8845
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8846
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8847
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8601
8848
|
failureMessage?: string;
|
|
8602
|
-
filter?: string |
|
|
8849
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8603
8850
|
selector: "enum";
|
|
8604
8851
|
modifiers?: ("exported" | "unused")[];
|
|
8605
8852
|
}
|
|
8606
8853
|
| {
|
|
8607
|
-
format:
|
|
8608
|
-
custom?:
|
|
8609
|
-
leadingUnderscore?:
|
|
8610
|
-
trailingUnderscore?:
|
|
8611
|
-
prefix?:
|
|
8612
|
-
suffix?:
|
|
8854
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8855
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8856
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8857
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8858
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8859
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8613
8860
|
failureMessage?: string;
|
|
8614
|
-
filter?: string |
|
|
8861
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8615
8862
|
selector: "typeParameter";
|
|
8616
8863
|
modifiers?: "unused"[];
|
|
8617
8864
|
}
|
|
8618
8865
|
| {
|
|
8619
|
-
format:
|
|
8620
|
-
custom?:
|
|
8621
|
-
leadingUnderscore?:
|
|
8622
|
-
trailingUnderscore?:
|
|
8623
|
-
prefix?:
|
|
8624
|
-
suffix?:
|
|
8866
|
+
format: _TypescriptEslintNamingConventionFormatOptionsConfig;
|
|
8867
|
+
custom?: _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8868
|
+
leadingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8869
|
+
trailingUnderscore?: _TypescriptEslintNamingConventionUnderscoreOptions;
|
|
8870
|
+
prefix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8871
|
+
suffix?: _TypescriptEslintNamingConvention_PrefixSuffixConfig;
|
|
8625
8872
|
failureMessage?: string;
|
|
8626
|
-
filter?: string |
|
|
8873
|
+
filter?: string | _TypescriptEslintNamingConvention_MatchRegexConfig;
|
|
8627
8874
|
selector: "import";
|
|
8628
8875
|
modifiers?: ("default" | "namespace")[];
|
|
8629
8876
|
}
|
|
8630
8877
|
)[];
|
|
8631
|
-
interface
|
|
8878
|
+
interface _TypescriptEslintNamingConvention_MatchRegexConfig {
|
|
8632
8879
|
match: boolean;
|
|
8633
8880
|
regex: string;
|
|
8634
8881
|
}
|
|
@@ -8695,6 +8942,7 @@ type TypescriptEslintNoExplicitAny =
|
|
|
8695
8942
|
| [
|
|
8696
8943
|
{
|
|
8697
8944
|
fixToUnknown?: boolean;
|
|
8945
|
+
|
|
8698
8946
|
ignoreRestArgs?: boolean;
|
|
8699
8947
|
},
|
|
8700
8948
|
];
|
|
@@ -8725,8 +8973,11 @@ type TypescriptEslintNoExtraneousClass =
|
|
|
8725
8973
|
| [
|
|
8726
8974
|
{
|
|
8727
8975
|
allowConstructorOnly?: boolean;
|
|
8976
|
+
|
|
8728
8977
|
allowEmpty?: boolean;
|
|
8978
|
+
|
|
8729
8979
|
allowStaticOnly?: boolean;
|
|
8980
|
+
|
|
8730
8981
|
allowWithDecorator?: boolean;
|
|
8731
8982
|
},
|
|
8732
8983
|
];
|
|
@@ -8736,6 +8987,7 @@ type TypescriptEslintNoFloatingPromises =
|
|
|
8736
8987
|
| [
|
|
8737
8988
|
{
|
|
8738
8989
|
ignoreVoid?: boolean;
|
|
8990
|
+
|
|
8739
8991
|
ignoreIIFE?: boolean;
|
|
8740
8992
|
},
|
|
8741
8993
|
];
|
|
@@ -8814,6 +9066,7 @@ type TypescriptEslintNoNamespace =
|
|
|
8814
9066
|
| [
|
|
8815
9067
|
{
|
|
8816
9068
|
allowDeclarations?: boolean;
|
|
9069
|
+
|
|
8817
9070
|
allowDefinitionFiles?: boolean;
|
|
8818
9071
|
},
|
|
8819
9072
|
];
|
|
@@ -8842,6 +9095,7 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8842
9095
|
name: string;
|
|
8843
9096
|
message?: string;
|
|
8844
9097
|
importNames?: string[];
|
|
9098
|
+
|
|
8845
9099
|
allowTypeImports?: boolean;
|
|
8846
9100
|
}
|
|
8847
9101
|
)[]
|
|
@@ -8854,6 +9108,7 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8854
9108
|
name: string;
|
|
8855
9109
|
message?: string;
|
|
8856
9110
|
importNames?: string[];
|
|
9111
|
+
|
|
8857
9112
|
allowTypeImports?: boolean;
|
|
8858
9113
|
}
|
|
8859
9114
|
)[];
|
|
@@ -8861,10 +9116,12 @@ type TypescriptEslintNoRestrictedImports =
|
|
|
8861
9116
|
| string[]
|
|
8862
9117
|
| {
|
|
8863
9118
|
importNames?: [string, ...string[]];
|
|
9119
|
+
|
|
8864
9120
|
group: [string, ...string[]];
|
|
8865
9121
|
importNamePattern?: string;
|
|
8866
9122
|
message?: string;
|
|
8867
9123
|
caseSensitive?: boolean;
|
|
9124
|
+
|
|
8868
9125
|
allowTypeImports?: boolean;
|
|
8869
9126
|
}[];
|
|
8870
9127
|
},
|
|
@@ -8888,6 +9145,7 @@ type TypescriptEslintNoThisAlias =
|
|
|
8888
9145
|
| [
|
|
8889
9146
|
{
|
|
8890
9147
|
allowDestructuring?: boolean;
|
|
9148
|
+
|
|
8891
9149
|
allowedNames?: string[];
|
|
8892
9150
|
},
|
|
8893
9151
|
];
|
|
@@ -8911,27 +9169,34 @@ type TypescriptEslintNoTypeAlias =
|
|
|
8911
9169
|
| "in-unions"
|
|
8912
9170
|
| "in-intersections"
|
|
8913
9171
|
| "in-unions-and-intersections";
|
|
9172
|
+
|
|
8914
9173
|
allowCallbacks?: "always" | "never";
|
|
9174
|
+
|
|
8915
9175
|
allowConditionalTypes?: "always" | "never";
|
|
9176
|
+
|
|
8916
9177
|
allowConstructors?: "always" | "never";
|
|
9178
|
+
|
|
8917
9179
|
allowLiterals?:
|
|
8918
9180
|
| "always"
|
|
8919
9181
|
| "never"
|
|
8920
9182
|
| "in-unions"
|
|
8921
9183
|
| "in-intersections"
|
|
8922
9184
|
| "in-unions-and-intersections";
|
|
9185
|
+
|
|
8923
9186
|
allowMappedTypes?:
|
|
8924
9187
|
| "always"
|
|
8925
9188
|
| "never"
|
|
8926
9189
|
| "in-unions"
|
|
8927
9190
|
| "in-intersections"
|
|
8928
9191
|
| "in-unions-and-intersections";
|
|
9192
|
+
|
|
8929
9193
|
allowTupleTypes?:
|
|
8930
9194
|
| "always"
|
|
8931
9195
|
| "never"
|
|
8932
9196
|
| "in-unions"
|
|
8933
9197
|
| "in-intersections"
|
|
8934
9198
|
| "in-unions-and-intersections";
|
|
9199
|
+
|
|
8935
9200
|
allowGenerics?: "always" | "never";
|
|
8936
9201
|
},
|
|
8937
9202
|
];
|
|
@@ -8941,6 +9206,7 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
|
|
|
8941
9206
|
| [
|
|
8942
9207
|
{
|
|
8943
9208
|
allowComparingNullableBooleansToTrue?: boolean;
|
|
9209
|
+
|
|
8944
9210
|
allowComparingNullableBooleansToFalse?: boolean;
|
|
8945
9211
|
},
|
|
8946
9212
|
];
|
|
@@ -8950,6 +9216,7 @@ type TypescriptEslintNoUnnecessaryCondition =
|
|
|
8950
9216
|
| [
|
|
8951
9217
|
{
|
|
8952
9218
|
allowConstantLoopConditions?: boolean;
|
|
9219
|
+
|
|
8953
9220
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
|
|
8954
9221
|
},
|
|
8955
9222
|
];
|
|
@@ -9031,149 +9298,12 @@ type TypescriptEslintOnlyThrowError =
|
|
|
9031
9298
|
allowThrowingUnknown?: boolean;
|
|
9032
9299
|
},
|
|
9033
9300
|
];
|
|
9034
|
-
// ----- @stylistic/padding-line-between-statements -----
|
|
9035
|
-
type PaddingType = "any" | "never" | "always";
|
|
9036
9301
|
// ----- @typescript-eslint/padding-line-between-statements -----
|
|
9037
|
-
type
|
|
9038
|
-
|
|
9039
|
-
|
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
| "exports"
|
|
9043
|
-
| "require"
|
|
9044
|
-
| "directive"
|
|
9045
|
-
| "expression"
|
|
9046
|
-
| "iife"
|
|
9047
|
-
| "multiline-block-like"
|
|
9048
|
-
| "multiline-expression"
|
|
9049
|
-
| "multiline-const"
|
|
9050
|
-
| "multiline-let"
|
|
9051
|
-
| "multiline-var"
|
|
9052
|
-
| "singleline-const"
|
|
9053
|
-
| "singleline-let"
|
|
9054
|
-
| "singleline-var"
|
|
9055
|
-
| "block"
|
|
9056
|
-
| "empty"
|
|
9057
|
-
| "function"
|
|
9058
|
-
| "break"
|
|
9059
|
-
| "case"
|
|
9060
|
-
| "class"
|
|
9061
|
-
| "const"
|
|
9062
|
-
| "continue"
|
|
9063
|
-
| "debugger"
|
|
9064
|
-
| "default"
|
|
9065
|
-
| "do"
|
|
9066
|
-
| "export"
|
|
9067
|
-
| "for"
|
|
9068
|
-
| "if"
|
|
9069
|
-
| "import"
|
|
9070
|
-
| "let"
|
|
9071
|
-
| "return"
|
|
9072
|
-
| "switch"
|
|
9073
|
-
| "throw"
|
|
9074
|
-
| "try"
|
|
9075
|
-
| "var"
|
|
9076
|
-
| "while"
|
|
9077
|
-
| "with"
|
|
9078
|
-
| "cjs-export"
|
|
9079
|
-
| "cjs-import"
|
|
9080
|
-
| "interface"
|
|
9081
|
-
| "type"
|
|
9082
|
-
| "function-overload"
|
|
9083
|
-
)
|
|
9084
|
-
| [
|
|
9085
|
-
(
|
|
9086
|
-
| "*"
|
|
9087
|
-
| "block-like"
|
|
9088
|
-
| "exports"
|
|
9089
|
-
| "require"
|
|
9090
|
-
| "directive"
|
|
9091
|
-
| "expression"
|
|
9092
|
-
| "iife"
|
|
9093
|
-
| "multiline-block-like"
|
|
9094
|
-
| "multiline-expression"
|
|
9095
|
-
| "multiline-const"
|
|
9096
|
-
| "multiline-let"
|
|
9097
|
-
| "multiline-var"
|
|
9098
|
-
| "singleline-const"
|
|
9099
|
-
| "singleline-let"
|
|
9100
|
-
| "singleline-var"
|
|
9101
|
-
| "block"
|
|
9102
|
-
| "empty"
|
|
9103
|
-
| "function"
|
|
9104
|
-
| "break"
|
|
9105
|
-
| "case"
|
|
9106
|
-
| "class"
|
|
9107
|
-
| "const"
|
|
9108
|
-
| "continue"
|
|
9109
|
-
| "debugger"
|
|
9110
|
-
| "default"
|
|
9111
|
-
| "do"
|
|
9112
|
-
| "export"
|
|
9113
|
-
| "for"
|
|
9114
|
-
| "if"
|
|
9115
|
-
| "import"
|
|
9116
|
-
| "let"
|
|
9117
|
-
| "return"
|
|
9118
|
-
| "switch"
|
|
9119
|
-
| "throw"
|
|
9120
|
-
| "try"
|
|
9121
|
-
| "var"
|
|
9122
|
-
| "while"
|
|
9123
|
-
| "with"
|
|
9124
|
-
| "cjs-export"
|
|
9125
|
-
| "cjs-import"
|
|
9126
|
-
| "interface"
|
|
9127
|
-
| "type"
|
|
9128
|
-
| "function-overload"
|
|
9129
|
-
),
|
|
9130
|
-
...(
|
|
9131
|
-
| "*"
|
|
9132
|
-
| "block-like"
|
|
9133
|
-
| "exports"
|
|
9134
|
-
| "require"
|
|
9135
|
-
| "directive"
|
|
9136
|
-
| "expression"
|
|
9137
|
-
| "iife"
|
|
9138
|
-
| "multiline-block-like"
|
|
9139
|
-
| "multiline-expression"
|
|
9140
|
-
| "multiline-const"
|
|
9141
|
-
| "multiline-let"
|
|
9142
|
-
| "multiline-var"
|
|
9143
|
-
| "singleline-const"
|
|
9144
|
-
| "singleline-let"
|
|
9145
|
-
| "singleline-var"
|
|
9146
|
-
| "block"
|
|
9147
|
-
| "empty"
|
|
9148
|
-
| "function"
|
|
9149
|
-
| "break"
|
|
9150
|
-
| "case"
|
|
9151
|
-
| "class"
|
|
9152
|
-
| "const"
|
|
9153
|
-
| "continue"
|
|
9154
|
-
| "debugger"
|
|
9155
|
-
| "default"
|
|
9156
|
-
| "do"
|
|
9157
|
-
| "export"
|
|
9158
|
-
| "for"
|
|
9159
|
-
| "if"
|
|
9160
|
-
| "import"
|
|
9161
|
-
| "let"
|
|
9162
|
-
| "return"
|
|
9163
|
-
| "switch"
|
|
9164
|
-
| "throw"
|
|
9165
|
-
| "try"
|
|
9166
|
-
| "var"
|
|
9167
|
-
| "while"
|
|
9168
|
-
| "with"
|
|
9169
|
-
| "cjs-export"
|
|
9170
|
-
| "cjs-import"
|
|
9171
|
-
| "interface"
|
|
9172
|
-
| "type"
|
|
9173
|
-
| "function-overload"
|
|
9174
|
-
)[],
|
|
9175
|
-
];
|
|
9176
|
-
type StatementType =
|
|
9302
|
+
type _TypescriptEslintPaddingLineBetweenStatementsPaddingType =
|
|
9303
|
+
| "any"
|
|
9304
|
+
| "never"
|
|
9305
|
+
| "always";
|
|
9306
|
+
type _TypescriptEslintPaddingLineBetweenStatementsStatementType =
|
|
9177
9307
|
| (
|
|
9178
9308
|
| "*"
|
|
9179
9309
|
| "block-like"
|
|
@@ -9303,9 +9433,9 @@ type StatementType =
|
|
|
9303
9433
|
)[],
|
|
9304
9434
|
];
|
|
9305
9435
|
type TypescriptEslintPaddingLineBetweenStatements = {
|
|
9306
|
-
blankLine:
|
|
9307
|
-
prev:
|
|
9308
|
-
next:
|
|
9436
|
+
blankLine: _TypescriptEslintPaddingLineBetweenStatementsPaddingType;
|
|
9437
|
+
prev: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
|
|
9438
|
+
next: _TypescriptEslintPaddingLineBetweenStatementsStatementType;
|
|
9309
9439
|
}[];
|
|
9310
9440
|
// ----- @typescript-eslint/parameter-properties -----
|
|
9311
9441
|
type TypescriptEslintParameterProperties =
|
|
@@ -9400,12 +9530,19 @@ type TypescriptEslintPreferOptionalChain =
|
|
|
9400
9530
|
| [
|
|
9401
9531
|
{
|
|
9402
9532
|
checkAny?: boolean;
|
|
9533
|
+
|
|
9403
9534
|
checkUnknown?: boolean;
|
|
9535
|
+
|
|
9404
9536
|
checkString?: boolean;
|
|
9537
|
+
|
|
9405
9538
|
checkNumber?: boolean;
|
|
9539
|
+
|
|
9406
9540
|
checkBoolean?: boolean;
|
|
9541
|
+
|
|
9407
9542
|
checkBigInt?: boolean;
|
|
9543
|
+
|
|
9408
9544
|
requireNullish?: boolean;
|
|
9545
|
+
|
|
9409
9546
|
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean;
|
|
9410
9547
|
},
|
|
9411
9548
|
];
|
|
@@ -9466,6 +9603,7 @@ type TypescriptEslintPromiseFunctionAsync =
|
|
|
9466
9603
|
| [
|
|
9467
9604
|
{
|
|
9468
9605
|
allowAny?: boolean;
|
|
9606
|
+
|
|
9469
9607
|
allowedPromiseNames?: string[];
|
|
9470
9608
|
checkArrowFunctions?: boolean;
|
|
9471
9609
|
checkFunctionDeclarations?: boolean;
|
|
@@ -9501,10 +9639,15 @@ type TypescriptEslintRestrictPlusOperands =
|
|
|
9501
9639
|
| [
|
|
9502
9640
|
{
|
|
9503
9641
|
allowAny?: boolean;
|
|
9642
|
+
|
|
9504
9643
|
allowBoolean?: boolean;
|
|
9644
|
+
|
|
9505
9645
|
allowNullish?: boolean;
|
|
9646
|
+
|
|
9506
9647
|
allowNumberAndString?: boolean;
|
|
9648
|
+
|
|
9507
9649
|
allowRegExp?: boolean;
|
|
9650
|
+
|
|
9508
9651
|
skipCompoundAssignments?: boolean;
|
|
9509
9652
|
},
|
|
9510
9653
|
];
|
|
@@ -9514,11 +9657,17 @@ type TypescriptEslintRestrictTemplateExpressions =
|
|
|
9514
9657
|
| [
|
|
9515
9658
|
{
|
|
9516
9659
|
allowAny?: boolean;
|
|
9660
|
+
|
|
9517
9661
|
allowArray?: boolean;
|
|
9662
|
+
|
|
9518
9663
|
allowBoolean?: boolean;
|
|
9664
|
+
|
|
9519
9665
|
allowNullish?: boolean;
|
|
9666
|
+
|
|
9520
9667
|
allowNumber?: boolean;
|
|
9668
|
+
|
|
9521
9669
|
allowRegExp?: boolean;
|
|
9670
|
+
|
|
9522
9671
|
allowNever?: boolean;
|
|
9523
9672
|
},
|
|
9524
9673
|
];
|
|
@@ -9549,7 +9698,9 @@ type TypescriptEslintSortTypeConstituents =
|
|
|
9549
9698
|
| [
|
|
9550
9699
|
{
|
|
9551
9700
|
checkIntersections?: boolean;
|
|
9701
|
+
|
|
9552
9702
|
checkUnions?: boolean;
|
|
9703
|
+
|
|
9553
9704
|
groupOrder?: (
|
|
9554
9705
|
| "conditional"
|
|
9555
9706
|
| "function"
|
|
@@ -9618,6 +9769,7 @@ type TypescriptEslintSwitchExhaustivenessCheck =
|
|
|
9618
9769
|
| [
|
|
9619
9770
|
{
|
|
9620
9771
|
allowDefaultCaseForExhaustiveSwitch?: boolean;
|
|
9772
|
+
|
|
9621
9773
|
requireDefaultForNonUnion?: boolean;
|
|
9622
9774
|
},
|
|
9623
9775
|
];
|
|
@@ -9639,20 +9791,16 @@ type TypescriptEslintTypeAnnotationSpacing =
|
|
|
9639
9791
|
before?: boolean;
|
|
9640
9792
|
after?: boolean;
|
|
9641
9793
|
overrides?: {
|
|
9642
|
-
colon?:
|
|
9643
|
-
arrow?:
|
|
9644
|
-
variable?:
|
|
9645
|
-
parameter?:
|
|
9646
|
-
property?:
|
|
9647
|
-
returnType?:
|
|
9794
|
+
colon?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9795
|
+
arrow?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9796
|
+
variable?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9797
|
+
parameter?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9798
|
+
property?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9799
|
+
returnType?: _TypescriptEslintTypeAnnotationSpacing_SpacingConfig;
|
|
9648
9800
|
};
|
|
9649
9801
|
},
|
|
9650
9802
|
];
|
|
9651
|
-
interface
|
|
9652
|
-
before?: boolean;
|
|
9653
|
-
after?: boolean;
|
|
9654
|
-
}
|
|
9655
|
-
interface SpacingConfig {
|
|
9803
|
+
interface _TypescriptEslintTypeAnnotationSpacing_SpacingConfig {
|
|
9656
9804
|
before?: boolean;
|
|
9657
9805
|
after?: boolean;
|
|
9658
9806
|
}
|
|
@@ -9862,6 +10010,7 @@ type ImportNoAbsolutePath =
|
|
|
9862
10010
|
commonjs?: boolean;
|
|
9863
10011
|
amd?: boolean;
|
|
9864
10012
|
esmodule?: boolean;
|
|
10013
|
+
|
|
9865
10014
|
ignore?: [string, ...string[]];
|
|
9866
10015
|
},
|
|
9867
10016
|
];
|
|
@@ -9871,12 +10020,19 @@ type ImportNoAnonymousDefaultExport =
|
|
|
9871
10020
|
| [
|
|
9872
10021
|
{
|
|
9873
10022
|
allowArray?: boolean;
|
|
10023
|
+
|
|
9874
10024
|
allowArrowFunction?: boolean;
|
|
10025
|
+
|
|
9875
10026
|
allowCallExpression?: boolean;
|
|
10027
|
+
|
|
9876
10028
|
allowAnonymousClass?: boolean;
|
|
10029
|
+
|
|
9877
10030
|
allowAnonymousFunction?: boolean;
|
|
10031
|
+
|
|
9878
10032
|
allowLiteral?: boolean;
|
|
10033
|
+
|
|
9879
10034
|
allowObject?: boolean;
|
|
10035
|
+
|
|
9880
10036
|
allowNew?: boolean;
|
|
9881
10037
|
},
|
|
9882
10038
|
];
|
|
@@ -9900,9 +10056,12 @@ type ImportNoCycle =
|
|
|
9900
10056
|
commonjs?: boolean;
|
|
9901
10057
|
amd?: boolean;
|
|
9902
10058
|
esmodule?: boolean;
|
|
10059
|
+
|
|
9903
10060
|
ignore?: [string, ...string[]];
|
|
9904
10061
|
maxDepth?: number | "∞";
|
|
10062
|
+
|
|
9905
10063
|
ignoreExternal?: boolean;
|
|
10064
|
+
|
|
9906
10065
|
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
9907
10066
|
},
|
|
9908
10067
|
];
|
|
@@ -9981,6 +10140,7 @@ type ImportNoRelativePackages =
|
|
|
9981
10140
|
commonjs?: boolean;
|
|
9982
10141
|
amd?: boolean;
|
|
9983
10142
|
esmodule?: boolean;
|
|
10143
|
+
|
|
9984
10144
|
ignore?: [string, ...string[]];
|
|
9985
10145
|
},
|
|
9986
10146
|
];
|
|
@@ -9992,6 +10152,7 @@ type ImportNoRelativeParentImports =
|
|
|
9992
10152
|
commonjs?: boolean;
|
|
9993
10153
|
amd?: boolean;
|
|
9994
10154
|
esmodule?: boolean;
|
|
10155
|
+
|
|
9995
10156
|
ignore?: [string, ...string[]];
|
|
9996
10157
|
},
|
|
9997
10158
|
];
|
|
@@ -10036,6 +10197,7 @@ type ImportNoUnresolved =
|
|
|
10036
10197
|
commonjs?: boolean;
|
|
10037
10198
|
amd?: boolean;
|
|
10038
10199
|
esmodule?: boolean;
|
|
10200
|
+
|
|
10039
10201
|
ignore?: [string, ...string[]];
|
|
10040
10202
|
caseSensitive?: boolean;
|
|
10041
10203
|
caseSensitiveStrict?: boolean;
|
|
@@ -10820,42 +10982,38 @@ type JsoncArrayBracketSpacing =
|
|
|
10820
10982
|
type JsoncArrayElementNewline =
|
|
10821
10983
|
| []
|
|
10822
10984
|
| [
|
|
10823
|
-
|
|
|
10985
|
+
| _JsoncArrayElementNewlineBasicConfig
|
|
10824
10986
|
| {
|
|
10825
|
-
ArrayExpression?:
|
|
10826
|
-
JSONArrayExpression?:
|
|
10827
|
-
ArrayPattern?:
|
|
10987
|
+
ArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
10988
|
+
JSONArrayExpression?: _JsoncArrayElementNewlineBasicConfig;
|
|
10989
|
+
ArrayPattern?: _JsoncArrayElementNewlineBasicConfig;
|
|
10828
10990
|
},
|
|
10829
10991
|
];
|
|
10992
|
+
type _JsoncArrayElementNewlineBasicConfig =
|
|
10993
|
+
| ("always" | "never" | "consistent")
|
|
10994
|
+
| {
|
|
10995
|
+
multiline?: boolean;
|
|
10996
|
+
minItems?: number | null;
|
|
10997
|
+
};
|
|
10830
10998
|
// ----- jsonc/comma-dangle -----
|
|
10831
10999
|
type JsoncCommaDangle =
|
|
10832
11000
|
| []
|
|
10833
11001
|
| [
|
|
10834
|
-
|
|
|
11002
|
+
| _JsoncCommaDangleValue
|
|
10835
11003
|
| {
|
|
10836
|
-
arrays?:
|
|
10837
|
-
objects?:
|
|
10838
|
-
imports?:
|
|
10839
|
-
exports?:
|
|
10840
|
-
functions?:
|
|
11004
|
+
arrays?: _JsoncCommaDangleValueWithIgnore;
|
|
11005
|
+
objects?: _JsoncCommaDangleValueWithIgnore;
|
|
11006
|
+
imports?: _JsoncCommaDangleValueWithIgnore;
|
|
11007
|
+
exports?: _JsoncCommaDangleValueWithIgnore;
|
|
11008
|
+
functions?: _JsoncCommaDangleValueWithIgnore;
|
|
10841
11009
|
},
|
|
10842
11010
|
];
|
|
10843
|
-
type
|
|
10844
|
-
type Value = "always-multiline" | "always" | "never" | "only-multiline";
|
|
10845
|
-
type Value = "always-multiline" | "always" | "never" | "only-multiline";
|
|
10846
|
-
type ValueWithIgnore =
|
|
10847
|
-
| "always-multiline"
|
|
10848
|
-
| "always"
|
|
10849
|
-
| "never"
|
|
10850
|
-
| "only-multiline"
|
|
10851
|
-
| "ignore";
|
|
10852
|
-
type ValueWithIgnore =
|
|
11011
|
+
type _JsoncCommaDangleValue =
|
|
10853
11012
|
| "always-multiline"
|
|
10854
11013
|
| "always"
|
|
10855
11014
|
| "never"
|
|
10856
|
-
| "only-multiline"
|
|
10857
|
-
|
|
10858
|
-
type ValueWithIgnore =
|
|
11015
|
+
| "only-multiline";
|
|
11016
|
+
type _JsoncCommaDangleValueWithIgnore =
|
|
10859
11017
|
| "always-multiline"
|
|
10860
11018
|
| "always"
|
|
10861
11019
|
| "ignore"
|
|
@@ -11356,11 +11514,13 @@ type NNoExtraneousImport =
|
|
|
11356
11514
|
{
|
|
11357
11515
|
include: [string, ...string[]];
|
|
11358
11516
|
exclude?: string[];
|
|
11517
|
+
|
|
11359
11518
|
replace: [string, string];
|
|
11360
11519
|
},
|
|
11361
11520
|
...{
|
|
11362
11521
|
include: [string, ...string[]];
|
|
11363
11522
|
exclude?: string[];
|
|
11523
|
+
|
|
11364
11524
|
replace: [string, string];
|
|
11365
11525
|
}[],
|
|
11366
11526
|
];
|
|
@@ -11381,11 +11541,13 @@ type NNoExtraneousRequire =
|
|
|
11381
11541
|
{
|
|
11382
11542
|
include: [string, ...string[]];
|
|
11383
11543
|
exclude?: string[];
|
|
11544
|
+
|
|
11384
11545
|
replace: [string, string];
|
|
11385
11546
|
},
|
|
11386
11547
|
...{
|
|
11387
11548
|
include: [string, ...string[]];
|
|
11388
11549
|
exclude?: string[];
|
|
11550
|
+
|
|
11389
11551
|
replace: [string, string];
|
|
11390
11552
|
}[],
|
|
11391
11553
|
];
|
|
@@ -11527,11 +11689,13 @@ type NNoUnpublishedBin =
|
|
|
11527
11689
|
{
|
|
11528
11690
|
include: [string, ...string[]];
|
|
11529
11691
|
exclude?: string[];
|
|
11692
|
+
|
|
11530
11693
|
replace: [string, string];
|
|
11531
11694
|
},
|
|
11532
11695
|
...{
|
|
11533
11696
|
include: [string, ...string[]];
|
|
11534
11697
|
exclude?: string[];
|
|
11698
|
+
|
|
11535
11699
|
replace: [string, string];
|
|
11536
11700
|
}[],
|
|
11537
11701
|
];
|
|
@@ -11552,11 +11716,13 @@ type NNoUnpublishedImport =
|
|
|
11552
11716
|
{
|
|
11553
11717
|
include: [string, ...string[]];
|
|
11554
11718
|
exclude?: string[];
|
|
11719
|
+
|
|
11555
11720
|
replace: [string, string];
|
|
11556
11721
|
},
|
|
11557
11722
|
...{
|
|
11558
11723
|
include: [string, ...string[]];
|
|
11559
11724
|
exclude?: string[];
|
|
11725
|
+
|
|
11560
11726
|
replace: [string, string];
|
|
11561
11727
|
}[],
|
|
11562
11728
|
];
|
|
@@ -11578,11 +11744,13 @@ type NNoUnpublishedRequire =
|
|
|
11578
11744
|
{
|
|
11579
11745
|
include: [string, ...string[]];
|
|
11580
11746
|
exclude?: string[];
|
|
11747
|
+
|
|
11581
11748
|
replace: [string, string];
|
|
11582
11749
|
},
|
|
11583
11750
|
...{
|
|
11584
11751
|
include: [string, ...string[]];
|
|
11585
11752
|
exclude?: string[];
|
|
11753
|
+
|
|
11586
11754
|
replace: [string, string];
|
|
11587
11755
|
}[],
|
|
11588
11756
|
];
|
|
@@ -12073,11 +12241,13 @@ type NShebang =
|
|
|
12073
12241
|
{
|
|
12074
12242
|
include: [string, ...string[]];
|
|
12075
12243
|
exclude?: string[];
|
|
12244
|
+
|
|
12076
12245
|
replace: [string, string];
|
|
12077
12246
|
},
|
|
12078
12247
|
...{
|
|
12079
12248
|
include: [string, ...string[]];
|
|
12080
12249
|
exclude?: string[];
|
|
12250
|
+
|
|
12081
12251
|
replace: [string, string];
|
|
12082
12252
|
}[],
|
|
12083
12253
|
];
|
|
@@ -12151,7 +12321,34 @@ type PerfectionistSortExports =
|
|
|
12151
12321
|
},
|
|
12152
12322
|
];
|
|
12153
12323
|
// ----- perfectionist/sort-imports -----
|
|
12154
|
-
type PerfectionistSortImports =
|
|
12324
|
+
type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
|
|
12325
|
+
type _PerfectionistSortImportsSortImports =
|
|
12326
|
+
_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
12327
|
+
"custom-groups"?: {
|
|
12328
|
+
type?: {
|
|
12329
|
+
[k: string]: unknown | undefined;
|
|
12330
|
+
};
|
|
12331
|
+
value?: {
|
|
12332
|
+
[k: string]: unknown | undefined;
|
|
12333
|
+
};
|
|
12334
|
+
};
|
|
12335
|
+
type?: "alphabetical" | "natural" | "line-length";
|
|
12336
|
+
order?: "asc" | "desc";
|
|
12337
|
+
"ignore-case"?: boolean;
|
|
12338
|
+
groups?: unknown[];
|
|
12339
|
+
"internal-pattern"?: string[];
|
|
12340
|
+
"newlines-between"?: "ignore" | "always" | "never";
|
|
12341
|
+
"max-line-length"?: number;
|
|
12342
|
+
};
|
|
12343
|
+
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
|
|
12344
|
+
| {
|
|
12345
|
+
[k: string]: unknown | undefined;
|
|
12346
|
+
}
|
|
12347
|
+
| _PerfectionistSortImports_IsLineLength;
|
|
12348
|
+
interface _PerfectionistSortImports_IsLineLength {
|
|
12349
|
+
type: "line-length";
|
|
12350
|
+
[k: string]: unknown | undefined;
|
|
12351
|
+
}
|
|
12155
12352
|
// ----- perfectionist/sort-interfaces -----
|
|
12156
12353
|
type PerfectionistSortInterfaces =
|
|
12157
12354
|
| []
|
|
@@ -12296,6 +12493,16 @@ type ReactHooksExhaustiveDeps =
|
|
|
12296
12493
|
enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
|
|
12297
12494
|
},
|
|
12298
12495
|
];
|
|
12496
|
+
// ----- react-refresh/only-export-components -----
|
|
12497
|
+
type ReactRefreshOnlyExportComponents =
|
|
12498
|
+
| []
|
|
12499
|
+
| [
|
|
12500
|
+
{
|
|
12501
|
+
allowConstantExport?: boolean;
|
|
12502
|
+
checkJS?: boolean;
|
|
12503
|
+
allowExportNames?: string[];
|
|
12504
|
+
},
|
|
12505
|
+
];
|
|
12299
12506
|
// ----- react/boolean-prop-naming -----
|
|
12300
12507
|
type ReactBooleanPropNaming =
|
|
12301
12508
|
| []
|
|
@@ -12368,6 +12575,7 @@ type ReactForbidComponentProps =
|
|
|
12368
12575
|
}
|
|
12369
12576
|
| {
|
|
12370
12577
|
propName?: string;
|
|
12578
|
+
|
|
12371
12579
|
disallowedFor: [string, ...string[]];
|
|
12372
12580
|
message?: string;
|
|
12373
12581
|
}
|
|
@@ -12524,18 +12732,18 @@ type ReactJsxCurlyNewline =
|
|
|
12524
12732
|
type ReactJsxCurlySpacing =
|
|
12525
12733
|
| []
|
|
12526
12734
|
| [
|
|
12527
|
-
| (
|
|
12528
|
-
attributes?:
|
|
12529
|
-
children?:
|
|
12735
|
+
| (_ReactJsxCurlySpacing_BasicConfig & {
|
|
12736
|
+
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12737
|
+
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12530
12738
|
[k: string]: unknown | undefined;
|
|
12531
12739
|
})
|
|
12532
12740
|
| ("always" | "never"),
|
|
12533
12741
|
]
|
|
12534
12742
|
| [
|
|
12535
12743
|
(
|
|
12536
|
-
| (
|
|
12537
|
-
attributes?:
|
|
12538
|
-
children?:
|
|
12744
|
+
| (_ReactJsxCurlySpacing_BasicConfig & {
|
|
12745
|
+
attributes?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12746
|
+
children?: _ReactJsxCurlySpacingBasicConfigOrBoolean;
|
|
12539
12747
|
[k: string]: unknown | undefined;
|
|
12540
12748
|
})
|
|
12541
12749
|
| ("always" | "never")
|
|
@@ -12548,30 +12756,10 @@ type ReactJsxCurlySpacing =
|
|
|
12548
12756
|
};
|
|
12549
12757
|
},
|
|
12550
12758
|
];
|
|
12551
|
-
type
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
| {
|
|
12556
|
-
multiline?: boolean;
|
|
12557
|
-
minItems?: number | null;
|
|
12558
|
-
};
|
|
12559
|
-
interface BasicConfig {
|
|
12560
|
-
when?: "always" | "never";
|
|
12561
|
-
allowMultiline?: boolean;
|
|
12562
|
-
spacing?: {
|
|
12563
|
-
objectLiterals?: "always" | "never";
|
|
12564
|
-
[k: string]: unknown | undefined;
|
|
12565
|
-
};
|
|
12566
|
-
[k: string]: unknown | undefined;
|
|
12567
|
-
}
|
|
12568
|
-
type BasicConfig =
|
|
12569
|
-
| ("always" | "never" | "consistent")
|
|
12570
|
-
| {
|
|
12571
|
-
multiline?: boolean;
|
|
12572
|
-
minItems?: number | null;
|
|
12573
|
-
};
|
|
12574
|
-
interface BasicConfig {
|
|
12759
|
+
type _ReactJsxCurlySpacingBasicConfigOrBoolean =
|
|
12760
|
+
| _ReactJsxCurlySpacing_BasicConfig
|
|
12761
|
+
| boolean;
|
|
12762
|
+
interface _ReactJsxCurlySpacing_BasicConfig {
|
|
12575
12763
|
when?: "always" | "never";
|
|
12576
12764
|
allowMultiline?: boolean;
|
|
12577
12765
|
spacing?: {
|
|
@@ -12807,6 +12995,7 @@ type ReactJsxPascalCase =
|
|
|
12807
12995
|
allowAllCaps?: boolean;
|
|
12808
12996
|
allowLeadingUnderscore?: boolean;
|
|
12809
12997
|
allowNamespace?: boolean;
|
|
12998
|
+
|
|
12810
12999
|
ignore?: [] | [string];
|
|
12811
13000
|
},
|
|
12812
13001
|
];
|
|
@@ -13120,6 +13309,138 @@ type ReactStylePropObject =
|
|
|
13120
13309
|
[k: string]: unknown | undefined;
|
|
13121
13310
|
},
|
|
13122
13311
|
];
|
|
13312
|
+
// ----- tailwindcss/classnames-order -----
|
|
13313
|
+
type TailwindcssClassnamesOrder =
|
|
13314
|
+
| []
|
|
13315
|
+
| [
|
|
13316
|
+
{
|
|
13317
|
+
callees?: string[];
|
|
13318
|
+
ignoredKeys?: string[];
|
|
13319
|
+
config?:
|
|
13320
|
+
| string
|
|
13321
|
+
| {
|
|
13322
|
+
[k: string]: unknown | undefined;
|
|
13323
|
+
};
|
|
13324
|
+
removeDuplicates?: boolean;
|
|
13325
|
+
tags?: string[];
|
|
13326
|
+
[k: string]: unknown | undefined;
|
|
13327
|
+
},
|
|
13328
|
+
];
|
|
13329
|
+
// ----- tailwindcss/enforces-negative-arbitrary-values -----
|
|
13330
|
+
type TailwindcssEnforcesNegativeArbitraryValues =
|
|
13331
|
+
| []
|
|
13332
|
+
| [
|
|
13333
|
+
{
|
|
13334
|
+
callees?: string[];
|
|
13335
|
+
ignoredKeys?: string[];
|
|
13336
|
+
config?:
|
|
13337
|
+
| string
|
|
13338
|
+
| {
|
|
13339
|
+
[k: string]: unknown | undefined;
|
|
13340
|
+
};
|
|
13341
|
+
tags?: string[];
|
|
13342
|
+
[k: string]: unknown | undefined;
|
|
13343
|
+
},
|
|
13344
|
+
];
|
|
13345
|
+
// ----- tailwindcss/enforces-shorthand -----
|
|
13346
|
+
type TailwindcssEnforcesShorthand =
|
|
13347
|
+
| []
|
|
13348
|
+
| [
|
|
13349
|
+
{
|
|
13350
|
+
callees?: string[];
|
|
13351
|
+
ignoredKeys?: string[];
|
|
13352
|
+
config?:
|
|
13353
|
+
| string
|
|
13354
|
+
| {
|
|
13355
|
+
[k: string]: unknown | undefined;
|
|
13356
|
+
};
|
|
13357
|
+
tags?: string[];
|
|
13358
|
+
[k: string]: unknown | undefined;
|
|
13359
|
+
},
|
|
13360
|
+
];
|
|
13361
|
+
// ----- tailwindcss/migration-from-tailwind-2 -----
|
|
13362
|
+
type TailwindcssMigrationFromTailwind2 =
|
|
13363
|
+
| []
|
|
13364
|
+
| [
|
|
13365
|
+
{
|
|
13366
|
+
callees?: string[];
|
|
13367
|
+
ignoredKeys?: string[];
|
|
13368
|
+
config?:
|
|
13369
|
+
| string
|
|
13370
|
+
| {
|
|
13371
|
+
[k: string]: unknown | undefined;
|
|
13372
|
+
};
|
|
13373
|
+
tags?: string[];
|
|
13374
|
+
[k: string]: unknown | undefined;
|
|
13375
|
+
},
|
|
13376
|
+
];
|
|
13377
|
+
// ----- tailwindcss/no-arbitrary-value -----
|
|
13378
|
+
type TailwindcssNoArbitraryValue =
|
|
13379
|
+
| []
|
|
13380
|
+
| [
|
|
13381
|
+
{
|
|
13382
|
+
callees?: string[];
|
|
13383
|
+
ignoredKeys?: string[];
|
|
13384
|
+
config?:
|
|
13385
|
+
| string
|
|
13386
|
+
| {
|
|
13387
|
+
[k: string]: unknown | undefined;
|
|
13388
|
+
};
|
|
13389
|
+
tags?: string[];
|
|
13390
|
+
[k: string]: unknown | undefined;
|
|
13391
|
+
},
|
|
13392
|
+
];
|
|
13393
|
+
// ----- tailwindcss/no-contradicting-classname -----
|
|
13394
|
+
type TailwindcssNoContradictingClassname =
|
|
13395
|
+
| []
|
|
13396
|
+
| [
|
|
13397
|
+
{
|
|
13398
|
+
callees?: string[];
|
|
13399
|
+
ignoredKeys?: string[];
|
|
13400
|
+
config?:
|
|
13401
|
+
| string
|
|
13402
|
+
| {
|
|
13403
|
+
[k: string]: unknown | undefined;
|
|
13404
|
+
};
|
|
13405
|
+
tags?: string[];
|
|
13406
|
+
[k: string]: unknown | undefined;
|
|
13407
|
+
},
|
|
13408
|
+
];
|
|
13409
|
+
// ----- tailwindcss/no-custom-classname -----
|
|
13410
|
+
type TailwindcssNoCustomClassname =
|
|
13411
|
+
| []
|
|
13412
|
+
| [
|
|
13413
|
+
{
|
|
13414
|
+
callees?: string[];
|
|
13415
|
+
ignoredKeys?: string[];
|
|
13416
|
+
config?:
|
|
13417
|
+
| string
|
|
13418
|
+
| {
|
|
13419
|
+
[k: string]: unknown | undefined;
|
|
13420
|
+
};
|
|
13421
|
+
cssFiles?: string[];
|
|
13422
|
+
cssFilesRefreshRate?: number;
|
|
13423
|
+
tags?: string[];
|
|
13424
|
+
whitelist?: string[];
|
|
13425
|
+
[k: string]: unknown | undefined;
|
|
13426
|
+
},
|
|
13427
|
+
];
|
|
13428
|
+
// ----- tailwindcss/no-unnecessary-arbitrary-value -----
|
|
13429
|
+
type TailwindcssNoUnnecessaryArbitraryValue =
|
|
13430
|
+
| []
|
|
13431
|
+
| [
|
|
13432
|
+
{
|
|
13433
|
+
callees?: string[];
|
|
13434
|
+
ignoredKeys?: string[];
|
|
13435
|
+
config?:
|
|
13436
|
+
| string
|
|
13437
|
+
| {
|
|
13438
|
+
[k: string]: unknown | undefined;
|
|
13439
|
+
};
|
|
13440
|
+
tags?: string[];
|
|
13441
|
+
[k: string]: unknown | undefined;
|
|
13442
|
+
},
|
|
13443
|
+
];
|
|
13123
13444
|
// ----- unicorn/better-regex -----
|
|
13124
13445
|
type UnicornBetterRegex =
|
|
13125
13446
|
| []
|
|
@@ -13193,12 +13514,17 @@ type UnicornImportStyle =
|
|
|
13193
13514
|
checkExportFrom?: boolean;
|
|
13194
13515
|
checkRequire?: boolean;
|
|
13195
13516
|
extendDefaultStyles?: boolean;
|
|
13196
|
-
styles?:
|
|
13517
|
+
styles?: _UnicornImportStyle_ModuleStyles;
|
|
13197
13518
|
},
|
|
13198
13519
|
];
|
|
13199
|
-
type
|
|
13200
|
-
|
|
13201
|
-
|
|
13520
|
+
type _UnicornImportStyleStyles =
|
|
13521
|
+
| (false | _UnicornImportStyle_BooleanObject)
|
|
13522
|
+
| undefined;
|
|
13523
|
+
interface _UnicornImportStyle_ModuleStyles {
|
|
13524
|
+
[k: string]: _UnicornImportStyleStyles | undefined;
|
|
13525
|
+
}
|
|
13526
|
+
interface _UnicornImportStyle_BooleanObject {
|
|
13527
|
+
[k: string]: boolean | undefined;
|
|
13202
13528
|
}
|
|
13203
13529
|
// ----- unicorn/no-array-push-push -----
|
|
13204
13530
|
type UnicornNoArrayPushPush =
|
|
@@ -13375,20 +13701,19 @@ type UnicornPreventAbbreviations =
|
|
|
13375
13701
|
checkShorthandProperties?: boolean;
|
|
13376
13702
|
checkFilenames?: boolean;
|
|
13377
13703
|
extendDefaultReplacements?: boolean;
|
|
13378
|
-
replacements?:
|
|
13704
|
+
replacements?: _UnicornPreventAbbreviations_Abbreviations;
|
|
13379
13705
|
extendDefaultAllowList?: boolean;
|
|
13380
|
-
allowList?:
|
|
13706
|
+
allowList?: _UnicornPreventAbbreviations_BooleanObject;
|
|
13381
13707
|
ignore?: unknown[];
|
|
13382
13708
|
},
|
|
13383
13709
|
];
|
|
13384
|
-
type
|
|
13385
|
-
|
|
13386
|
-
|
|
13387
|
-
|
|
13388
|
-
|
|
13389
|
-
[k: string]: boolean | undefined;
|
|
13710
|
+
type _UnicornPreventAbbreviationsReplacements =
|
|
13711
|
+
| (false | _UnicornPreventAbbreviations_BooleanObject)
|
|
13712
|
+
| undefined;
|
|
13713
|
+
interface _UnicornPreventAbbreviations_Abbreviations {
|
|
13714
|
+
[k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
|
|
13390
13715
|
}
|
|
13391
|
-
interface
|
|
13716
|
+
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
13392
13717
|
[k: string]: boolean | undefined;
|
|
13393
13718
|
}
|
|
13394
13719
|
// ----- unicorn/relative-url-style -----
|
|
@@ -14056,16 +14381,35 @@ type OptionsReact = {
|
|
|
14056
14381
|
react?: boolean;
|
|
14057
14382
|
reactRefresh?: boolean;
|
|
14058
14383
|
};
|
|
14384
|
+
/**
|
|
14385
|
+
* Tailwind CSS ESLint settings
|
|
14386
|
+
*/
|
|
14387
|
+
type TailwindEslintSettings = {
|
|
14388
|
+
/**
|
|
14389
|
+
* call expressions to check for tailwind classes
|
|
14390
|
+
* @default ["classnames", "clsx", "ctl", "cn", "cx", "twMerge", "twJoin"]
|
|
14391
|
+
*/
|
|
14392
|
+
callees: string[];
|
|
14393
|
+
classRegex: string;
|
|
14394
|
+
config: string;
|
|
14395
|
+
cssFiles: string[];
|
|
14396
|
+
cssFilesRefreshRate: number;
|
|
14397
|
+
removeDuplicates: boolean;
|
|
14398
|
+
skipClassAttribute: boolean;
|
|
14399
|
+
tags: string[];
|
|
14400
|
+
whitelist: string[];
|
|
14401
|
+
};
|
|
14402
|
+
type TailwindOptions = Partial<TailwindEslintSettings> | boolean | undefined;
|
|
14059
14403
|
type OptionsConfig = {
|
|
14060
14404
|
/**
|
|
14061
14405
|
* Enable debug mode.
|
|
14062
14406
|
*/
|
|
14063
14407
|
debug?: boolean;
|
|
14064
|
-
tailwind?: boolean;
|
|
14065
14408
|
reportUnusedDisableDirectives?: boolean;
|
|
14066
14409
|
off?: string[];
|
|
14067
14410
|
fast?: boolean;
|
|
14068
14411
|
prettier?: boolean;
|
|
14412
|
+
tailwind?: TailwindOptions;
|
|
14069
14413
|
/**
|
|
14070
14414
|
* The prefix for the name of the config item.
|
|
14071
14415
|
* @default "jsse"
|
|
@@ -14178,6 +14522,968 @@ declare const GLOB_TESTS: string[];
|
|
|
14178
14522
|
declare const GLOB_ALL_SRC: string[];
|
|
14179
14523
|
declare const GLOB_EXCLUDE: string[];
|
|
14180
14524
|
|
|
14525
|
+
declare function importPluginReact(): Promise<{
|
|
14526
|
+
pluginReact: any;
|
|
14527
|
+
}>;
|
|
14528
|
+
declare function importPluginReactHooks(): Promise<{
|
|
14529
|
+
pluginReactHooks: any;
|
|
14530
|
+
}>;
|
|
14531
|
+
declare function importPluginReactRefresh(): Promise<{
|
|
14532
|
+
pluginReactRefresh: any;
|
|
14533
|
+
}>;
|
|
14534
|
+
declare function importReactPlugins(): Promise<{
|
|
14535
|
+
pluginReact: any;
|
|
14536
|
+
pluginReactHooks: any;
|
|
14537
|
+
pluginReactRefresh: any;
|
|
14538
|
+
}>;
|
|
14539
|
+
declare function importParserJsonc(): Promise<{
|
|
14540
|
+
parserJsonc: typeof jsonc_eslint_parser;
|
|
14541
|
+
}>;
|
|
14542
|
+
declare function importPluginJsonc(): Promise<{
|
|
14543
|
+
pluginJsonc: {
|
|
14544
|
+
meta: typeof eslint_plugin_jsonc_meta;
|
|
14545
|
+
configs: {
|
|
14546
|
+
base: {
|
|
14547
|
+
plugins: string[];
|
|
14548
|
+
overrides: {
|
|
14549
|
+
files: string[];
|
|
14550
|
+
parser: string;
|
|
14551
|
+
rules: {
|
|
14552
|
+
strict: string;
|
|
14553
|
+
"no-unused-expressions": string;
|
|
14554
|
+
"no-unused-vars": string;
|
|
14555
|
+
};
|
|
14556
|
+
}[];
|
|
14557
|
+
};
|
|
14558
|
+
"auto-config": {
|
|
14559
|
+
extends: string[];
|
|
14560
|
+
rules: {
|
|
14561
|
+
"jsonc/auto": string;
|
|
14562
|
+
};
|
|
14563
|
+
};
|
|
14564
|
+
"recommended-with-json": {
|
|
14565
|
+
extends: string[];
|
|
14566
|
+
rules: {
|
|
14567
|
+
"jsonc/comma-dangle": string;
|
|
14568
|
+
"jsonc/no-bigint-literals": string;
|
|
14569
|
+
"jsonc/no-binary-expression": string;
|
|
14570
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14571
|
+
"jsonc/no-comments": string;
|
|
14572
|
+
"jsonc/no-dupe-keys": string;
|
|
14573
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14574
|
+
"jsonc/no-floating-decimal": string;
|
|
14575
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14576
|
+
"jsonc/no-infinity": string;
|
|
14577
|
+
"jsonc/no-multi-str": string;
|
|
14578
|
+
"jsonc/no-nan": string;
|
|
14579
|
+
"jsonc/no-number-props": string;
|
|
14580
|
+
"jsonc/no-numeric-separators": string;
|
|
14581
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14582
|
+
"jsonc/no-octal": string;
|
|
14583
|
+
"jsonc/no-parenthesized": string;
|
|
14584
|
+
"jsonc/no-plus-sign": string;
|
|
14585
|
+
"jsonc/no-regexp-literals": string;
|
|
14586
|
+
"jsonc/no-sparse-arrays": string;
|
|
14587
|
+
"jsonc/no-template-literals": string;
|
|
14588
|
+
"jsonc/no-undefined-value": string;
|
|
14589
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14590
|
+
"jsonc/no-useless-escape": string;
|
|
14591
|
+
"jsonc/quote-props": string;
|
|
14592
|
+
"jsonc/quotes": string;
|
|
14593
|
+
"jsonc/space-unary-ops": string;
|
|
14594
|
+
"jsonc/valid-json-number": string;
|
|
14595
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14596
|
+
};
|
|
14597
|
+
};
|
|
14598
|
+
"recommended-with-jsonc": {
|
|
14599
|
+
extends: string[];
|
|
14600
|
+
rules: {
|
|
14601
|
+
"jsonc/no-bigint-literals": string;
|
|
14602
|
+
"jsonc/no-binary-expression": string;
|
|
14603
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14604
|
+
"jsonc/no-dupe-keys": string;
|
|
14605
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14606
|
+
"jsonc/no-floating-decimal": string;
|
|
14607
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14608
|
+
"jsonc/no-infinity": string;
|
|
14609
|
+
"jsonc/no-multi-str": string;
|
|
14610
|
+
"jsonc/no-nan": string;
|
|
14611
|
+
"jsonc/no-number-props": string;
|
|
14612
|
+
"jsonc/no-numeric-separators": string;
|
|
14613
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14614
|
+
"jsonc/no-octal": string;
|
|
14615
|
+
"jsonc/no-parenthesized": string;
|
|
14616
|
+
"jsonc/no-plus-sign": string;
|
|
14617
|
+
"jsonc/no-regexp-literals": string;
|
|
14618
|
+
"jsonc/no-sparse-arrays": string;
|
|
14619
|
+
"jsonc/no-template-literals": string;
|
|
14620
|
+
"jsonc/no-undefined-value": string;
|
|
14621
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14622
|
+
"jsonc/no-useless-escape": string;
|
|
14623
|
+
"jsonc/quote-props": string;
|
|
14624
|
+
"jsonc/quotes": string;
|
|
14625
|
+
"jsonc/space-unary-ops": string;
|
|
14626
|
+
"jsonc/valid-json-number": string;
|
|
14627
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14628
|
+
};
|
|
14629
|
+
};
|
|
14630
|
+
"recommended-with-json5": {
|
|
14631
|
+
extends: string[];
|
|
14632
|
+
rules: {
|
|
14633
|
+
"jsonc/no-bigint-literals": string;
|
|
14634
|
+
"jsonc/no-binary-expression": string;
|
|
14635
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14636
|
+
"jsonc/no-dupe-keys": string;
|
|
14637
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14638
|
+
"jsonc/no-number-props": string;
|
|
14639
|
+
"jsonc/no-numeric-separators": string;
|
|
14640
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14641
|
+
"jsonc/no-octal": string;
|
|
14642
|
+
"jsonc/no-parenthesized": string;
|
|
14643
|
+
"jsonc/no-regexp-literals": string;
|
|
14644
|
+
"jsonc/no-sparse-arrays": string;
|
|
14645
|
+
"jsonc/no-template-literals": string;
|
|
14646
|
+
"jsonc/no-undefined-value": string;
|
|
14647
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14648
|
+
"jsonc/no-useless-escape": string;
|
|
14649
|
+
"jsonc/space-unary-ops": string;
|
|
14650
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14651
|
+
};
|
|
14652
|
+
};
|
|
14653
|
+
prettier: {
|
|
14654
|
+
extends: string[];
|
|
14655
|
+
rules: {
|
|
14656
|
+
"jsonc/array-bracket-newline": string;
|
|
14657
|
+
"jsonc/array-bracket-spacing": string;
|
|
14658
|
+
"jsonc/array-element-newline": string;
|
|
14659
|
+
"jsonc/comma-dangle": string;
|
|
14660
|
+
"jsonc/comma-style": string;
|
|
14661
|
+
"jsonc/indent": string;
|
|
14662
|
+
"jsonc/key-spacing": string;
|
|
14663
|
+
"jsonc/no-floating-decimal": string;
|
|
14664
|
+
"jsonc/object-curly-newline": string;
|
|
14665
|
+
"jsonc/object-curly-spacing": string;
|
|
14666
|
+
"jsonc/object-property-newline": string;
|
|
14667
|
+
"jsonc/quote-props": string;
|
|
14668
|
+
"jsonc/quotes": string;
|
|
14669
|
+
"jsonc/space-unary-ops": string;
|
|
14670
|
+
};
|
|
14671
|
+
};
|
|
14672
|
+
all: {
|
|
14673
|
+
extends: string[];
|
|
14674
|
+
rules: {
|
|
14675
|
+
[x: string]: string;
|
|
14676
|
+
};
|
|
14677
|
+
};
|
|
14678
|
+
"flat/base": ({
|
|
14679
|
+
plugins: {
|
|
14680
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14681
|
+
};
|
|
14682
|
+
files?: undefined;
|
|
14683
|
+
languageOptions?: undefined;
|
|
14684
|
+
rules?: undefined;
|
|
14685
|
+
} | {
|
|
14686
|
+
files: string[];
|
|
14687
|
+
languageOptions: {
|
|
14688
|
+
parser: typeof jsonc_eslint_parser;
|
|
14689
|
+
};
|
|
14690
|
+
rules: {
|
|
14691
|
+
strict: string;
|
|
14692
|
+
"no-unused-expressions": string;
|
|
14693
|
+
"no-unused-vars": string;
|
|
14694
|
+
};
|
|
14695
|
+
plugins?: undefined;
|
|
14696
|
+
})[];
|
|
14697
|
+
"flat/recommended-with-json": ({
|
|
14698
|
+
plugins: {
|
|
14699
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14700
|
+
};
|
|
14701
|
+
files?: undefined;
|
|
14702
|
+
languageOptions?: undefined;
|
|
14703
|
+
rules?: undefined;
|
|
14704
|
+
} | {
|
|
14705
|
+
files: string[];
|
|
14706
|
+
languageOptions: {
|
|
14707
|
+
parser: typeof jsonc_eslint_parser;
|
|
14708
|
+
};
|
|
14709
|
+
rules: {
|
|
14710
|
+
strict: string;
|
|
14711
|
+
"no-unused-expressions": string;
|
|
14712
|
+
"no-unused-vars": string;
|
|
14713
|
+
};
|
|
14714
|
+
plugins?: undefined;
|
|
14715
|
+
} | {
|
|
14716
|
+
rules: {
|
|
14717
|
+
"jsonc/comma-dangle": string;
|
|
14718
|
+
"jsonc/no-bigint-literals": string;
|
|
14719
|
+
"jsonc/no-binary-expression": string;
|
|
14720
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14721
|
+
"jsonc/no-comments": string;
|
|
14722
|
+
"jsonc/no-dupe-keys": string;
|
|
14723
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14724
|
+
"jsonc/no-floating-decimal": string;
|
|
14725
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14726
|
+
"jsonc/no-infinity": string;
|
|
14727
|
+
"jsonc/no-multi-str": string;
|
|
14728
|
+
"jsonc/no-nan": string;
|
|
14729
|
+
"jsonc/no-number-props": string;
|
|
14730
|
+
"jsonc/no-numeric-separators": string;
|
|
14731
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14732
|
+
"jsonc/no-octal": string;
|
|
14733
|
+
"jsonc/no-parenthesized": string;
|
|
14734
|
+
"jsonc/no-plus-sign": string;
|
|
14735
|
+
"jsonc/no-regexp-literals": string;
|
|
14736
|
+
"jsonc/no-sparse-arrays": string;
|
|
14737
|
+
"jsonc/no-template-literals": string;
|
|
14738
|
+
"jsonc/no-undefined-value": string;
|
|
14739
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14740
|
+
"jsonc/no-useless-escape": string;
|
|
14741
|
+
"jsonc/quote-props": string;
|
|
14742
|
+
"jsonc/quotes": string;
|
|
14743
|
+
"jsonc/space-unary-ops": string;
|
|
14744
|
+
"jsonc/valid-json-number": string;
|
|
14745
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14746
|
+
};
|
|
14747
|
+
})[];
|
|
14748
|
+
"flat/recommended-with-jsonc": ({
|
|
14749
|
+
plugins: {
|
|
14750
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14751
|
+
};
|
|
14752
|
+
files?: undefined;
|
|
14753
|
+
languageOptions?: undefined;
|
|
14754
|
+
rules?: undefined;
|
|
14755
|
+
} | {
|
|
14756
|
+
files: string[];
|
|
14757
|
+
languageOptions: {
|
|
14758
|
+
parser: typeof jsonc_eslint_parser;
|
|
14759
|
+
};
|
|
14760
|
+
rules: {
|
|
14761
|
+
strict: string;
|
|
14762
|
+
"no-unused-expressions": string;
|
|
14763
|
+
"no-unused-vars": string;
|
|
14764
|
+
};
|
|
14765
|
+
plugins?: undefined;
|
|
14766
|
+
} | {
|
|
14767
|
+
rules: {
|
|
14768
|
+
"jsonc/no-bigint-literals": string;
|
|
14769
|
+
"jsonc/no-binary-expression": string;
|
|
14770
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14771
|
+
"jsonc/no-dupe-keys": string;
|
|
14772
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14773
|
+
"jsonc/no-floating-decimal": string;
|
|
14774
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14775
|
+
"jsonc/no-infinity": string;
|
|
14776
|
+
"jsonc/no-multi-str": string;
|
|
14777
|
+
"jsonc/no-nan": string;
|
|
14778
|
+
"jsonc/no-number-props": string;
|
|
14779
|
+
"jsonc/no-numeric-separators": string;
|
|
14780
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14781
|
+
"jsonc/no-octal": string;
|
|
14782
|
+
"jsonc/no-parenthesized": string;
|
|
14783
|
+
"jsonc/no-plus-sign": string;
|
|
14784
|
+
"jsonc/no-regexp-literals": string;
|
|
14785
|
+
"jsonc/no-sparse-arrays": string;
|
|
14786
|
+
"jsonc/no-template-literals": string;
|
|
14787
|
+
"jsonc/no-undefined-value": string;
|
|
14788
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14789
|
+
"jsonc/no-useless-escape": string;
|
|
14790
|
+
"jsonc/quote-props": string;
|
|
14791
|
+
"jsonc/quotes": string;
|
|
14792
|
+
"jsonc/space-unary-ops": string;
|
|
14793
|
+
"jsonc/valid-json-number": string;
|
|
14794
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14795
|
+
};
|
|
14796
|
+
})[];
|
|
14797
|
+
"flat/recommended-with-json5": ({
|
|
14798
|
+
plugins: {
|
|
14799
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14800
|
+
};
|
|
14801
|
+
files?: undefined;
|
|
14802
|
+
languageOptions?: undefined;
|
|
14803
|
+
rules?: undefined;
|
|
14804
|
+
} | {
|
|
14805
|
+
files: string[];
|
|
14806
|
+
languageOptions: {
|
|
14807
|
+
parser: typeof jsonc_eslint_parser;
|
|
14808
|
+
};
|
|
14809
|
+
rules: {
|
|
14810
|
+
strict: string;
|
|
14811
|
+
"no-unused-expressions": string;
|
|
14812
|
+
"no-unused-vars": string;
|
|
14813
|
+
};
|
|
14814
|
+
plugins?: undefined;
|
|
14815
|
+
} | {
|
|
14816
|
+
rules: {
|
|
14817
|
+
"jsonc/no-bigint-literals": string;
|
|
14818
|
+
"jsonc/no-binary-expression": string;
|
|
14819
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14820
|
+
"jsonc/no-dupe-keys": string;
|
|
14821
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14822
|
+
"jsonc/no-number-props": string;
|
|
14823
|
+
"jsonc/no-numeric-separators": string;
|
|
14824
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14825
|
+
"jsonc/no-octal": string;
|
|
14826
|
+
"jsonc/no-parenthesized": string;
|
|
14827
|
+
"jsonc/no-regexp-literals": string;
|
|
14828
|
+
"jsonc/no-sparse-arrays": string;
|
|
14829
|
+
"jsonc/no-template-literals": string;
|
|
14830
|
+
"jsonc/no-undefined-value": string;
|
|
14831
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14832
|
+
"jsonc/no-useless-escape": string;
|
|
14833
|
+
"jsonc/space-unary-ops": string;
|
|
14834
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14835
|
+
};
|
|
14836
|
+
})[];
|
|
14837
|
+
"flat/prettier": ({
|
|
14838
|
+
plugins: {
|
|
14839
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14840
|
+
};
|
|
14841
|
+
files?: undefined;
|
|
14842
|
+
languageOptions?: undefined;
|
|
14843
|
+
rules?: undefined;
|
|
14844
|
+
} | {
|
|
14845
|
+
files: string[];
|
|
14846
|
+
languageOptions: {
|
|
14847
|
+
parser: typeof jsonc_eslint_parser;
|
|
14848
|
+
};
|
|
14849
|
+
rules: {
|
|
14850
|
+
strict: string;
|
|
14851
|
+
"no-unused-expressions": string;
|
|
14852
|
+
"no-unused-vars": string;
|
|
14853
|
+
};
|
|
14854
|
+
plugins?: undefined;
|
|
14855
|
+
} | {
|
|
14856
|
+
rules: {
|
|
14857
|
+
"jsonc/array-bracket-newline": string;
|
|
14858
|
+
"jsonc/array-bracket-spacing": string;
|
|
14859
|
+
"jsonc/array-element-newline": string;
|
|
14860
|
+
"jsonc/comma-dangle": string;
|
|
14861
|
+
"jsonc/comma-style": string;
|
|
14862
|
+
"jsonc/indent": string;
|
|
14863
|
+
"jsonc/key-spacing": string;
|
|
14864
|
+
"jsonc/no-floating-decimal": string;
|
|
14865
|
+
"jsonc/object-curly-newline": string;
|
|
14866
|
+
"jsonc/object-curly-spacing": string;
|
|
14867
|
+
"jsonc/object-property-newline": string;
|
|
14868
|
+
"jsonc/quote-props": string;
|
|
14869
|
+
"jsonc/quotes": string;
|
|
14870
|
+
"jsonc/space-unary-ops": string;
|
|
14871
|
+
};
|
|
14872
|
+
})[];
|
|
14873
|
+
"flat/all": ({
|
|
14874
|
+
plugins: {
|
|
14875
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
14876
|
+
};
|
|
14877
|
+
files?: undefined;
|
|
14878
|
+
languageOptions?: undefined;
|
|
14879
|
+
rules?: undefined;
|
|
14880
|
+
} | {
|
|
14881
|
+
files: string[];
|
|
14882
|
+
languageOptions: {
|
|
14883
|
+
parser: typeof jsonc_eslint_parser;
|
|
14884
|
+
};
|
|
14885
|
+
rules: {
|
|
14886
|
+
strict: string;
|
|
14887
|
+
"no-unused-expressions": string;
|
|
14888
|
+
"no-unused-vars": string;
|
|
14889
|
+
};
|
|
14890
|
+
plugins?: undefined;
|
|
14891
|
+
} | {
|
|
14892
|
+
rules: {
|
|
14893
|
+
[x: string]: string;
|
|
14894
|
+
};
|
|
14895
|
+
})[];
|
|
14896
|
+
};
|
|
14897
|
+
rules: {
|
|
14898
|
+
[key: string]: eslint_plugin_jsonc_types.RuleModule;
|
|
14899
|
+
};
|
|
14900
|
+
parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
|
|
14901
|
+
parseJSON: typeof jsonc_eslint_parser.parseJSON;
|
|
14902
|
+
traverseNodes: typeof jsonc_eslint_parser.traverseNodes;
|
|
14903
|
+
getStaticJSONValue: typeof jsonc_eslint_parser.getStaticJSONValue;
|
|
14904
|
+
};
|
|
14905
|
+
}>;
|
|
14906
|
+
declare function importJsoncLibs(): Promise<{
|
|
14907
|
+
parserJsonc: typeof jsonc_eslint_parser;
|
|
14908
|
+
pluginJsonc: {
|
|
14909
|
+
meta: typeof eslint_plugin_jsonc_meta;
|
|
14910
|
+
configs: {
|
|
14911
|
+
base: {
|
|
14912
|
+
plugins: string[];
|
|
14913
|
+
overrides: {
|
|
14914
|
+
files: string[];
|
|
14915
|
+
parser: string;
|
|
14916
|
+
rules: {
|
|
14917
|
+
strict: string;
|
|
14918
|
+
"no-unused-expressions": string;
|
|
14919
|
+
"no-unused-vars": string;
|
|
14920
|
+
};
|
|
14921
|
+
}[];
|
|
14922
|
+
};
|
|
14923
|
+
"auto-config": {
|
|
14924
|
+
extends: string[];
|
|
14925
|
+
rules: {
|
|
14926
|
+
"jsonc/auto": string;
|
|
14927
|
+
};
|
|
14928
|
+
};
|
|
14929
|
+
"recommended-with-json": {
|
|
14930
|
+
extends: string[];
|
|
14931
|
+
rules: {
|
|
14932
|
+
"jsonc/comma-dangle": string;
|
|
14933
|
+
"jsonc/no-bigint-literals": string;
|
|
14934
|
+
"jsonc/no-binary-expression": string;
|
|
14935
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14936
|
+
"jsonc/no-comments": string;
|
|
14937
|
+
"jsonc/no-dupe-keys": string;
|
|
14938
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14939
|
+
"jsonc/no-floating-decimal": string;
|
|
14940
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14941
|
+
"jsonc/no-infinity": string;
|
|
14942
|
+
"jsonc/no-multi-str": string;
|
|
14943
|
+
"jsonc/no-nan": string;
|
|
14944
|
+
"jsonc/no-number-props": string;
|
|
14945
|
+
"jsonc/no-numeric-separators": string;
|
|
14946
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14947
|
+
"jsonc/no-octal": string;
|
|
14948
|
+
"jsonc/no-parenthesized": string;
|
|
14949
|
+
"jsonc/no-plus-sign": string;
|
|
14950
|
+
"jsonc/no-regexp-literals": string;
|
|
14951
|
+
"jsonc/no-sparse-arrays": string;
|
|
14952
|
+
"jsonc/no-template-literals": string;
|
|
14953
|
+
"jsonc/no-undefined-value": string;
|
|
14954
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14955
|
+
"jsonc/no-useless-escape": string;
|
|
14956
|
+
"jsonc/quote-props": string;
|
|
14957
|
+
"jsonc/quotes": string;
|
|
14958
|
+
"jsonc/space-unary-ops": string;
|
|
14959
|
+
"jsonc/valid-json-number": string;
|
|
14960
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14961
|
+
};
|
|
14962
|
+
};
|
|
14963
|
+
"recommended-with-jsonc": {
|
|
14964
|
+
extends: string[];
|
|
14965
|
+
rules: {
|
|
14966
|
+
"jsonc/no-bigint-literals": string;
|
|
14967
|
+
"jsonc/no-binary-expression": string;
|
|
14968
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
14969
|
+
"jsonc/no-dupe-keys": string;
|
|
14970
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
14971
|
+
"jsonc/no-floating-decimal": string;
|
|
14972
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
14973
|
+
"jsonc/no-infinity": string;
|
|
14974
|
+
"jsonc/no-multi-str": string;
|
|
14975
|
+
"jsonc/no-nan": string;
|
|
14976
|
+
"jsonc/no-number-props": string;
|
|
14977
|
+
"jsonc/no-numeric-separators": string;
|
|
14978
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
14979
|
+
"jsonc/no-octal": string;
|
|
14980
|
+
"jsonc/no-parenthesized": string;
|
|
14981
|
+
"jsonc/no-plus-sign": string;
|
|
14982
|
+
"jsonc/no-regexp-literals": string;
|
|
14983
|
+
"jsonc/no-sparse-arrays": string;
|
|
14984
|
+
"jsonc/no-template-literals": string;
|
|
14985
|
+
"jsonc/no-undefined-value": string;
|
|
14986
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
14987
|
+
"jsonc/no-useless-escape": string;
|
|
14988
|
+
"jsonc/quote-props": string;
|
|
14989
|
+
"jsonc/quotes": string;
|
|
14990
|
+
"jsonc/space-unary-ops": string;
|
|
14991
|
+
"jsonc/valid-json-number": string;
|
|
14992
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
14993
|
+
};
|
|
14994
|
+
};
|
|
14995
|
+
"recommended-with-json5": {
|
|
14996
|
+
extends: string[];
|
|
14997
|
+
rules: {
|
|
14998
|
+
"jsonc/no-bigint-literals": string;
|
|
14999
|
+
"jsonc/no-binary-expression": string;
|
|
15000
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15001
|
+
"jsonc/no-dupe-keys": string;
|
|
15002
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15003
|
+
"jsonc/no-number-props": string;
|
|
15004
|
+
"jsonc/no-numeric-separators": string;
|
|
15005
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15006
|
+
"jsonc/no-octal": string;
|
|
15007
|
+
"jsonc/no-parenthesized": string;
|
|
15008
|
+
"jsonc/no-regexp-literals": string;
|
|
15009
|
+
"jsonc/no-sparse-arrays": string;
|
|
15010
|
+
"jsonc/no-template-literals": string;
|
|
15011
|
+
"jsonc/no-undefined-value": string;
|
|
15012
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15013
|
+
"jsonc/no-useless-escape": string;
|
|
15014
|
+
"jsonc/space-unary-ops": string;
|
|
15015
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15016
|
+
};
|
|
15017
|
+
};
|
|
15018
|
+
prettier: {
|
|
15019
|
+
extends: string[];
|
|
15020
|
+
rules: {
|
|
15021
|
+
"jsonc/array-bracket-newline": string;
|
|
15022
|
+
"jsonc/array-bracket-spacing": string;
|
|
15023
|
+
"jsonc/array-element-newline": string;
|
|
15024
|
+
"jsonc/comma-dangle": string;
|
|
15025
|
+
"jsonc/comma-style": string;
|
|
15026
|
+
"jsonc/indent": string;
|
|
15027
|
+
"jsonc/key-spacing": string;
|
|
15028
|
+
"jsonc/no-floating-decimal": string;
|
|
15029
|
+
"jsonc/object-curly-newline": string;
|
|
15030
|
+
"jsonc/object-curly-spacing": string;
|
|
15031
|
+
"jsonc/object-property-newline": string;
|
|
15032
|
+
"jsonc/quote-props": string;
|
|
15033
|
+
"jsonc/quotes": string;
|
|
15034
|
+
"jsonc/space-unary-ops": string;
|
|
15035
|
+
};
|
|
15036
|
+
};
|
|
15037
|
+
all: {
|
|
15038
|
+
extends: string[];
|
|
15039
|
+
rules: {
|
|
15040
|
+
[x: string]: string;
|
|
15041
|
+
};
|
|
15042
|
+
};
|
|
15043
|
+
"flat/base": ({
|
|
15044
|
+
plugins: {
|
|
15045
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15046
|
+
};
|
|
15047
|
+
files?: undefined;
|
|
15048
|
+
languageOptions?: undefined;
|
|
15049
|
+
rules?: undefined;
|
|
15050
|
+
} | {
|
|
15051
|
+
files: string[];
|
|
15052
|
+
languageOptions: {
|
|
15053
|
+
parser: typeof jsonc_eslint_parser;
|
|
15054
|
+
};
|
|
15055
|
+
rules: {
|
|
15056
|
+
strict: string;
|
|
15057
|
+
"no-unused-expressions": string;
|
|
15058
|
+
"no-unused-vars": string;
|
|
15059
|
+
};
|
|
15060
|
+
plugins?: undefined;
|
|
15061
|
+
})[];
|
|
15062
|
+
"flat/recommended-with-json": ({
|
|
15063
|
+
plugins: {
|
|
15064
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15065
|
+
};
|
|
15066
|
+
files?: undefined;
|
|
15067
|
+
languageOptions?: undefined;
|
|
15068
|
+
rules?: undefined;
|
|
15069
|
+
} | {
|
|
15070
|
+
files: string[];
|
|
15071
|
+
languageOptions: {
|
|
15072
|
+
parser: typeof jsonc_eslint_parser;
|
|
15073
|
+
};
|
|
15074
|
+
rules: {
|
|
15075
|
+
strict: string;
|
|
15076
|
+
"no-unused-expressions": string;
|
|
15077
|
+
"no-unused-vars": string;
|
|
15078
|
+
};
|
|
15079
|
+
plugins?: undefined;
|
|
15080
|
+
} | {
|
|
15081
|
+
rules: {
|
|
15082
|
+
"jsonc/comma-dangle": string;
|
|
15083
|
+
"jsonc/no-bigint-literals": string;
|
|
15084
|
+
"jsonc/no-binary-expression": string;
|
|
15085
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15086
|
+
"jsonc/no-comments": string;
|
|
15087
|
+
"jsonc/no-dupe-keys": string;
|
|
15088
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15089
|
+
"jsonc/no-floating-decimal": string;
|
|
15090
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15091
|
+
"jsonc/no-infinity": string;
|
|
15092
|
+
"jsonc/no-multi-str": string;
|
|
15093
|
+
"jsonc/no-nan": string;
|
|
15094
|
+
"jsonc/no-number-props": string;
|
|
15095
|
+
"jsonc/no-numeric-separators": string;
|
|
15096
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15097
|
+
"jsonc/no-octal": string;
|
|
15098
|
+
"jsonc/no-parenthesized": string;
|
|
15099
|
+
"jsonc/no-plus-sign": string;
|
|
15100
|
+
"jsonc/no-regexp-literals": string;
|
|
15101
|
+
"jsonc/no-sparse-arrays": string;
|
|
15102
|
+
"jsonc/no-template-literals": string;
|
|
15103
|
+
"jsonc/no-undefined-value": string;
|
|
15104
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15105
|
+
"jsonc/no-useless-escape": string;
|
|
15106
|
+
"jsonc/quote-props": string;
|
|
15107
|
+
"jsonc/quotes": string;
|
|
15108
|
+
"jsonc/space-unary-ops": string;
|
|
15109
|
+
"jsonc/valid-json-number": string;
|
|
15110
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15111
|
+
};
|
|
15112
|
+
})[];
|
|
15113
|
+
"flat/recommended-with-jsonc": ({
|
|
15114
|
+
plugins: {
|
|
15115
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15116
|
+
};
|
|
15117
|
+
files?: undefined;
|
|
15118
|
+
languageOptions?: undefined;
|
|
15119
|
+
rules?: undefined;
|
|
15120
|
+
} | {
|
|
15121
|
+
files: string[];
|
|
15122
|
+
languageOptions: {
|
|
15123
|
+
parser: typeof jsonc_eslint_parser;
|
|
15124
|
+
};
|
|
15125
|
+
rules: {
|
|
15126
|
+
strict: string;
|
|
15127
|
+
"no-unused-expressions": string;
|
|
15128
|
+
"no-unused-vars": string;
|
|
15129
|
+
};
|
|
15130
|
+
plugins?: undefined;
|
|
15131
|
+
} | {
|
|
15132
|
+
rules: {
|
|
15133
|
+
"jsonc/no-bigint-literals": string;
|
|
15134
|
+
"jsonc/no-binary-expression": string;
|
|
15135
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15136
|
+
"jsonc/no-dupe-keys": string;
|
|
15137
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15138
|
+
"jsonc/no-floating-decimal": string;
|
|
15139
|
+
"jsonc/no-hexadecimal-numeric-literals": string;
|
|
15140
|
+
"jsonc/no-infinity": string;
|
|
15141
|
+
"jsonc/no-multi-str": string;
|
|
15142
|
+
"jsonc/no-nan": string;
|
|
15143
|
+
"jsonc/no-number-props": string;
|
|
15144
|
+
"jsonc/no-numeric-separators": string;
|
|
15145
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15146
|
+
"jsonc/no-octal": string;
|
|
15147
|
+
"jsonc/no-parenthesized": string;
|
|
15148
|
+
"jsonc/no-plus-sign": string;
|
|
15149
|
+
"jsonc/no-regexp-literals": string;
|
|
15150
|
+
"jsonc/no-sparse-arrays": string;
|
|
15151
|
+
"jsonc/no-template-literals": string;
|
|
15152
|
+
"jsonc/no-undefined-value": string;
|
|
15153
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15154
|
+
"jsonc/no-useless-escape": string;
|
|
15155
|
+
"jsonc/quote-props": string;
|
|
15156
|
+
"jsonc/quotes": string;
|
|
15157
|
+
"jsonc/space-unary-ops": string;
|
|
15158
|
+
"jsonc/valid-json-number": string;
|
|
15159
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15160
|
+
};
|
|
15161
|
+
})[];
|
|
15162
|
+
"flat/recommended-with-json5": ({
|
|
15163
|
+
plugins: {
|
|
15164
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15165
|
+
};
|
|
15166
|
+
files?: undefined;
|
|
15167
|
+
languageOptions?: undefined;
|
|
15168
|
+
rules?: undefined;
|
|
15169
|
+
} | {
|
|
15170
|
+
files: string[];
|
|
15171
|
+
languageOptions: {
|
|
15172
|
+
parser: typeof jsonc_eslint_parser;
|
|
15173
|
+
};
|
|
15174
|
+
rules: {
|
|
15175
|
+
strict: string;
|
|
15176
|
+
"no-unused-expressions": string;
|
|
15177
|
+
"no-unused-vars": string;
|
|
15178
|
+
};
|
|
15179
|
+
plugins?: undefined;
|
|
15180
|
+
} | {
|
|
15181
|
+
rules: {
|
|
15182
|
+
"jsonc/no-bigint-literals": string;
|
|
15183
|
+
"jsonc/no-binary-expression": string;
|
|
15184
|
+
"jsonc/no-binary-numeric-literals": string;
|
|
15185
|
+
"jsonc/no-dupe-keys": string;
|
|
15186
|
+
"jsonc/no-escape-sequence-in-identifier": string;
|
|
15187
|
+
"jsonc/no-number-props": string;
|
|
15188
|
+
"jsonc/no-numeric-separators": string;
|
|
15189
|
+
"jsonc/no-octal-numeric-literals": string;
|
|
15190
|
+
"jsonc/no-octal": string;
|
|
15191
|
+
"jsonc/no-parenthesized": string;
|
|
15192
|
+
"jsonc/no-regexp-literals": string;
|
|
15193
|
+
"jsonc/no-sparse-arrays": string;
|
|
15194
|
+
"jsonc/no-template-literals": string;
|
|
15195
|
+
"jsonc/no-undefined-value": string;
|
|
15196
|
+
"jsonc/no-unicode-codepoint-escapes": string;
|
|
15197
|
+
"jsonc/no-useless-escape": string;
|
|
15198
|
+
"jsonc/space-unary-ops": string;
|
|
15199
|
+
"jsonc/vue-custom-block/no-parsing-error": string;
|
|
15200
|
+
};
|
|
15201
|
+
})[];
|
|
15202
|
+
"flat/prettier": ({
|
|
15203
|
+
plugins: {
|
|
15204
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15205
|
+
};
|
|
15206
|
+
files?: undefined;
|
|
15207
|
+
languageOptions?: undefined;
|
|
15208
|
+
rules?: undefined;
|
|
15209
|
+
} | {
|
|
15210
|
+
files: string[];
|
|
15211
|
+
languageOptions: {
|
|
15212
|
+
parser: typeof jsonc_eslint_parser;
|
|
15213
|
+
};
|
|
15214
|
+
rules: {
|
|
15215
|
+
strict: string;
|
|
15216
|
+
"no-unused-expressions": string;
|
|
15217
|
+
"no-unused-vars": string;
|
|
15218
|
+
};
|
|
15219
|
+
plugins?: undefined;
|
|
15220
|
+
} | {
|
|
15221
|
+
rules: {
|
|
15222
|
+
"jsonc/array-bracket-newline": string;
|
|
15223
|
+
"jsonc/array-bracket-spacing": string;
|
|
15224
|
+
"jsonc/array-element-newline": string;
|
|
15225
|
+
"jsonc/comma-dangle": string;
|
|
15226
|
+
"jsonc/comma-style": string;
|
|
15227
|
+
"jsonc/indent": string;
|
|
15228
|
+
"jsonc/key-spacing": string;
|
|
15229
|
+
"jsonc/no-floating-decimal": string;
|
|
15230
|
+
"jsonc/object-curly-newline": string;
|
|
15231
|
+
"jsonc/object-curly-spacing": string;
|
|
15232
|
+
"jsonc/object-property-newline": string;
|
|
15233
|
+
"jsonc/quote-props": string;
|
|
15234
|
+
"jsonc/quotes": string;
|
|
15235
|
+
"jsonc/space-unary-ops": string;
|
|
15236
|
+
};
|
|
15237
|
+
})[];
|
|
15238
|
+
"flat/all": ({
|
|
15239
|
+
plugins: {
|
|
15240
|
+
readonly jsonc: eslint.ESLint.Plugin;
|
|
15241
|
+
};
|
|
15242
|
+
files?: undefined;
|
|
15243
|
+
languageOptions?: undefined;
|
|
15244
|
+
rules?: undefined;
|
|
15245
|
+
} | {
|
|
15246
|
+
files: string[];
|
|
15247
|
+
languageOptions: {
|
|
15248
|
+
parser: typeof jsonc_eslint_parser;
|
|
15249
|
+
};
|
|
15250
|
+
rules: {
|
|
15251
|
+
strict: string;
|
|
15252
|
+
"no-unused-expressions": string;
|
|
15253
|
+
"no-unused-vars": string;
|
|
15254
|
+
};
|
|
15255
|
+
plugins?: undefined;
|
|
15256
|
+
} | {
|
|
15257
|
+
rules: {
|
|
15258
|
+
[x: string]: string;
|
|
15259
|
+
};
|
|
15260
|
+
})[];
|
|
15261
|
+
};
|
|
15262
|
+
rules: {
|
|
15263
|
+
[key: string]: eslint_plugin_jsonc_types.RuleModule;
|
|
15264
|
+
};
|
|
15265
|
+
parseForESLint: typeof jsonc_eslint_parser.parseForESLint;
|
|
15266
|
+
parseJSON: typeof jsonc_eslint_parser.parseJSON;
|
|
15267
|
+
traverseNodes: typeof jsonc_eslint_parser.traverseNodes;
|
|
15268
|
+
getStaticJSONValue: typeof jsonc_eslint_parser.getStaticJSONValue;
|
|
15269
|
+
};
|
|
15270
|
+
}>;
|
|
15271
|
+
declare function importYmlLibs(): Promise<{
|
|
15272
|
+
parserYaml: typeof yaml_eslint_parser;
|
|
15273
|
+
pluginYaml: {
|
|
15274
|
+
meta: typeof eslint_plugin_yml_lib_meta_js;
|
|
15275
|
+
configs: {
|
|
15276
|
+
base: {
|
|
15277
|
+
plugins: string[];
|
|
15278
|
+
overrides: {
|
|
15279
|
+
files: string[];
|
|
15280
|
+
parser: string;
|
|
15281
|
+
rules: {
|
|
15282
|
+
"no-irregular-whitespace": string;
|
|
15283
|
+
"no-unused-vars": string;
|
|
15284
|
+
"spaced-comment": string;
|
|
15285
|
+
};
|
|
15286
|
+
}[];
|
|
15287
|
+
};
|
|
15288
|
+
recommended: {
|
|
15289
|
+
extends: string[];
|
|
15290
|
+
rules: {
|
|
15291
|
+
"yml/no-empty-document": string;
|
|
15292
|
+
"yml/no-empty-key": string;
|
|
15293
|
+
"yml/no-empty-mapping-value": string;
|
|
15294
|
+
"yml/no-empty-sequence-entry": string;
|
|
15295
|
+
"yml/no-irregular-whitespace": string;
|
|
15296
|
+
"yml/no-tab-indent": string;
|
|
15297
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15298
|
+
};
|
|
15299
|
+
};
|
|
15300
|
+
standard: {
|
|
15301
|
+
extends: string[];
|
|
15302
|
+
rules: {
|
|
15303
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15304
|
+
"yml/block-mapping": string;
|
|
15305
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15306
|
+
"yml/block-sequence": string;
|
|
15307
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15308
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15309
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15310
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15311
|
+
"yml/indent": string;
|
|
15312
|
+
"yml/key-spacing": string;
|
|
15313
|
+
"yml/no-empty-document": string;
|
|
15314
|
+
"yml/no-empty-key": string;
|
|
15315
|
+
"yml/no-empty-mapping-value": string;
|
|
15316
|
+
"yml/no-empty-sequence-entry": string;
|
|
15317
|
+
"yml/no-irregular-whitespace": string;
|
|
15318
|
+
"yml/no-tab-indent": string;
|
|
15319
|
+
"yml/plain-scalar": string;
|
|
15320
|
+
"yml/quotes": string;
|
|
15321
|
+
"yml/spaced-comment": string;
|
|
15322
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15323
|
+
};
|
|
15324
|
+
};
|
|
15325
|
+
prettier: {
|
|
15326
|
+
extends: string[];
|
|
15327
|
+
rules: {
|
|
15328
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
|
15329
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15330
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15331
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15332
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15333
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15334
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15335
|
+
"yml/indent": string;
|
|
15336
|
+
"yml/key-spacing": string;
|
|
15337
|
+
"yml/no-multiple-empty-lines": string;
|
|
15338
|
+
"yml/no-trailing-zeros": string;
|
|
15339
|
+
"yml/quotes": string;
|
|
15340
|
+
};
|
|
15341
|
+
};
|
|
15342
|
+
"flat/base": ({
|
|
15343
|
+
plugins: {
|
|
15344
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15345
|
+
};
|
|
15346
|
+
files?: undefined;
|
|
15347
|
+
languageOptions?: undefined;
|
|
15348
|
+
rules?: undefined;
|
|
15349
|
+
} | {
|
|
15350
|
+
files: string[];
|
|
15351
|
+
languageOptions: {
|
|
15352
|
+
parser: typeof yaml_eslint_parser;
|
|
15353
|
+
};
|
|
15354
|
+
rules: {
|
|
15355
|
+
"no-irregular-whitespace": string;
|
|
15356
|
+
"no-unused-vars": string;
|
|
15357
|
+
"spaced-comment": string;
|
|
15358
|
+
};
|
|
15359
|
+
plugins?: undefined;
|
|
15360
|
+
})[];
|
|
15361
|
+
"flat/recommended": ({
|
|
15362
|
+
plugins: {
|
|
15363
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15364
|
+
};
|
|
15365
|
+
files?: undefined;
|
|
15366
|
+
languageOptions?: undefined;
|
|
15367
|
+
rules?: undefined;
|
|
15368
|
+
} | {
|
|
15369
|
+
files: string[];
|
|
15370
|
+
languageOptions: {
|
|
15371
|
+
parser: typeof yaml_eslint_parser;
|
|
15372
|
+
};
|
|
15373
|
+
rules: {
|
|
15374
|
+
"no-irregular-whitespace": string;
|
|
15375
|
+
"no-unused-vars": string;
|
|
15376
|
+
"spaced-comment": string;
|
|
15377
|
+
};
|
|
15378
|
+
plugins?: undefined;
|
|
15379
|
+
} | {
|
|
15380
|
+
rules: {
|
|
15381
|
+
"yml/no-empty-document": string;
|
|
15382
|
+
"yml/no-empty-key": string;
|
|
15383
|
+
"yml/no-empty-mapping-value": string;
|
|
15384
|
+
"yml/no-empty-sequence-entry": string;
|
|
15385
|
+
"yml/no-irregular-whitespace": string;
|
|
15386
|
+
"yml/no-tab-indent": string;
|
|
15387
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15388
|
+
};
|
|
15389
|
+
})[];
|
|
15390
|
+
"flat/standard": ({
|
|
15391
|
+
plugins: {
|
|
15392
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15393
|
+
};
|
|
15394
|
+
files?: undefined;
|
|
15395
|
+
languageOptions?: undefined;
|
|
15396
|
+
rules?: undefined;
|
|
15397
|
+
} | {
|
|
15398
|
+
files: string[];
|
|
15399
|
+
languageOptions: {
|
|
15400
|
+
parser: typeof yaml_eslint_parser;
|
|
15401
|
+
};
|
|
15402
|
+
rules: {
|
|
15403
|
+
"no-irregular-whitespace": string;
|
|
15404
|
+
"no-unused-vars": string;
|
|
15405
|
+
"spaced-comment": string;
|
|
15406
|
+
};
|
|
15407
|
+
plugins?: undefined;
|
|
15408
|
+
} | {
|
|
15409
|
+
rules: {
|
|
15410
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15411
|
+
"yml/block-mapping": string;
|
|
15412
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15413
|
+
"yml/block-sequence": string;
|
|
15414
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15415
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15416
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15417
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15418
|
+
"yml/indent": string;
|
|
15419
|
+
"yml/key-spacing": string;
|
|
15420
|
+
"yml/no-empty-document": string;
|
|
15421
|
+
"yml/no-empty-key": string;
|
|
15422
|
+
"yml/no-empty-mapping-value": string;
|
|
15423
|
+
"yml/no-empty-sequence-entry": string;
|
|
15424
|
+
"yml/no-irregular-whitespace": string;
|
|
15425
|
+
"yml/no-tab-indent": string;
|
|
15426
|
+
"yml/plain-scalar": string;
|
|
15427
|
+
"yml/quotes": string;
|
|
15428
|
+
"yml/spaced-comment": string;
|
|
15429
|
+
"yml/vue-custom-block/no-parsing-error": string;
|
|
15430
|
+
};
|
|
15431
|
+
})[];
|
|
15432
|
+
"flat/prettier": ({
|
|
15433
|
+
plugins: {
|
|
15434
|
+
readonly yml: eslint.ESLint.Plugin;
|
|
15435
|
+
};
|
|
15436
|
+
files?: undefined;
|
|
15437
|
+
languageOptions?: undefined;
|
|
15438
|
+
rules?: undefined;
|
|
15439
|
+
} | {
|
|
15440
|
+
files: string[];
|
|
15441
|
+
languageOptions: {
|
|
15442
|
+
parser: typeof yaml_eslint_parser;
|
|
15443
|
+
};
|
|
15444
|
+
rules: {
|
|
15445
|
+
"no-irregular-whitespace": string;
|
|
15446
|
+
"no-unused-vars": string;
|
|
15447
|
+
"spaced-comment": string;
|
|
15448
|
+
};
|
|
15449
|
+
plugins?: undefined;
|
|
15450
|
+
} | {
|
|
15451
|
+
rules: {
|
|
15452
|
+
"yml/block-mapping-colon-indicator-newline": string;
|
|
15453
|
+
"yml/block-mapping-question-indicator-newline": string;
|
|
15454
|
+
"yml/block-sequence-hyphen-indicator-newline": string;
|
|
15455
|
+
"yml/flow-mapping-curly-newline": string;
|
|
15456
|
+
"yml/flow-mapping-curly-spacing": string;
|
|
15457
|
+
"yml/flow-sequence-bracket-newline": string;
|
|
15458
|
+
"yml/flow-sequence-bracket-spacing": string;
|
|
15459
|
+
"yml/indent": string;
|
|
15460
|
+
"yml/key-spacing": string;
|
|
15461
|
+
"yml/no-multiple-empty-lines": string;
|
|
15462
|
+
"yml/no-trailing-zeros": string;
|
|
15463
|
+
"yml/quotes": string;
|
|
15464
|
+
};
|
|
15465
|
+
})[];
|
|
15466
|
+
};
|
|
15467
|
+
rules: {
|
|
15468
|
+
[key: string]: eslint_plugin_yml_lib_types_js.RuleModule;
|
|
15469
|
+
};
|
|
15470
|
+
};
|
|
15471
|
+
}>;
|
|
15472
|
+
declare function importPluginMarkdown(): Promise<{
|
|
15473
|
+
pluginMarkdown: any;
|
|
15474
|
+
}>;
|
|
15475
|
+
declare function importPluginJsdoc(): Promise<{
|
|
15476
|
+
pluginJsdoc: eslint.ESLint.Plugin & {
|
|
15477
|
+
configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig>;
|
|
15478
|
+
};
|
|
15479
|
+
}>;
|
|
15480
|
+
declare function importPluginStylistic(): Promise<{
|
|
15481
|
+
pluginStylistic: typeof _stylistic_eslint_plugin;
|
|
15482
|
+
}>;
|
|
15483
|
+
declare function importPluginTailwind(): Promise<{
|
|
15484
|
+
pluginTailwind: any;
|
|
15485
|
+
}>;
|
|
15486
|
+
|
|
14181
15487
|
/**
|
|
14182
15488
|
* Combine array and non-array configs into a single array.
|
|
14183
15489
|
*/
|
|
@@ -14196,4 +15502,4 @@ declare function isInEditor(): boolean;
|
|
|
14196
15502
|
declare function jssestd(): Promise<FlatConfigItem[]>;
|
|
14197
15503
|
declare function jsseReact(): Promise<FlatConfigItem[]>;
|
|
14198
15504
|
|
|
14199
|
-
export { type Awaitable, type EslintConfigFn, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, 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 PromiseFlatConfigItem, type Rules, type StylisticConfig, combine, combineAsync, jsse as default, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };
|
|
15505
|
+
export { type Awaitable, type EslintConfigFn, type FlatConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, 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 PromiseFlatConfigItem, type Rules, type StylisticConfig, type TailwindEslintSettings, type TailwindOptions, combine, combineAsync, jsse as default, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTailwind, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, jssestd, renameRules };
|