@ariel-salgado/eslint-config 0.0.4 → 0.0.5-beta.2

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1414 -1414
  2. package/dist/index.js +1 -1
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -96,6 +96,63 @@ interface RuleOptions {
96
96
  * @deprecated
97
97
  */
98
98
  'arrow-spacing'?: Linter.RuleEntry<ArrowSpacing>;
99
+ /**
100
+ * Enforce a consistent order for tailwind classes.
101
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
102
+ */
103
+ 'better-tailwindcss/enforce-consistent-class-order'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentClassOrder>;
104
+ /**
105
+ * Enforce consistent line wrapping for tailwind classes.
106
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
107
+ */
108
+ 'better-tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentLineWrapping>;
109
+ /**
110
+ * Enforce consistent syntax for css variables.
111
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variable-syntax.md
112
+ */
113
+ 'better-tailwindcss/enforce-consistent-variable-syntax'?: Linter.RuleEntry<BetterTailwindcssEnforceConsistentVariableSyntax>;
114
+ /**
115
+ * Enforce shorthand class names instead of longhand class names.
116
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
117
+ */
118
+ 'better-tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<BetterTailwindcssEnforceShorthandClasses>;
119
+ /**
120
+ * Enforce consistent line wrapping for tailwind classes.
121
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
122
+ * @deprecated
123
+ */
124
+ 'better-tailwindcss/multiline'?: Linter.RuleEntry<BetterTailwindcssMultiline>;
125
+ /**
126
+ * Disallow classes that produce conflicting styles.
127
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
128
+ */
129
+ 'better-tailwindcss/no-conflicting-classes'?: Linter.RuleEntry<BetterTailwindcssNoConflictingClasses>;
130
+ /**
131
+ * Disallow duplicate class names in tailwind classes.
132
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-duplicate-classes.md
133
+ */
134
+ 'better-tailwindcss/no-duplicate-classes'?: Linter.RuleEntry<BetterTailwindcssNoDuplicateClasses>;
135
+ /**
136
+ * Disallow restricted classes.
137
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-restricted-classes.md
138
+ */
139
+ 'better-tailwindcss/no-restricted-classes'?: Linter.RuleEntry<BetterTailwindcssNoRestrictedClasses>;
140
+ /**
141
+ * Disallow unnecessary whitespace in tailwind classes.
142
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unnecessary-whitespace.md
143
+ */
144
+ 'better-tailwindcss/no-unnecessary-whitespace'?: Linter.RuleEntry<BetterTailwindcssNoUnnecessaryWhitespace>;
145
+ /**
146
+ * Disallow any css classes that are not registered in tailwindcss.
147
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unregistered-classes.md
148
+ */
149
+ 'better-tailwindcss/no-unregistered-classes'?: Linter.RuleEntry<BetterTailwindcssNoUnregisteredClasses>;
150
+ /**
151
+ * Enforce a consistent order for tailwind classes.
152
+ * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
153
+ * @deprecated
154
+ */
155
+ 'better-tailwindcss/sort-classes'?: Linter.RuleEntry<BetterTailwindcssSortClasses>;
99
156
  /**
100
157
  * Enforce the use of variables within the scope they are defined
101
158
  * @see https://eslint.org/docs/latest/rules/block-scoped-var
@@ -3835,63 +3892,6 @@ interface RuleOptions {
3835
3892
  * @see https://eslint.org/docs/latest/rules/symbol-description
3836
3893
  */
3837
3894
  'symbol-description'?: Linter.RuleEntry<[]>;
3838
- /**
3839
- * Enforce a consistent order for tailwind classes.
3840
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
3841
- */
3842
- 'tailwindcss/enforce-consistent-class-order'?: Linter.RuleEntry<TailwindcssEnforceConsistentClassOrder>;
3843
- /**
3844
- * Enforce consistent line wrapping for tailwind classes.
3845
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
3846
- */
3847
- 'tailwindcss/enforce-consistent-line-wrapping'?: Linter.RuleEntry<TailwindcssEnforceConsistentLineWrapping>;
3848
- /**
3849
- * Enforce consistent syntax for css variables.
3850
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-variable-syntax.md
3851
- */
3852
- 'tailwindcss/enforce-consistent-variable-syntax'?: Linter.RuleEntry<TailwindcssEnforceConsistentVariableSyntax>;
3853
- /**
3854
- * Enforce shorthand class names instead of longhand class names.
3855
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-shorthand-classes.md
3856
- */
3857
- 'tailwindcss/enforce-shorthand-classes'?: Linter.RuleEntry<TailwindcssEnforceShorthandClasses>;
3858
- /**
3859
- * Enforce consistent line wrapping for tailwind classes.
3860
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/multiline.md
3861
- * @deprecated
3862
- */
3863
- 'tailwindcss/multiline'?: Linter.RuleEntry<TailwindcssMultiline>;
3864
- /**
3865
- * Disallow classes that produce conflicting styles.
3866
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-conflicting-classes.md
3867
- */
3868
- 'tailwindcss/no-conflicting-classes'?: Linter.RuleEntry<TailwindcssNoConflictingClasses>;
3869
- /**
3870
- * Disallow duplicate class names in tailwind classes.
3871
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-duplicate-classes.md
3872
- */
3873
- 'tailwindcss/no-duplicate-classes'?: Linter.RuleEntry<TailwindcssNoDuplicateClasses>;
3874
- /**
3875
- * Disallow restricted classes.
3876
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-restricted-classes.md
3877
- */
3878
- 'tailwindcss/no-restricted-classes'?: Linter.RuleEntry<TailwindcssNoRestrictedClasses>;
3879
- /**
3880
- * Disallow unnecessary whitespace in tailwind classes.
3881
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unnecessary-whitespace.md
3882
- */
3883
- 'tailwindcss/no-unnecessary-whitespace'?: Linter.RuleEntry<TailwindcssNoUnnecessaryWhitespace>;
3884
- /**
3885
- * Disallow any css classes that are not registered in tailwindcss.
3886
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/no-unregistered-classes.md
3887
- */
3888
- 'tailwindcss/no-unregistered-classes'?: Linter.RuleEntry<TailwindcssNoUnregisteredClasses>;
3889
- /**
3890
- * Enforce a consistent order for tailwind classes.
3891
- * @see https://github.com/schoero/eslint-plugin-better-tailwindcss/blob/main/docs/rules/enforce-consistent-class-order.md
3892
- * @deprecated
3893
- */
3894
- 'tailwindcss/sort-classes'?: Linter.RuleEntry<TailwindcssSortClasses>;
3895
3895
  /**
3896
3896
  * Require or disallow spacing around embedded expressions of template strings
3897
3897
  * @see https://eslint.org/docs/latest/rules/template-curly-spacing
@@ -5974,280 +5974,878 @@ type ArrowSpacing = [] | [{
5974
5974
  before?: boolean;
5975
5975
  after?: boolean;
5976
5976
  }];
5977
- // ----- block-spacing -----
5978
- type BlockSpacing = [] | [("always" | "never")];
5979
- // ----- brace-style -----
5980
- type BraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
5981
- allowSingleLine?: boolean;
5982
- }];
5983
- // ----- callback-return -----
5984
- type CallbackReturn = [] | [string[]];
5985
- // ----- camelcase -----
5986
- type Camelcase = [] | [{
5987
- ignoreDestructuring?: boolean;
5988
- ignoreImports?: boolean;
5989
- ignoreGlobals?: boolean;
5990
- properties?: ("always" | "never");
5991
- allow?: string[];
5992
- }];
5993
- // ----- capitalized-comments -----
5994
- type CapitalizedComments = [] | [("always" | "never")] | [("always" | "never"), ({
5995
- ignorePattern?: string;
5996
- ignoreInlineComments?: boolean;
5997
- ignoreConsecutiveComments?: boolean;
5998
- } | {
5999
- line?: {
6000
- ignorePattern?: string;
6001
- ignoreInlineComments?: boolean;
6002
- ignoreConsecutiveComments?: boolean;
6003
- };
6004
- block?: {
6005
- ignorePattern?: string;
6006
- ignoreInlineComments?: boolean;
6007
- ignoreConsecutiveComments?: boolean;
6008
- };
6009
- })];
6010
- // ----- class-methods-use-this -----
6011
- type ClassMethodsUseThis = [] | [{
6012
- exceptMethods?: string[];
6013
- enforceForClassFields?: boolean;
6014
- ignoreOverrideMethods?: boolean;
6015
- ignoreClassesWithImplements?: ("all" | "public-fields");
5977
+ // ----- better-tailwindcss/enforce-consistent-class-order -----
5978
+ type BetterTailwindcssEnforceConsistentClassOrder = [] | [{
5979
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
5980
+ match?: "strings";
5981
+ [k: string]: unknown | undefined;
5982
+ } | {
5983
+ match?: "objectKeys";
5984
+ pathPattern?: string;
5985
+ [k: string]: unknown | undefined;
5986
+ } | {
5987
+ match?: "objectValues";
5988
+ pathPattern?: string;
5989
+ [k: string]: unknown | undefined;
5990
+ })[]] | string)[];
5991
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
5992
+ match?: "strings";
5993
+ [k: string]: unknown | undefined;
5994
+ } | {
5995
+ match?: "objectKeys";
5996
+ pathPattern?: string;
5997
+ [k: string]: unknown | undefined;
5998
+ } | {
5999
+ match?: "objectValues";
6000
+ pathPattern?: string;
6001
+ [k: string]: unknown | undefined;
6002
+ })[]])[];
6003
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6004
+ match?: "strings";
6005
+ [k: string]: unknown | undefined;
6006
+ } | {
6007
+ match?: "objectKeys";
6008
+ pathPattern?: string;
6009
+ [k: string]: unknown | undefined;
6010
+ } | {
6011
+ match?: "objectValues";
6012
+ pathPattern?: string;
6013
+ [k: string]: unknown | undefined;
6014
+ })[]] | string)[];
6015
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6016
+ match?: "strings";
6017
+ [k: string]: unknown | undefined;
6018
+ } | {
6019
+ match?: "objectKeys";
6020
+ pathPattern?: string;
6021
+ [k: string]: unknown | undefined;
6022
+ } | {
6023
+ match?: "objectValues";
6024
+ pathPattern?: string;
6025
+ [k: string]: unknown | undefined;
6026
+ })[]] | string)[];
6027
+ entryPoint?: string;
6028
+ tailwindConfig?: string;
6029
+ order?: ("asc" | "desc" | "official" | "improved");
6016
6030
  }];
6017
- // ----- comma-dangle -----
6018
- type CommaDangle = [] | [(_CommaDangleValue | {
6019
- arrays?: _CommaDangleValueWithIgnore;
6020
- objects?: _CommaDangleValueWithIgnore;
6021
- imports?: _CommaDangleValueWithIgnore;
6022
- exports?: _CommaDangleValueWithIgnore;
6023
- functions?: _CommaDangleValueWithIgnore;
6024
- })];
6025
- type _CommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
6026
- type _CommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline");
6027
- // ----- comma-spacing -----
6028
- type CommaSpacing = [] | [{
6029
- before?: boolean;
6030
- after?: boolean;
6031
+ // ----- better-tailwindcss/enforce-consistent-line-wrapping -----
6032
+ type BetterTailwindcssEnforceConsistentLineWrapping = [] | [{
6033
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6034
+ match?: "strings";
6035
+ [k: string]: unknown | undefined;
6036
+ } | {
6037
+ match?: "objectKeys";
6038
+ pathPattern?: string;
6039
+ [k: string]: unknown | undefined;
6040
+ } | {
6041
+ match?: "objectValues";
6042
+ pathPattern?: string;
6043
+ [k: string]: unknown | undefined;
6044
+ })[]] | string)[];
6045
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6046
+ match?: "strings";
6047
+ [k: string]: unknown | undefined;
6048
+ } | {
6049
+ match?: "objectKeys";
6050
+ pathPattern?: string;
6051
+ [k: string]: unknown | undefined;
6052
+ } | {
6053
+ match?: "objectValues";
6054
+ pathPattern?: string;
6055
+ [k: string]: unknown | undefined;
6056
+ })[]])[];
6057
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6058
+ match?: "strings";
6059
+ [k: string]: unknown | undefined;
6060
+ } | {
6061
+ match?: "objectKeys";
6062
+ pathPattern?: string;
6063
+ [k: string]: unknown | undefined;
6064
+ } | {
6065
+ match?: "objectValues";
6066
+ pathPattern?: string;
6067
+ [k: string]: unknown | undefined;
6068
+ })[]] | string)[];
6069
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6070
+ match?: "strings";
6071
+ [k: string]: unknown | undefined;
6072
+ } | {
6073
+ match?: "objectKeys";
6074
+ pathPattern?: string;
6075
+ [k: string]: unknown | undefined;
6076
+ } | {
6077
+ match?: "objectValues";
6078
+ pathPattern?: string;
6079
+ [k: string]: unknown | undefined;
6080
+ })[]] | string)[];
6081
+ entryPoint?: string;
6082
+ tailwindConfig?: string;
6083
+ classesPerLine?: number;
6084
+ group?: ("emptyLine" | "never" | "newLine");
6085
+ indent?: ("tab" | number);
6086
+ lineBreakStyle?: ("unix" | "windows");
6087
+ preferSingleLine?: boolean;
6088
+ printWidth?: number;
6031
6089
  }];
6032
- // ----- comma-style -----
6033
- type CommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
6034
- exceptions?: {
6035
- [k: string]: boolean | undefined;
6036
- };
6037
- }];
6038
- // ----- complexity -----
6039
- type Complexity = [] | [(number | {
6040
- maximum?: number;
6041
- max?: number;
6042
- variant?: ("classic" | "modified");
6043
- })];
6044
- // ----- computed-property-spacing -----
6045
- type ComputedPropertySpacing = [] | [("always" | "never")] | [("always" | "never"), {
6046
- enforceForClassMembers?: boolean;
6047
- }];
6048
- // ----- consistent-return -----
6049
- type ConsistentReturn = [] | [{
6050
- treatUndefinedAsUnspecified?: boolean;
6051
- }];
6052
- // ----- consistent-this -----
6053
- type ConsistentThis = string[];
6054
- // ----- curly -----
6055
- type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
6056
- // ----- default-case -----
6057
- type DefaultCase = [] | [{
6058
- commentPattern?: string;
6059
- }];
6060
- // ----- dot-location -----
6061
- type DotLocation = [] | [("object" | "property")];
6062
- // ----- dot-notation -----
6063
- type DotNotation = [] | [{
6064
- allowKeywords?: boolean;
6065
- allowPattern?: string;
6066
- }];
6067
- // ----- eol-last -----
6068
- type EolLast = [] | [("always" | "never" | "unix" | "windows")];
6069
- // ----- eqeqeq -----
6070
- type Eqeqeq = ([] | ["always"] | ["always", {
6071
- null?: ("always" | "never" | "ignore");
6072
- }] | [] | [("smart" | "allow-null")]);
6073
- // ----- eslint-comments/disable-enable-pair -----
6074
- type EslintCommentsDisableEnablePair = [] | [{
6075
- allowWholeFile?: boolean;
6076
- }];
6077
- // ----- eslint-comments/no-restricted-disable -----
6078
- type EslintCommentsNoRestrictedDisable = string[];
6079
- // ----- eslint-comments/no-use -----
6080
- type EslintCommentsNoUse = [] | [{
6081
- allow?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
6082
- }];
6083
- // ----- eslint-comments/require-description -----
6084
- type EslintCommentsRequireDescription = [] | [{
6085
- ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
6086
- }];
6087
- // ----- func-call-spacing -----
6088
- type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
6089
- allowNewlines?: boolean;
6090
- }]);
6091
- // ----- func-name-matching -----
6092
- type FuncNameMatching = ([] | [("always" | "never")] | [("always" | "never"), {
6093
- considerPropertyDescriptor?: boolean;
6094
- includeCommonJSModuleExports?: boolean;
6095
- }] | [] | [{
6096
- considerPropertyDescriptor?: boolean;
6097
- includeCommonJSModuleExports?: boolean;
6098
- }]);
6099
- // ----- func-names -----
6100
- type FuncNames = [] | [_FuncNamesValue] | [_FuncNamesValue, {
6101
- generators?: _FuncNamesValue;
6102
- }];
6103
- type _FuncNamesValue = ("always" | "as-needed" | "never");
6104
- // ----- func-style -----
6105
- type FuncStyle = [] | [("declaration" | "expression")] | [("declaration" | "expression"), {
6106
- allowArrowFunctions?: boolean;
6107
- allowTypeAnnotation?: boolean;
6108
- overrides?: {
6109
- namedExports?: ("declaration" | "expression" | "ignore");
6110
- };
6111
- }];
6112
- // ----- function-call-argument-newline -----
6113
- type FunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
6114
- // ----- function-paren-newline -----
6115
- type FunctionParenNewline = [] | [(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
6116
- minItems?: number;
6117
- })];
6118
- // ----- generator-star-spacing -----
6119
- type GeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
6120
- before?: boolean;
6121
- after?: boolean;
6122
- named?: (("before" | "after" | "both" | "neither") | {
6123
- before?: boolean;
6124
- after?: boolean;
6125
- });
6126
- anonymous?: (("before" | "after" | "both" | "neither") | {
6127
- before?: boolean;
6128
- after?: boolean;
6129
- });
6130
- method?: (("before" | "after" | "both" | "neither") | {
6131
- before?: boolean;
6132
- after?: boolean;
6133
- });
6134
- })];
6135
- // ----- getter-return -----
6136
- type GetterReturn = [] | [{
6137
- allowImplicit?: boolean;
6138
- }];
6139
- // ----- grouped-accessor-pairs -----
6140
- type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")];
6141
- // ----- handle-callback-err -----
6142
- type HandleCallbackErr = [] | [string];
6143
- // ----- id-blacklist -----
6144
- type IdBlacklist = string[];
6145
- // ----- id-denylist -----
6146
- type IdDenylist = string[];
6147
- // ----- id-length -----
6148
- type IdLength = [] | [{
6149
- min?: number;
6150
- max?: number;
6151
- exceptions?: string[];
6152
- exceptionPatterns?: string[];
6153
- properties?: ("always" | "never");
6154
- }];
6155
- // ----- id-match -----
6156
- type IdMatch = [] | [string] | [string, {
6157
- properties?: boolean;
6158
- classFields?: boolean;
6159
- onlyDeclarations?: boolean;
6160
- ignoreDestructuring?: boolean;
6161
- }];
6162
- // ----- implicit-arrow-linebreak -----
6163
- type ImplicitArrowLinebreak = [] | [("beside" | "below")];
6164
- // ----- import/consistent-type-specifier-style -----
6165
- type ImportConsistentTypeSpecifierStyle = [] | [("top-level" | "inline" | "prefer-top-level")];
6166
- // ----- import/first -----
6167
- type ImportFirst = [] | [("absolute-first" | "disable-absolute-first")];
6168
- // ----- import/newline-after-import -----
6169
- type ImportNewlineAfterImport = [] | [{
6170
- count?: number;
6171
- exactCount?: boolean;
6172
- considerComments?: boolean;
6173
- }];
6174
- // ----- import/no-duplicates -----
6175
- type ImportNoDuplicates = [] | [{
6176
- "prefer-inline"?: boolean;
6177
- }];
6178
- // ----- indent -----
6179
- type Indent = [] | [("tab" | number)] | [("tab" | number), {
6180
- SwitchCase?: number;
6181
- VariableDeclarator?: ((number | ("first" | "off")) | {
6182
- var?: (number | ("first" | "off"));
6183
- let?: (number | ("first" | "off"));
6184
- const?: (number | ("first" | "off"));
6185
- });
6186
- outerIIFEBody?: (number | "off");
6187
- MemberExpression?: (number | "off");
6188
- FunctionDeclaration?: {
6189
- parameters?: (number | ("first" | "off"));
6190
- body?: number;
6191
- };
6192
- FunctionExpression?: {
6193
- parameters?: (number | ("first" | "off"));
6194
- body?: number;
6195
- };
6196
- StaticBlock?: {
6197
- body?: number;
6198
- };
6199
- CallExpression?: {
6200
- arguments?: (number | ("first" | "off"));
6201
- };
6202
- ArrayExpression?: (number | ("first" | "off"));
6203
- ObjectExpression?: (number | ("first" | "off"));
6204
- ImportDeclaration?: (number | ("first" | "off"));
6205
- flatTernaryExpressions?: boolean;
6206
- offsetTernaryExpressions?: boolean;
6207
- ignoredNodes?: string[];
6208
- ignoreComments?: boolean;
6209
- }];
6210
- // ----- indent-legacy -----
6211
- type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
6212
- SwitchCase?: number;
6213
- VariableDeclarator?: (number | {
6214
- var?: number;
6215
- let?: number;
6216
- const?: number;
6090
+ // ----- better-tailwindcss/enforce-consistent-variable-syntax -----
6091
+ type BetterTailwindcssEnforceConsistentVariableSyntax = [] | [{
6092
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6093
+ match?: "strings";
6217
6094
  [k: string]: unknown | undefined;
6218
- });
6219
- outerIIFEBody?: number;
6220
- MemberExpression?: number;
6221
- FunctionDeclaration?: {
6222
- parameters?: (number | "first");
6223
- body?: number;
6095
+ } | {
6096
+ match?: "objectKeys";
6097
+ pathPattern?: string;
6224
6098
  [k: string]: unknown | undefined;
6225
- };
6226
- FunctionExpression?: {
6227
- parameters?: (number | "first");
6228
- body?: number;
6099
+ } | {
6100
+ match?: "objectValues";
6101
+ pathPattern?: string;
6229
6102
  [k: string]: unknown | undefined;
6230
- };
6231
- CallExpression?: {
6232
- parameters?: (number | "first");
6103
+ })[]] | string)[];
6104
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6105
+ match?: "strings";
6233
6106
  [k: string]: unknown | undefined;
6234
- };
6235
- ArrayExpression?: (number | "first");
6236
- ObjectExpression?: (number | "first");
6107
+ } | {
6108
+ match?: "objectKeys";
6109
+ pathPattern?: string;
6110
+ [k: string]: unknown | undefined;
6111
+ } | {
6112
+ match?: "objectValues";
6113
+ pathPattern?: string;
6114
+ [k: string]: unknown | undefined;
6115
+ })[]])[];
6116
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6117
+ match?: "strings";
6118
+ [k: string]: unknown | undefined;
6119
+ } | {
6120
+ match?: "objectKeys";
6121
+ pathPattern?: string;
6122
+ [k: string]: unknown | undefined;
6123
+ } | {
6124
+ match?: "objectValues";
6125
+ pathPattern?: string;
6126
+ [k: string]: unknown | undefined;
6127
+ })[]] | string)[];
6128
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6129
+ match?: "strings";
6130
+ [k: string]: unknown | undefined;
6131
+ } | {
6132
+ match?: "objectKeys";
6133
+ pathPattern?: string;
6134
+ [k: string]: unknown | undefined;
6135
+ } | {
6136
+ match?: "objectValues";
6137
+ pathPattern?: string;
6138
+ [k: string]: unknown | undefined;
6139
+ })[]] | string)[];
6140
+ syntax?: ("arbitrary" | "parentheses");
6237
6141
  }];
6238
- // ----- init-declarations -----
6239
- type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
6240
- ignoreForLoopInit?: boolean;
6241
- }]);
6242
- // ----- jsdoc/check-examples -----
6243
- type JsdocCheckExamples = [] | [{
6244
- allowInlineConfig?: boolean;
6245
- baseConfig?: {
6142
+ // ----- better-tailwindcss/enforce-shorthand-classes -----
6143
+ type BetterTailwindcssEnforceShorthandClasses = [] | [{
6144
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6145
+ match?: "strings";
6246
6146
  [k: string]: unknown | undefined;
6247
- };
6248
- captionRequired?: boolean;
6249
- checkDefaults?: boolean;
6250
- checkEslintrc?: boolean;
6147
+ } | {
6148
+ match?: "objectKeys";
6149
+ pathPattern?: string;
6150
+ [k: string]: unknown | undefined;
6151
+ } | {
6152
+ match?: "objectValues";
6153
+ pathPattern?: string;
6154
+ [k: string]: unknown | undefined;
6155
+ })[]] | string)[];
6156
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6157
+ match?: "strings";
6158
+ [k: string]: unknown | undefined;
6159
+ } | {
6160
+ match?: "objectKeys";
6161
+ pathPattern?: string;
6162
+ [k: string]: unknown | undefined;
6163
+ } | {
6164
+ match?: "objectValues";
6165
+ pathPattern?: string;
6166
+ [k: string]: unknown | undefined;
6167
+ })[]])[];
6168
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6169
+ match?: "strings";
6170
+ [k: string]: unknown | undefined;
6171
+ } | {
6172
+ match?: "objectKeys";
6173
+ pathPattern?: string;
6174
+ [k: string]: unknown | undefined;
6175
+ } | {
6176
+ match?: "objectValues";
6177
+ pathPattern?: string;
6178
+ [k: string]: unknown | undefined;
6179
+ })[]] | string)[];
6180
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6181
+ match?: "strings";
6182
+ [k: string]: unknown | undefined;
6183
+ } | {
6184
+ match?: "objectKeys";
6185
+ pathPattern?: string;
6186
+ [k: string]: unknown | undefined;
6187
+ } | {
6188
+ match?: "objectValues";
6189
+ pathPattern?: string;
6190
+ [k: string]: unknown | undefined;
6191
+ })[]] | string)[];
6192
+ entryPoint?: string;
6193
+ tailwindConfig?: string;
6194
+ }];
6195
+ // ----- better-tailwindcss/multiline -----
6196
+ type BetterTailwindcssMultiline = [] | [{
6197
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6198
+ match?: "strings";
6199
+ [k: string]: unknown | undefined;
6200
+ } | {
6201
+ match?: "objectKeys";
6202
+ pathPattern?: string;
6203
+ [k: string]: unknown | undefined;
6204
+ } | {
6205
+ match?: "objectValues";
6206
+ pathPattern?: string;
6207
+ [k: string]: unknown | undefined;
6208
+ })[]] | string)[];
6209
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6210
+ match?: "strings";
6211
+ [k: string]: unknown | undefined;
6212
+ } | {
6213
+ match?: "objectKeys";
6214
+ pathPattern?: string;
6215
+ [k: string]: unknown | undefined;
6216
+ } | {
6217
+ match?: "objectValues";
6218
+ pathPattern?: string;
6219
+ [k: string]: unknown | undefined;
6220
+ })[]])[];
6221
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6222
+ match?: "strings";
6223
+ [k: string]: unknown | undefined;
6224
+ } | {
6225
+ match?: "objectKeys";
6226
+ pathPattern?: string;
6227
+ [k: string]: unknown | undefined;
6228
+ } | {
6229
+ match?: "objectValues";
6230
+ pathPattern?: string;
6231
+ [k: string]: unknown | undefined;
6232
+ })[]] | string)[];
6233
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6234
+ match?: "strings";
6235
+ [k: string]: unknown | undefined;
6236
+ } | {
6237
+ match?: "objectKeys";
6238
+ pathPattern?: string;
6239
+ [k: string]: unknown | undefined;
6240
+ } | {
6241
+ match?: "objectValues";
6242
+ pathPattern?: string;
6243
+ [k: string]: unknown | undefined;
6244
+ })[]] | string)[];
6245
+ entryPoint?: string;
6246
+ tailwindConfig?: string;
6247
+ classesPerLine?: number;
6248
+ group?: ("emptyLine" | "never" | "newLine");
6249
+ indent?: ("tab" | number);
6250
+ lineBreakStyle?: ("unix" | "windows");
6251
+ preferSingleLine?: boolean;
6252
+ printWidth?: number;
6253
+ }];
6254
+ // ----- better-tailwindcss/no-conflicting-classes -----
6255
+ type BetterTailwindcssNoConflictingClasses = [] | [{
6256
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6257
+ match?: "strings";
6258
+ [k: string]: unknown | undefined;
6259
+ } | {
6260
+ match?: "objectKeys";
6261
+ pathPattern?: string;
6262
+ [k: string]: unknown | undefined;
6263
+ } | {
6264
+ match?: "objectValues";
6265
+ pathPattern?: string;
6266
+ [k: string]: unknown | undefined;
6267
+ })[]] | string)[];
6268
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6269
+ match?: "strings";
6270
+ [k: string]: unknown | undefined;
6271
+ } | {
6272
+ match?: "objectKeys";
6273
+ pathPattern?: string;
6274
+ [k: string]: unknown | undefined;
6275
+ } | {
6276
+ match?: "objectValues";
6277
+ pathPattern?: string;
6278
+ [k: string]: unknown | undefined;
6279
+ })[]])[];
6280
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6281
+ match?: "strings";
6282
+ [k: string]: unknown | undefined;
6283
+ } | {
6284
+ match?: "objectKeys";
6285
+ pathPattern?: string;
6286
+ [k: string]: unknown | undefined;
6287
+ } | {
6288
+ match?: "objectValues";
6289
+ pathPattern?: string;
6290
+ [k: string]: unknown | undefined;
6291
+ })[]] | string)[];
6292
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6293
+ match?: "strings";
6294
+ [k: string]: unknown | undefined;
6295
+ } | {
6296
+ match?: "objectKeys";
6297
+ pathPattern?: string;
6298
+ [k: string]: unknown | undefined;
6299
+ } | {
6300
+ match?: "objectValues";
6301
+ pathPattern?: string;
6302
+ [k: string]: unknown | undefined;
6303
+ })[]] | string)[];
6304
+ entryPoint?: string;
6305
+ tailwindConfig?: string;
6306
+ }];
6307
+ // ----- better-tailwindcss/no-duplicate-classes -----
6308
+ type BetterTailwindcssNoDuplicateClasses = [] | [{
6309
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6310
+ match?: "strings";
6311
+ [k: string]: unknown | undefined;
6312
+ } | {
6313
+ match?: "objectKeys";
6314
+ pathPattern?: string;
6315
+ [k: string]: unknown | undefined;
6316
+ } | {
6317
+ match?: "objectValues";
6318
+ pathPattern?: string;
6319
+ [k: string]: unknown | undefined;
6320
+ })[]] | string)[];
6321
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6322
+ match?: "strings";
6323
+ [k: string]: unknown | undefined;
6324
+ } | {
6325
+ match?: "objectKeys";
6326
+ pathPattern?: string;
6327
+ [k: string]: unknown | undefined;
6328
+ } | {
6329
+ match?: "objectValues";
6330
+ pathPattern?: string;
6331
+ [k: string]: unknown | undefined;
6332
+ })[]])[];
6333
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6334
+ match?: "strings";
6335
+ [k: string]: unknown | undefined;
6336
+ } | {
6337
+ match?: "objectKeys";
6338
+ pathPattern?: string;
6339
+ [k: string]: unknown | undefined;
6340
+ } | {
6341
+ match?: "objectValues";
6342
+ pathPattern?: string;
6343
+ [k: string]: unknown | undefined;
6344
+ })[]] | string)[];
6345
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6346
+ match?: "strings";
6347
+ [k: string]: unknown | undefined;
6348
+ } | {
6349
+ match?: "objectKeys";
6350
+ pathPattern?: string;
6351
+ [k: string]: unknown | undefined;
6352
+ } | {
6353
+ match?: "objectValues";
6354
+ pathPattern?: string;
6355
+ [k: string]: unknown | undefined;
6356
+ })[]] | string)[];
6357
+ }];
6358
+ // ----- better-tailwindcss/no-restricted-classes -----
6359
+ type BetterTailwindcssNoRestrictedClasses = [] | [{
6360
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6361
+ match?: "strings";
6362
+ [k: string]: unknown | undefined;
6363
+ } | {
6364
+ match?: "objectKeys";
6365
+ pathPattern?: string;
6366
+ [k: string]: unknown | undefined;
6367
+ } | {
6368
+ match?: "objectValues";
6369
+ pathPattern?: string;
6370
+ [k: string]: unknown | undefined;
6371
+ })[]] | string)[];
6372
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6373
+ match?: "strings";
6374
+ [k: string]: unknown | undefined;
6375
+ } | {
6376
+ match?: "objectKeys";
6377
+ pathPattern?: string;
6378
+ [k: string]: unknown | undefined;
6379
+ } | {
6380
+ match?: "objectValues";
6381
+ pathPattern?: string;
6382
+ [k: string]: unknown | undefined;
6383
+ })[]])[];
6384
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6385
+ match?: "strings";
6386
+ [k: string]: unknown | undefined;
6387
+ } | {
6388
+ match?: "objectKeys";
6389
+ pathPattern?: string;
6390
+ [k: string]: unknown | undefined;
6391
+ } | {
6392
+ match?: "objectValues";
6393
+ pathPattern?: string;
6394
+ [k: string]: unknown | undefined;
6395
+ })[]] | string)[];
6396
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6397
+ match?: "strings";
6398
+ [k: string]: unknown | undefined;
6399
+ } | {
6400
+ match?: "objectKeys";
6401
+ pathPattern?: string;
6402
+ [k: string]: unknown | undefined;
6403
+ } | {
6404
+ match?: "objectValues";
6405
+ pathPattern?: string;
6406
+ [k: string]: unknown | undefined;
6407
+ })[]] | string)[];
6408
+ restrict?: ({
6409
+ fix?: string;
6410
+ message?: string;
6411
+ pattern: string;
6412
+ } | string)[];
6413
+ }];
6414
+ // ----- better-tailwindcss/no-unnecessary-whitespace -----
6415
+ type BetterTailwindcssNoUnnecessaryWhitespace = [] | [{
6416
+ allowMultiline?: boolean;
6417
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6418
+ match?: "strings";
6419
+ [k: string]: unknown | undefined;
6420
+ } | {
6421
+ match?: "objectKeys";
6422
+ pathPattern?: string;
6423
+ [k: string]: unknown | undefined;
6424
+ } | {
6425
+ match?: "objectValues";
6426
+ pathPattern?: string;
6427
+ [k: string]: unknown | undefined;
6428
+ })[]] | string)[];
6429
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6430
+ match?: "strings";
6431
+ [k: string]: unknown | undefined;
6432
+ } | {
6433
+ match?: "objectKeys";
6434
+ pathPattern?: string;
6435
+ [k: string]: unknown | undefined;
6436
+ } | {
6437
+ match?: "objectValues";
6438
+ pathPattern?: string;
6439
+ [k: string]: unknown | undefined;
6440
+ })[]])[];
6441
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6442
+ match?: "strings";
6443
+ [k: string]: unknown | undefined;
6444
+ } | {
6445
+ match?: "objectKeys";
6446
+ pathPattern?: string;
6447
+ [k: string]: unknown | undefined;
6448
+ } | {
6449
+ match?: "objectValues";
6450
+ pathPattern?: string;
6451
+ [k: string]: unknown | undefined;
6452
+ })[]] | string)[];
6453
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6454
+ match?: "strings";
6455
+ [k: string]: unknown | undefined;
6456
+ } | {
6457
+ match?: "objectKeys";
6458
+ pathPattern?: string;
6459
+ [k: string]: unknown | undefined;
6460
+ } | {
6461
+ match?: "objectValues";
6462
+ pathPattern?: string;
6463
+ [k: string]: unknown | undefined;
6464
+ })[]] | string)[];
6465
+ }];
6466
+ // ----- better-tailwindcss/no-unregistered-classes -----
6467
+ type BetterTailwindcssNoUnregisteredClasses = [] | [{
6468
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6469
+ match?: "strings";
6470
+ [k: string]: unknown | undefined;
6471
+ } | {
6472
+ match?: "objectKeys";
6473
+ pathPattern?: string;
6474
+ [k: string]: unknown | undefined;
6475
+ } | {
6476
+ match?: "objectValues";
6477
+ pathPattern?: string;
6478
+ [k: string]: unknown | undefined;
6479
+ })[]] | string)[];
6480
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6481
+ match?: "strings";
6482
+ [k: string]: unknown | undefined;
6483
+ } | {
6484
+ match?: "objectKeys";
6485
+ pathPattern?: string;
6486
+ [k: string]: unknown | undefined;
6487
+ } | {
6488
+ match?: "objectValues";
6489
+ pathPattern?: string;
6490
+ [k: string]: unknown | undefined;
6491
+ })[]])[];
6492
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6493
+ match?: "strings";
6494
+ [k: string]: unknown | undefined;
6495
+ } | {
6496
+ match?: "objectKeys";
6497
+ pathPattern?: string;
6498
+ [k: string]: unknown | undefined;
6499
+ } | {
6500
+ match?: "objectValues";
6501
+ pathPattern?: string;
6502
+ [k: string]: unknown | undefined;
6503
+ })[]] | string)[];
6504
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6505
+ match?: "strings";
6506
+ [k: string]: unknown | undefined;
6507
+ } | {
6508
+ match?: "objectKeys";
6509
+ pathPattern?: string;
6510
+ [k: string]: unknown | undefined;
6511
+ } | {
6512
+ match?: "objectValues";
6513
+ pathPattern?: string;
6514
+ [k: string]: unknown | undefined;
6515
+ })[]] | string)[];
6516
+ entryPoint?: string;
6517
+ tailwindConfig?: string;
6518
+ detectComponentClasses?: boolean;
6519
+ ignore?: string[];
6520
+ }];
6521
+ // ----- better-tailwindcss/sort-classes -----
6522
+ type BetterTailwindcssSortClasses = [] | [{
6523
+ callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6524
+ match?: "strings";
6525
+ [k: string]: unknown | undefined;
6526
+ } | {
6527
+ match?: "objectKeys";
6528
+ pathPattern?: string;
6529
+ [k: string]: unknown | undefined;
6530
+ } | {
6531
+ match?: "objectValues";
6532
+ pathPattern?: string;
6533
+ [k: string]: unknown | undefined;
6534
+ })[]] | string)[];
6535
+ attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
6536
+ match?: "strings";
6537
+ [k: string]: unknown | undefined;
6538
+ } | {
6539
+ match?: "objectKeys";
6540
+ pathPattern?: string;
6541
+ [k: string]: unknown | undefined;
6542
+ } | {
6543
+ match?: "objectValues";
6544
+ pathPattern?: string;
6545
+ [k: string]: unknown | undefined;
6546
+ })[]])[];
6547
+ variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6548
+ match?: "strings";
6549
+ [k: string]: unknown | undefined;
6550
+ } | {
6551
+ match?: "objectKeys";
6552
+ pathPattern?: string;
6553
+ [k: string]: unknown | undefined;
6554
+ } | {
6555
+ match?: "objectValues";
6556
+ pathPattern?: string;
6557
+ [k: string]: unknown | undefined;
6558
+ })[]] | string)[];
6559
+ tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
6560
+ match?: "strings";
6561
+ [k: string]: unknown | undefined;
6562
+ } | {
6563
+ match?: "objectKeys";
6564
+ pathPattern?: string;
6565
+ [k: string]: unknown | undefined;
6566
+ } | {
6567
+ match?: "objectValues";
6568
+ pathPattern?: string;
6569
+ [k: string]: unknown | undefined;
6570
+ })[]] | string)[];
6571
+ entryPoint?: string;
6572
+ tailwindConfig?: string;
6573
+ order?: ("asc" | "desc" | "official" | "improved");
6574
+ }];
6575
+ // ----- block-spacing -----
6576
+ type BlockSpacing = [] | [("always" | "never")];
6577
+ // ----- brace-style -----
6578
+ type BraceStyle = [] | [("1tbs" | "stroustrup" | "allman")] | [("1tbs" | "stroustrup" | "allman"), {
6579
+ allowSingleLine?: boolean;
6580
+ }];
6581
+ // ----- callback-return -----
6582
+ type CallbackReturn = [] | [string[]];
6583
+ // ----- camelcase -----
6584
+ type Camelcase = [] | [{
6585
+ ignoreDestructuring?: boolean;
6586
+ ignoreImports?: boolean;
6587
+ ignoreGlobals?: boolean;
6588
+ properties?: ("always" | "never");
6589
+ allow?: string[];
6590
+ }];
6591
+ // ----- capitalized-comments -----
6592
+ type CapitalizedComments = [] | [("always" | "never")] | [("always" | "never"), ({
6593
+ ignorePattern?: string;
6594
+ ignoreInlineComments?: boolean;
6595
+ ignoreConsecutiveComments?: boolean;
6596
+ } | {
6597
+ line?: {
6598
+ ignorePattern?: string;
6599
+ ignoreInlineComments?: boolean;
6600
+ ignoreConsecutiveComments?: boolean;
6601
+ };
6602
+ block?: {
6603
+ ignorePattern?: string;
6604
+ ignoreInlineComments?: boolean;
6605
+ ignoreConsecutiveComments?: boolean;
6606
+ };
6607
+ })];
6608
+ // ----- class-methods-use-this -----
6609
+ type ClassMethodsUseThis = [] | [{
6610
+ exceptMethods?: string[];
6611
+ enforceForClassFields?: boolean;
6612
+ ignoreOverrideMethods?: boolean;
6613
+ ignoreClassesWithImplements?: ("all" | "public-fields");
6614
+ }];
6615
+ // ----- comma-dangle -----
6616
+ type CommaDangle = [] | [(_CommaDangleValue | {
6617
+ arrays?: _CommaDangleValueWithIgnore;
6618
+ objects?: _CommaDangleValueWithIgnore;
6619
+ imports?: _CommaDangleValueWithIgnore;
6620
+ exports?: _CommaDangleValueWithIgnore;
6621
+ functions?: _CommaDangleValueWithIgnore;
6622
+ })];
6623
+ type _CommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
6624
+ type _CommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline");
6625
+ // ----- comma-spacing -----
6626
+ type CommaSpacing = [] | [{
6627
+ before?: boolean;
6628
+ after?: boolean;
6629
+ }];
6630
+ // ----- comma-style -----
6631
+ type CommaStyle = [] | [("first" | "last")] | [("first" | "last"), {
6632
+ exceptions?: {
6633
+ [k: string]: boolean | undefined;
6634
+ };
6635
+ }];
6636
+ // ----- complexity -----
6637
+ type Complexity = [] | [(number | {
6638
+ maximum?: number;
6639
+ max?: number;
6640
+ variant?: ("classic" | "modified");
6641
+ })];
6642
+ // ----- computed-property-spacing -----
6643
+ type ComputedPropertySpacing = [] | [("always" | "never")] | [("always" | "never"), {
6644
+ enforceForClassMembers?: boolean;
6645
+ }];
6646
+ // ----- consistent-return -----
6647
+ type ConsistentReturn = [] | [{
6648
+ treatUndefinedAsUnspecified?: boolean;
6649
+ }];
6650
+ // ----- consistent-this -----
6651
+ type ConsistentThis = string[];
6652
+ // ----- curly -----
6653
+ type Curly = ([] | ["all"] | [] | [("multi" | "multi-line" | "multi-or-nest")] | [("multi" | "multi-line" | "multi-or-nest"), "consistent"]);
6654
+ // ----- default-case -----
6655
+ type DefaultCase = [] | [{
6656
+ commentPattern?: string;
6657
+ }];
6658
+ // ----- dot-location -----
6659
+ type DotLocation = [] | [("object" | "property")];
6660
+ // ----- dot-notation -----
6661
+ type DotNotation = [] | [{
6662
+ allowKeywords?: boolean;
6663
+ allowPattern?: string;
6664
+ }];
6665
+ // ----- eol-last -----
6666
+ type EolLast = [] | [("always" | "never" | "unix" | "windows")];
6667
+ // ----- eqeqeq -----
6668
+ type Eqeqeq = ([] | ["always"] | ["always", {
6669
+ null?: ("always" | "never" | "ignore");
6670
+ }] | [] | [("smart" | "allow-null")]);
6671
+ // ----- eslint-comments/disable-enable-pair -----
6672
+ type EslintCommentsDisableEnablePair = [] | [{
6673
+ allowWholeFile?: boolean;
6674
+ }];
6675
+ // ----- eslint-comments/no-restricted-disable -----
6676
+ type EslintCommentsNoRestrictedDisable = string[];
6677
+ // ----- eslint-comments/no-use -----
6678
+ type EslintCommentsNoUse = [] | [{
6679
+ allow?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
6680
+ }];
6681
+ // ----- eslint-comments/require-description -----
6682
+ type EslintCommentsRequireDescription = [] | [{
6683
+ ignore?: ("eslint" | "eslint-disable" | "eslint-disable-line" | "eslint-disable-next-line" | "eslint-enable" | "eslint-env" | "exported" | "global" | "globals")[];
6684
+ }];
6685
+ // ----- func-call-spacing -----
6686
+ type FuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
6687
+ allowNewlines?: boolean;
6688
+ }]);
6689
+ // ----- func-name-matching -----
6690
+ type FuncNameMatching = ([] | [("always" | "never")] | [("always" | "never"), {
6691
+ considerPropertyDescriptor?: boolean;
6692
+ includeCommonJSModuleExports?: boolean;
6693
+ }] | [] | [{
6694
+ considerPropertyDescriptor?: boolean;
6695
+ includeCommonJSModuleExports?: boolean;
6696
+ }]);
6697
+ // ----- func-names -----
6698
+ type FuncNames = [] | [_FuncNamesValue] | [_FuncNamesValue, {
6699
+ generators?: _FuncNamesValue;
6700
+ }];
6701
+ type _FuncNamesValue = ("always" | "as-needed" | "never");
6702
+ // ----- func-style -----
6703
+ type FuncStyle = [] | [("declaration" | "expression")] | [("declaration" | "expression"), {
6704
+ allowArrowFunctions?: boolean;
6705
+ allowTypeAnnotation?: boolean;
6706
+ overrides?: {
6707
+ namedExports?: ("declaration" | "expression" | "ignore");
6708
+ };
6709
+ }];
6710
+ // ----- function-call-argument-newline -----
6711
+ type FunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
6712
+ // ----- function-paren-newline -----
6713
+ type FunctionParenNewline = [] | [(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
6714
+ minItems?: number;
6715
+ })];
6716
+ // ----- generator-star-spacing -----
6717
+ type GeneratorStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
6718
+ before?: boolean;
6719
+ after?: boolean;
6720
+ named?: (("before" | "after" | "both" | "neither") | {
6721
+ before?: boolean;
6722
+ after?: boolean;
6723
+ });
6724
+ anonymous?: (("before" | "after" | "both" | "neither") | {
6725
+ before?: boolean;
6726
+ after?: boolean;
6727
+ });
6728
+ method?: (("before" | "after" | "both" | "neither") | {
6729
+ before?: boolean;
6730
+ after?: boolean;
6731
+ });
6732
+ })];
6733
+ // ----- getter-return -----
6734
+ type GetterReturn = [] | [{
6735
+ allowImplicit?: boolean;
6736
+ }];
6737
+ // ----- grouped-accessor-pairs -----
6738
+ type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")];
6739
+ // ----- handle-callback-err -----
6740
+ type HandleCallbackErr = [] | [string];
6741
+ // ----- id-blacklist -----
6742
+ type IdBlacklist = string[];
6743
+ // ----- id-denylist -----
6744
+ type IdDenylist = string[];
6745
+ // ----- id-length -----
6746
+ type IdLength = [] | [{
6747
+ min?: number;
6748
+ max?: number;
6749
+ exceptions?: string[];
6750
+ exceptionPatterns?: string[];
6751
+ properties?: ("always" | "never");
6752
+ }];
6753
+ // ----- id-match -----
6754
+ type IdMatch = [] | [string] | [string, {
6755
+ properties?: boolean;
6756
+ classFields?: boolean;
6757
+ onlyDeclarations?: boolean;
6758
+ ignoreDestructuring?: boolean;
6759
+ }];
6760
+ // ----- implicit-arrow-linebreak -----
6761
+ type ImplicitArrowLinebreak = [] | [("beside" | "below")];
6762
+ // ----- import/consistent-type-specifier-style -----
6763
+ type ImportConsistentTypeSpecifierStyle = [] | [("top-level" | "inline" | "prefer-top-level")];
6764
+ // ----- import/first -----
6765
+ type ImportFirst = [] | [("absolute-first" | "disable-absolute-first")];
6766
+ // ----- import/newline-after-import -----
6767
+ type ImportNewlineAfterImport = [] | [{
6768
+ count?: number;
6769
+ exactCount?: boolean;
6770
+ considerComments?: boolean;
6771
+ }];
6772
+ // ----- import/no-duplicates -----
6773
+ type ImportNoDuplicates = [] | [{
6774
+ "prefer-inline"?: boolean;
6775
+ }];
6776
+ // ----- indent -----
6777
+ type Indent = [] | [("tab" | number)] | [("tab" | number), {
6778
+ SwitchCase?: number;
6779
+ VariableDeclarator?: ((number | ("first" | "off")) | {
6780
+ var?: (number | ("first" | "off"));
6781
+ let?: (number | ("first" | "off"));
6782
+ const?: (number | ("first" | "off"));
6783
+ });
6784
+ outerIIFEBody?: (number | "off");
6785
+ MemberExpression?: (number | "off");
6786
+ FunctionDeclaration?: {
6787
+ parameters?: (number | ("first" | "off"));
6788
+ body?: number;
6789
+ };
6790
+ FunctionExpression?: {
6791
+ parameters?: (number | ("first" | "off"));
6792
+ body?: number;
6793
+ };
6794
+ StaticBlock?: {
6795
+ body?: number;
6796
+ };
6797
+ CallExpression?: {
6798
+ arguments?: (number | ("first" | "off"));
6799
+ };
6800
+ ArrayExpression?: (number | ("first" | "off"));
6801
+ ObjectExpression?: (number | ("first" | "off"));
6802
+ ImportDeclaration?: (number | ("first" | "off"));
6803
+ flatTernaryExpressions?: boolean;
6804
+ offsetTernaryExpressions?: boolean;
6805
+ ignoredNodes?: string[];
6806
+ ignoreComments?: boolean;
6807
+ }];
6808
+ // ----- indent-legacy -----
6809
+ type IndentLegacy = [] | [("tab" | number)] | [("tab" | number), {
6810
+ SwitchCase?: number;
6811
+ VariableDeclarator?: (number | {
6812
+ var?: number;
6813
+ let?: number;
6814
+ const?: number;
6815
+ [k: string]: unknown | undefined;
6816
+ });
6817
+ outerIIFEBody?: number;
6818
+ MemberExpression?: number;
6819
+ FunctionDeclaration?: {
6820
+ parameters?: (number | "first");
6821
+ body?: number;
6822
+ [k: string]: unknown | undefined;
6823
+ };
6824
+ FunctionExpression?: {
6825
+ parameters?: (number | "first");
6826
+ body?: number;
6827
+ [k: string]: unknown | undefined;
6828
+ };
6829
+ CallExpression?: {
6830
+ parameters?: (number | "first");
6831
+ [k: string]: unknown | undefined;
6832
+ };
6833
+ ArrayExpression?: (number | "first");
6834
+ ObjectExpression?: (number | "first");
6835
+ }];
6836
+ // ----- init-declarations -----
6837
+ type InitDeclarations = ([] | ["always"] | [] | ["never"] | ["never", {
6838
+ ignoreForLoopInit?: boolean;
6839
+ }]);
6840
+ // ----- jsdoc/check-examples -----
6841
+ type JsdocCheckExamples = [] | [{
6842
+ allowInlineConfig?: boolean;
6843
+ baseConfig?: {
6844
+ [k: string]: unknown | undefined;
6845
+ };
6846
+ captionRequired?: boolean;
6847
+ checkDefaults?: boolean;
6848
+ checkEslintrc?: boolean;
6251
6849
  checkParams?: boolean;
6252
6850
  checkProperties?: boolean;
6253
6851
  configFile?: string;
@@ -11050,32 +11648,10 @@ type StyleLinesBetweenClassMembers = [] | [({
11050
11648
  })[]];
11051
11649
  } | ("always" | "never")), {
11052
11650
  exceptAfterSingleLine?: boolean;
11053
- exceptAfterOverload?: boolean;
11054
- }];
11055
- // ----- style/max-len -----
11056
- type StyleMaxLen = [] | [({
11057
- code?: number;
11058
- comments?: number;
11059
- tabWidth?: number;
11060
- ignorePattern?: string;
11061
- ignoreComments?: boolean;
11062
- ignoreStrings?: boolean;
11063
- ignoreUrls?: boolean;
11064
- ignoreTemplateLiterals?: boolean;
11065
- ignoreRegExpLiterals?: boolean;
11066
- ignoreTrailingComments?: boolean;
11067
- } | number)] | [({
11068
- code?: number;
11069
- comments?: number;
11070
- tabWidth?: number;
11071
- ignorePattern?: string;
11072
- ignoreComments?: boolean;
11073
- ignoreStrings?: boolean;
11074
- ignoreUrls?: boolean;
11075
- ignoreTemplateLiterals?: boolean;
11076
- ignoreRegExpLiterals?: boolean;
11077
- ignoreTrailingComments?: boolean;
11078
- } | number), ({
11651
+ exceptAfterOverload?: boolean;
11652
+ }];
11653
+ // ----- style/max-len -----
11654
+ type StyleMaxLen = [] | [({
11079
11655
  code?: number;
11080
11656
  comments?: number;
11081
11657
  tabWidth?: number;
@@ -11108,1108 +11684,532 @@ type StyleMaxLen = [] | [({
11108
11684
  ignoreTemplateLiterals?: boolean;
11109
11685
  ignoreRegExpLiterals?: boolean;
11110
11686
  ignoreTrailingComments?: boolean;
11111
- } | number), {
11112
- code?: number;
11113
- comments?: number;
11114
- tabWidth?: number;
11115
- ignorePattern?: string;
11116
- ignoreComments?: boolean;
11117
- ignoreStrings?: boolean;
11118
- ignoreUrls?: boolean;
11119
- ignoreTemplateLiterals?: boolean;
11120
- ignoreRegExpLiterals?: boolean;
11121
- ignoreTrailingComments?: boolean;
11122
- }];
11123
- // ----- style/max-statements-per-line -----
11124
- type StyleMaxStatementsPerLine = [] | [{
11125
- max?: number;
11126
- ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[];
11127
- }];
11128
- // ----- style/member-delimiter-style -----
11129
- type StyleMemberDelimiterStyle = [] | [{
11130
- multiline?: {
11131
- delimiter?: ("none" | "semi" | "comma");
11132
- requireLast?: boolean;
11133
- };
11134
- singleline?: {
11135
- delimiter?: ("semi" | "comma");
11136
- requireLast?: boolean;
11137
- };
11138
- overrides?: {
11139
- interface?: _StyleMemberDelimiterStyle_DelimiterConfig;
11140
- typeLiteral?: _StyleMemberDelimiterStyle_DelimiterConfig;
11141
- };
11142
- multilineDetection?: ("brackets" | "last-member");
11143
- }];
11144
- interface _StyleMemberDelimiterStyle_DelimiterConfig {
11145
- multiline?: {
11146
- delimiter?: ("none" | "semi" | "comma");
11147
- requireLast?: boolean;
11148
- };
11149
- singleline?: {
11150
- delimiter?: ("semi" | "comma");
11151
- requireLast?: boolean;
11152
- };
11153
- }
11154
- // ----- style/multiline-comment-style -----
11155
- type StyleMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
11156
- checkJSDoc?: boolean;
11157
- }]);
11158
- // ----- style/multiline-ternary -----
11159
- type StyleMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
11160
- ignoreJSX?: boolean;
11161
- [k: string]: unknown | undefined;
11162
- }];
11163
- // ----- style/new-parens -----
11164
- type StyleNewParens = [] | [("always" | "never")];
11165
- // ----- style/newline-per-chained-call -----
11166
- type StyleNewlinePerChainedCall = [] | [{
11167
- ignoreChainWithDepth?: number;
11168
- }];
11169
- // ----- style/no-confusing-arrow -----
11170
- type StyleNoConfusingArrow = [] | [{
11171
- allowParens?: boolean;
11172
- onlyOneSimpleParam?: boolean;
11173
- }];
11174
- // ----- style/no-extra-parens -----
11175
- type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
11176
- conditionalAssign?: boolean;
11177
- ternaryOperandBinaryExpressions?: boolean;
11178
- nestedBinaryExpressions?: boolean;
11179
- returnAssign?: boolean;
11180
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line");
11181
- enforceForArrowConditionals?: boolean;
11182
- enforceForSequenceExpressions?: boolean;
11183
- enforceForNewInMemberExpressions?: boolean;
11184
- enforceForFunctionPrototypeMethods?: boolean;
11185
- allowParensAfterCommentPattern?: string;
11186
- nestedConditionalExpressions?: boolean;
11187
- allowNodesInSpreadElement?: {
11188
- ConditionalExpression?: boolean;
11189
- LogicalExpression?: boolean;
11190
- AwaitExpression?: boolean;
11191
- };
11192
- }]);
11193
- // ----- style/no-mixed-operators -----
11194
- type StyleNoMixedOperators = [] | [{
11195
- groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][];
11196
- allowSamePrecedence?: boolean;
11197
- }];
11198
- // ----- style/no-mixed-spaces-and-tabs -----
11199
- type StyleNoMixedSpacesAndTabs = [] | [("smart-tabs" | boolean)];
11200
- // ----- style/no-multi-spaces -----
11201
- type StyleNoMultiSpaces = [] | [{
11202
- exceptions?: {
11203
- [k: string]: boolean;
11204
- };
11205
- ignoreEOLComments?: boolean;
11206
- includeTabs?: boolean;
11207
- }];
11208
- // ----- style/no-multiple-empty-lines -----
11209
- type StyleNoMultipleEmptyLines = [] | [{
11210
- max: number;
11211
- maxEOF?: number;
11212
- maxBOF?: number;
11213
- }];
11214
- // ----- style/no-tabs -----
11215
- type StyleNoTabs = [] | [{
11216
- allowIndentationTabs?: boolean;
11217
- }];
11218
- // ----- style/no-trailing-spaces -----
11219
- type StyleNoTrailingSpaces = [] | [{
11220
- skipBlankLines?: boolean;
11221
- ignoreComments?: boolean;
11222
- }];
11223
- // ----- style/nonblock-statement-body-position -----
11224
- type StyleNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("beside" | "below" | "any"), {
11225
- overrides?: {
11226
- if?: ("beside" | "below" | "any");
11227
- else?: ("beside" | "below" | "any");
11228
- while?: ("beside" | "below" | "any");
11229
- do?: ("beside" | "below" | "any");
11230
- for?: ("beside" | "below" | "any");
11231
- };
11232
- }];
11233
- // ----- style/object-curly-newline -----
11234
- type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
11235
- multiline?: boolean;
11236
- minProperties?: number;
11237
- consistent?: boolean;
11238
- }) | {
11239
- ObjectExpression?: (("always" | "never") | {
11240
- multiline?: boolean;
11241
- minProperties?: number;
11242
- consistent?: boolean;
11243
- });
11244
- ObjectPattern?: (("always" | "never") | {
11245
- multiline?: boolean;
11246
- minProperties?: number;
11247
- consistent?: boolean;
11248
- });
11249
- ImportDeclaration?: (("always" | "never") | {
11250
- multiline?: boolean;
11251
- minProperties?: number;
11252
- consistent?: boolean;
11253
- });
11254
- ExportDeclaration?: (("always" | "never") | {
11255
- multiline?: boolean;
11256
- minProperties?: number;
11257
- consistent?: boolean;
11258
- });
11259
- TSTypeLiteral?: (("always" | "never") | {
11260
- multiline?: boolean;
11261
- minProperties?: number;
11262
- consistent?: boolean;
11263
- });
11264
- TSInterfaceBody?: (("always" | "never") | {
11265
- multiline?: boolean;
11266
- minProperties?: number;
11267
- consistent?: boolean;
11268
- });
11269
- TSEnumBody?: (("always" | "never") | {
11270
- multiline?: boolean;
11271
- minProperties?: number;
11272
- consistent?: boolean;
11273
- });
11274
- })];
11275
- // ----- style/object-curly-spacing -----
11276
- type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
11277
- arraysInObjects?: boolean;
11278
- objectsInObjects?: boolean;
11279
- }];
11280
- // ----- style/object-property-newline -----
11281
- type StyleObjectPropertyNewline = [] | [{
11282
- allowAllPropertiesOnSameLine?: boolean;
11283
- }];
11284
- // ----- style/one-var-declaration-per-line -----
11285
- type StyleOneVarDeclarationPerLine = [] | [("always" | "initializations")];
11286
- // ----- style/operator-linebreak -----
11287
- type StyleOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("after" | "before" | "none") | null), {
11288
- overrides?: {
11289
- [k: string]: ("after" | "before" | "none" | "ignore") | undefined;
11290
- };
11291
- }];
11292
- // ----- style/padded-blocks -----
11293
- type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
11294
- blocks?: ("always" | "never" | "start" | "end");
11295
- switches?: ("always" | "never" | "start" | "end");
11296
- classes?: ("always" | "never" | "start" | "end");
11297
- })] | [(("always" | "never" | "start" | "end") | {
11298
- blocks?: ("always" | "never" | "start" | "end");
11299
- switches?: ("always" | "never" | "start" | "end");
11300
- classes?: ("always" | "never" | "start" | "end");
11301
- }), {
11302
- allowSingleLineBlocks?: boolean;
11303
- }];
11304
- // ----- style/padding-line-between-statements -----
11305
- type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
11306
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
11307
- type StylePaddingLineBetweenStatements = {
11308
- blankLine: _StylePaddingLineBetweenStatementsPaddingType;
11309
- prev: _StylePaddingLineBetweenStatementsStatementType;
11310
- next: _StylePaddingLineBetweenStatementsStatementType;
11311
- }[];
11312
- // ----- style/quote-props -----
11313
- type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
11314
- keywords?: boolean;
11315
- unnecessary?: boolean;
11316
- numbers?: boolean;
11317
- }]);
11318
- // ----- style/quotes -----
11319
- type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
11320
- avoidEscape?: boolean;
11321
- allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"));
11322
- ignoreStringLiterals?: boolean;
11323
- })];
11324
- // ----- style/rest-spread-spacing -----
11325
- type StyleRestSpreadSpacing = [] | [("always" | "never")];
11326
- // ----- style/semi -----
11327
- type StyleSemi = ([] | ["never"] | ["never", {
11328
- beforeStatementContinuationChars?: ("always" | "any" | "never");
11329
- }] | [] | ["always"] | ["always", {
11330
- omitLastInOneLineBlock?: boolean;
11331
- omitLastInOneLineClassBody?: boolean;
11332
- }]);
11333
- // ----- style/semi-spacing -----
11334
- type StyleSemiSpacing = [] | [{
11335
- before?: boolean;
11336
- after?: boolean;
11337
- }];
11338
- // ----- style/semi-style -----
11339
- type StyleSemiStyle = [] | [("last" | "first")];
11340
- // ----- style/space-before-blocks -----
11341
- type StyleSpaceBeforeBlocks = [] | [(("always" | "never") | {
11342
- keywords?: ("always" | "never" | "off");
11343
- functions?: ("always" | "never" | "off");
11344
- classes?: ("always" | "never" | "off");
11345
- modules?: ("always" | "never" | "off");
11346
- })];
11347
- // ----- style/space-before-function-paren -----
11348
- type StyleSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
11349
- anonymous?: ("always" | "never" | "ignore");
11350
- named?: ("always" | "never" | "ignore");
11351
- asyncArrow?: ("always" | "never" | "ignore");
11352
- catch?: ("always" | "never" | "ignore");
11353
- })];
11354
- // ----- style/space-in-parens -----
11355
- type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
11356
- exceptions?: ("{}" | "[]" | "()" | "empty")[];
11357
- }];
11358
- // ----- style/space-infix-ops -----
11359
- type StyleSpaceInfixOps = [] | [{
11360
- int32Hint?: boolean;
11361
- ignoreTypes?: boolean;
11687
+ } | number)] | [({
11688
+ code?: number;
11689
+ comments?: number;
11690
+ tabWidth?: number;
11691
+ ignorePattern?: string;
11692
+ ignoreComments?: boolean;
11693
+ ignoreStrings?: boolean;
11694
+ ignoreUrls?: boolean;
11695
+ ignoreTemplateLiterals?: boolean;
11696
+ ignoreRegExpLiterals?: boolean;
11697
+ ignoreTrailingComments?: boolean;
11698
+ } | number), ({
11699
+ code?: number;
11700
+ comments?: number;
11701
+ tabWidth?: number;
11702
+ ignorePattern?: string;
11703
+ ignoreComments?: boolean;
11704
+ ignoreStrings?: boolean;
11705
+ ignoreUrls?: boolean;
11706
+ ignoreTemplateLiterals?: boolean;
11707
+ ignoreRegExpLiterals?: boolean;
11708
+ ignoreTrailingComments?: boolean;
11709
+ } | number), {
11710
+ code?: number;
11711
+ comments?: number;
11712
+ tabWidth?: number;
11713
+ ignorePattern?: string;
11714
+ ignoreComments?: boolean;
11715
+ ignoreStrings?: boolean;
11716
+ ignoreUrls?: boolean;
11717
+ ignoreTemplateLiterals?: boolean;
11718
+ ignoreRegExpLiterals?: boolean;
11719
+ ignoreTrailingComments?: boolean;
11362
11720
  }];
11363
- // ----- style/space-unary-ops -----
11364
- type StyleSpaceUnaryOps = [] | [{
11365
- words?: boolean;
11366
- nonwords?: boolean;
11367
- overrides?: {
11368
- [k: string]: boolean | undefined;
11369
- };
11721
+ // ----- style/max-statements-per-line -----
11722
+ type StyleMaxStatementsPerLine = [] | [{
11723
+ max?: number;
11724
+ ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[];
11370
11725
  }];
11371
- // ----- style/spaced-comment -----
11372
- type StyleSpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
11373
- exceptions?: string[];
11374
- markers?: string[];
11375
- line?: {
11376
- exceptions?: string[];
11377
- markers?: string[];
11726
+ // ----- style/member-delimiter-style -----
11727
+ type StyleMemberDelimiterStyle = [] | [{
11728
+ multiline?: {
11729
+ delimiter?: ("none" | "semi" | "comma");
11730
+ requireLast?: boolean;
11378
11731
  };
11379
- block?: {
11380
- exceptions?: string[];
11381
- markers?: string[];
11382
- balanced?: boolean;
11732
+ singleline?: {
11733
+ delimiter?: ("semi" | "comma");
11734
+ requireLast?: boolean;
11383
11735
  };
11384
- }];
11385
- // ----- style/switch-colon-spacing -----
11386
- type StyleSwitchColonSpacing = [] | [{
11387
- before?: boolean;
11388
- after?: boolean;
11389
- }];
11390
- // ----- style/template-curly-spacing -----
11391
- type StyleTemplateCurlySpacing = [] | [("always" | "never")];
11392
- // ----- style/template-tag-spacing -----
11393
- type StyleTemplateTagSpacing = [] | [("always" | "never")];
11394
- // ----- style/type-annotation-spacing -----
11395
- type StyleTypeAnnotationSpacing = [] | [{
11396
- before?: boolean;
11397
- after?: boolean;
11398
11736
  overrides?: {
11399
- colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
11400
- arrow?: _StyleTypeAnnotationSpacing_SpacingConfig;
11401
- variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
11402
- parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
11403
- property?: _StyleTypeAnnotationSpacing_SpacingConfig;
11404
- returnType?: _StyleTypeAnnotationSpacing_SpacingConfig;
11405
- };
11406
- }];
11407
- interface _StyleTypeAnnotationSpacing_SpacingConfig {
11408
- before?: boolean;
11409
- after?: boolean;
11410
- }
11411
- // ----- style/wrap-iife -----
11412
- type StyleWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
11413
- functionPrototypeMethods?: boolean;
11414
- }];
11415
- // ----- style/yield-star-spacing -----
11416
- type StyleYieldStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
11417
- before?: boolean;
11418
- after?: boolean;
11419
- })];
11420
- // ----- svelte/@typescript-eslint/no-unnecessary-condition -----
11421
- type SvelteTypescriptEslintNoUnnecessaryCondition = [] | [{
11422
- allowConstantLoopConditions?: boolean;
11423
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
11424
- }];
11425
- // ----- svelte/block-lang -----
11426
- type SvelteBlockLang = [] | [{
11427
- enforceScriptPresent?: boolean;
11428
- enforceStylePresent?: boolean;
11429
- script?: ((string | null) | [(string | null), ...((string | null))[]]);
11430
- style?: ((string | null) | [(string | null), ...((string | null))[]]);
11431
- }];
11432
- // ----- svelte/button-has-type -----
11433
- type SvelteButtonHasType = [] | [{
11434
- button?: boolean;
11435
- submit?: boolean;
11436
- reset?: boolean;
11437
- }];
11438
- // ----- svelte/comment-directive -----
11439
- type SvelteCommentDirective = [] | [{
11440
- reportUnusedDisableDirectives?: boolean;
11441
- }];
11442
- // ----- svelte/consistent-selector-style -----
11443
- type SvelteConsistentSelectorStyle = [] | [{
11444
- checkGlobal?: boolean;
11445
- style?: [] | [("class" | "id" | "type")] | [("class" | "id" | "type"), ("class" | "id" | "type")] | [("class" | "id" | "type"), ("class" | "id" | "type"), ("class" | "id" | "type")];
11446
- }];
11447
- // ----- svelte/first-attribute-linebreak -----
11448
- type SvelteFirstAttributeLinebreak = [] | [{
11449
- multiline?: ("below" | "beside");
11450
- singleline?: ("below" | "beside");
11451
- }];
11452
- // ----- svelte/html-closing-bracket-new-line -----
11453
- type SvelteHtmlClosingBracketNewLine = [] | [{
11454
- singleline?: ("always" | "never");
11455
- multiline?: ("always" | "never");
11456
- selfClosingTag?: {
11457
- singleline?: ("always" | "never");
11458
- multiline?: ("always" | "never");
11737
+ interface?: _StyleMemberDelimiterStyle_DelimiterConfig;
11738
+ typeLiteral?: _StyleMemberDelimiterStyle_DelimiterConfig;
11459
11739
  };
11740
+ multilineDetection?: ("brackets" | "last-member");
11460
11741
  }];
11461
- // ----- svelte/html-closing-bracket-spacing -----
11462
- type SvelteHtmlClosingBracketSpacing = [] | [{
11463
- startTag?: ("always" | "never" | "ignore");
11464
- endTag?: ("always" | "never" | "ignore");
11465
- selfClosingTag?: ("always" | "never" | "ignore");
11466
- }];
11467
- // ----- svelte/html-quotes -----
11468
- type SvelteHtmlQuotes = [] | [{
11469
- prefer?: ("double" | "single");
11470
- dynamic?: {
11471
- quoted?: boolean;
11472
- avoidInvalidUnquotedInHTML?: boolean;
11742
+ interface _StyleMemberDelimiterStyle_DelimiterConfig {
11743
+ multiline?: {
11744
+ delimiter?: ("none" | "semi" | "comma");
11745
+ requireLast?: boolean;
11473
11746
  };
11474
- }];
11475
- // ----- svelte/html-self-closing -----
11476
- type SvelteHtmlSelfClosing = [] | [({
11477
- void?: ("never" | "always" | "ignore");
11478
- normal?: ("never" | "always" | "ignore");
11479
- svg?: ("never" | "always" | "ignore");
11480
- math?: ("never" | "always" | "ignore");
11481
- component?: ("never" | "always" | "ignore");
11482
- svelte?: ("never" | "always" | "ignore");
11483
- } | ("all" | "html" | "none"))];
11484
- // ----- svelte/indent -----
11485
- type SvelteIndent = [] | [{
11486
- indent?: (number | "tab");
11487
- indentScript?: boolean;
11488
- switchCase?: number;
11489
- alignAttributesVertically?: boolean;
11490
- ignoredNodes?: (string & {
11491
- [k: string]: unknown | undefined;
11492
- } & {
11493
- [k: string]: unknown | undefined;
11494
- })[];
11495
- }];
11496
- // ----- svelte/max-attributes-per-line -----
11497
- type SvelteMaxAttributesPerLine = [] | [{
11498
- multiline?: number;
11499
- singleline?: number;
11500
- }];
11501
- // ----- svelte/mustache-spacing -----
11502
- type SvelteMustacheSpacing = [] | [{
11503
- textExpressions?: ("never" | "always");
11504
- attributesAndProps?: ("never" | "always");
11505
- directiveExpressions?: ("never" | "always");
11506
- tags?: {
11507
- openingBrace?: ("never" | "always");
11508
- closingBrace?: ("never" | "always" | "always-after-expression");
11747
+ singleline?: {
11748
+ delimiter?: ("semi" | "comma");
11749
+ requireLast?: boolean;
11509
11750
  };
11751
+ }
11752
+ // ----- style/multiline-comment-style -----
11753
+ type StyleMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
11754
+ checkJSDoc?: boolean;
11755
+ }]);
11756
+ // ----- style/multiline-ternary -----
11757
+ type StyleMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
11758
+ ignoreJSX?: boolean;
11759
+ [k: string]: unknown | undefined;
11510
11760
  }];
11511
- // ----- svelte/no-inline-styles -----
11512
- type SvelteNoInlineStyles = [] | [{
11513
- allowTransitions?: boolean;
11514
- }];
11515
- // ----- svelte/no-inner-declarations -----
11516
- type SvelteNoInnerDeclarations = [] | [("functions" | "both")] | [("functions" | "both"), {
11517
- blockScopedFunctions?: ("allow" | "disallow");
11518
- }];
11519
- // ----- svelte/no-navigation-without-base -----
11520
- type SvelteNoNavigationWithoutBase = [] | [{
11521
- ignoreGoto?: boolean;
11522
- ignoreLinks?: boolean;
11523
- ignorePushState?: boolean;
11524
- ignoreReplaceState?: boolean;
11525
- }];
11526
- // ----- svelte/no-reactive-reassign -----
11527
- type SvelteNoReactiveReassign = [] | [{
11528
- props?: boolean;
11529
- }];
11530
- // ----- svelte/no-restricted-html-elements -----
11531
- type SvelteNoRestrictedHtmlElements = [(string | {
11532
- elements?: [string, ...(string)[]];
11533
- message?: string;
11534
- }), ...((string | {
11535
- elements?: [string, ...(string)[]];
11536
- message?: string;
11537
- }))[]];
11538
- // ----- svelte/no-target-blank -----
11539
- type SvelteNoTargetBlank = [] | [{
11540
- allowReferrer?: boolean;
11541
- enforceDynamicLinks?: ("always" | "never");
11542
- }];
11543
- // ----- svelte/no-trailing-spaces -----
11544
- type SvelteNoTrailingSpaces = [] | [{
11545
- skipBlankLines?: boolean;
11546
- ignoreComments?: boolean;
11547
- }];
11548
- // ----- svelte/no-unknown-style-directive-property -----
11549
- type SvelteNoUnknownStyleDirectiveProperty = [] | [{
11550
- ignoreProperties?: [string, ...(string)[]];
11551
- ignorePrefixed?: boolean;
11761
+ // ----- style/new-parens -----
11762
+ type StyleNewParens = [] | [("always" | "never")];
11763
+ // ----- style/newline-per-chained-call -----
11764
+ type StyleNewlinePerChainedCall = [] | [{
11765
+ ignoreChainWithDepth?: number;
11552
11766
  }];
11553
- // ----- svelte/no-unnecessary-state-wrap -----
11554
- type SvelteNoUnnecessaryStateWrap = [] | [{
11555
- additionalReactiveClasses?: string[];
11556
- allowReassign?: boolean;
11767
+ // ----- style/no-confusing-arrow -----
11768
+ type StyleNoConfusingArrow = [] | [{
11769
+ allowParens?: boolean;
11770
+ onlyOneSimpleParam?: boolean;
11557
11771
  }];
11558
- // ----- svelte/no-unused-class-name -----
11559
- type SvelteNoUnusedClassName = [] | [{
11560
- allowedClassNames?: string[];
11772
+ // ----- style/no-extra-parens -----
11773
+ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
11774
+ conditionalAssign?: boolean;
11775
+ ternaryOperandBinaryExpressions?: boolean;
11776
+ nestedBinaryExpressions?: boolean;
11777
+ returnAssign?: boolean;
11778
+ ignoreJSX?: ("none" | "all" | "single-line" | "multi-line");
11779
+ enforceForArrowConditionals?: boolean;
11780
+ enforceForSequenceExpressions?: boolean;
11781
+ enforceForNewInMemberExpressions?: boolean;
11782
+ enforceForFunctionPrototypeMethods?: boolean;
11783
+ allowParensAfterCommentPattern?: string;
11784
+ nestedConditionalExpressions?: boolean;
11785
+ allowNodesInSpreadElement?: {
11786
+ ConditionalExpression?: boolean;
11787
+ LogicalExpression?: boolean;
11788
+ AwaitExpression?: boolean;
11789
+ };
11790
+ }]);
11791
+ // ----- style/no-mixed-operators -----
11792
+ type StyleNoMixedOperators = [] | [{
11793
+ groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][];
11794
+ allowSamePrecedence?: boolean;
11561
11795
  }];
11562
- // ----- svelte/no-unused-props -----
11563
- type SvelteNoUnusedProps = [] | [{
11564
- checkImportedTypes?: boolean;
11565
- ignoreTypePatterns?: string[];
11566
- ignorePropertyPatterns?: string[];
11567
- allowUnusedNestedProperties?: boolean;
11796
+ // ----- style/no-mixed-spaces-and-tabs -----
11797
+ type StyleNoMixedSpacesAndTabs = [] | [("smart-tabs" | boolean)];
11798
+ // ----- style/no-multi-spaces -----
11799
+ type StyleNoMultiSpaces = [] | [{
11800
+ exceptions?: {
11801
+ [k: string]: boolean;
11802
+ };
11803
+ ignoreEOLComments?: boolean;
11804
+ includeTabs?: boolean;
11568
11805
  }];
11569
- // ----- svelte/no-useless-mustaches -----
11570
- type SvelteNoUselessMustaches = [] | [{
11571
- ignoreIncludesComment?: boolean;
11572
- ignoreStringEscape?: boolean;
11806
+ // ----- style/no-multiple-empty-lines -----
11807
+ type StyleNoMultipleEmptyLines = [] | [{
11808
+ max: number;
11809
+ maxEOF?: number;
11810
+ maxBOF?: number;
11573
11811
  }];
11574
- // ----- svelte/prefer-class-directive -----
11575
- type SveltePreferClassDirective = [] | [{
11576
- prefer?: ("always" | "empty");
11812
+ // ----- style/no-tabs -----
11813
+ type StyleNoTabs = [] | [{
11814
+ allowIndentationTabs?: boolean;
11577
11815
  }];
11578
- // ----- svelte/prefer-const -----
11579
- type SveltePreferConst = [] | [{
11580
- destructuring?: ("any" | "all");
11581
- ignoreReadBeforeAssign?: boolean;
11582
- excludedRunes?: string[];
11583
- [k: string]: unknown | undefined;
11816
+ // ----- style/no-trailing-spaces -----
11817
+ type StyleNoTrailingSpaces = [] | [{
11818
+ skipBlankLines?: boolean;
11819
+ ignoreComments?: boolean;
11584
11820
  }];
11585
- // ----- svelte/require-event-prefix -----
11586
- type SvelteRequireEventPrefix = [] | [{
11587
- checkAsyncFunctions?: boolean;
11821
+ // ----- style/nonblock-statement-body-position -----
11822
+ type StyleNonblockStatementBodyPosition = [] | [("beside" | "below" | "any")] | [("beside" | "below" | "any"), {
11823
+ overrides?: {
11824
+ if?: ("beside" | "below" | "any");
11825
+ else?: ("beside" | "below" | "any");
11826
+ while?: ("beside" | "below" | "any");
11827
+ do?: ("beside" | "below" | "any");
11828
+ for?: ("beside" | "below" | "any");
11829
+ };
11588
11830
  }];
11589
- // ----- svelte/shorthand-attribute -----
11590
- type SvelteShorthandAttribute = [] | [{
11591
- prefer?: ("always" | "never");
11831
+ // ----- style/object-curly-newline -----
11832
+ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
11833
+ multiline?: boolean;
11834
+ minProperties?: number;
11835
+ consistent?: boolean;
11836
+ }) | {
11837
+ ObjectExpression?: (("always" | "never") | {
11838
+ multiline?: boolean;
11839
+ minProperties?: number;
11840
+ consistent?: boolean;
11841
+ });
11842
+ ObjectPattern?: (("always" | "never") | {
11843
+ multiline?: boolean;
11844
+ minProperties?: number;
11845
+ consistent?: boolean;
11846
+ });
11847
+ ImportDeclaration?: (("always" | "never") | {
11848
+ multiline?: boolean;
11849
+ minProperties?: number;
11850
+ consistent?: boolean;
11851
+ });
11852
+ ExportDeclaration?: (("always" | "never") | {
11853
+ multiline?: boolean;
11854
+ minProperties?: number;
11855
+ consistent?: boolean;
11856
+ });
11857
+ TSTypeLiteral?: (("always" | "never") | {
11858
+ multiline?: boolean;
11859
+ minProperties?: number;
11860
+ consistent?: boolean;
11861
+ });
11862
+ TSInterfaceBody?: (("always" | "never") | {
11863
+ multiline?: boolean;
11864
+ minProperties?: number;
11865
+ consistent?: boolean;
11866
+ });
11867
+ TSEnumBody?: (("always" | "never") | {
11868
+ multiline?: boolean;
11869
+ minProperties?: number;
11870
+ consistent?: boolean;
11871
+ });
11872
+ })];
11873
+ // ----- style/object-curly-spacing -----
11874
+ type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
11875
+ arraysInObjects?: boolean;
11876
+ objectsInObjects?: boolean;
11592
11877
  }];
11593
- // ----- svelte/shorthand-directive -----
11594
- type SvelteShorthandDirective = [] | [{
11595
- prefer?: ("always" | "never");
11878
+ // ----- style/object-property-newline -----
11879
+ type StyleObjectPropertyNewline = [] | [{
11880
+ allowAllPropertiesOnSameLine?: boolean;
11596
11881
  }];
11597
- // ----- svelte/sort-attributes -----
11598
- type SvelteSortAttributes = [] | [{
11599
- order?: (string | [string, ...(string)[]] | {
11600
- match: (string | [string, ...(string)[]]);
11601
- sort: ("alphabetical" | "ignore");
11602
- })[];
11603
- alphabetical?: boolean;
11882
+ // ----- style/one-var-declaration-per-line -----
11883
+ type StyleOneVarDeclarationPerLine = [] | [("always" | "initializations")];
11884
+ // ----- style/operator-linebreak -----
11885
+ type StyleOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("after" | "before" | "none") | null), {
11886
+ overrides?: {
11887
+ [k: string]: ("after" | "before" | "none" | "ignore") | undefined;
11888
+ };
11604
11889
  }];
11605
- // ----- svelte/spaced-html-comment -----
11606
- type SvelteSpacedHtmlComment = [] | [("always" | "never")];
11607
- // ----- svelte/valid-compile -----
11608
- type SvelteValidCompile = [] | [{
11609
- ignoreWarnings?: boolean;
11890
+ // ----- style/padded-blocks -----
11891
+ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
11892
+ blocks?: ("always" | "never" | "start" | "end");
11893
+ switches?: ("always" | "never" | "start" | "end");
11894
+ classes?: ("always" | "never" | "start" | "end");
11895
+ })] | [(("always" | "never" | "start" | "end") | {
11896
+ blocks?: ("always" | "never" | "start" | "end");
11897
+ switches?: ("always" | "never" | "start" | "end");
11898
+ classes?: ("always" | "never" | "start" | "end");
11899
+ }), {
11900
+ allowSingleLineBlocks?: boolean;
11610
11901
  }];
11611
- // ----- switch-colon-spacing -----
11612
- type SwitchColonSpacing = [] | [{
11902
+ // ----- style/padding-line-between-statements -----
11903
+ type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
11904
+ type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
11905
+ type StylePaddingLineBetweenStatements = {
11906
+ blankLine: _StylePaddingLineBetweenStatementsPaddingType;
11907
+ prev: _StylePaddingLineBetweenStatementsStatementType;
11908
+ next: _StylePaddingLineBetweenStatementsStatementType;
11909
+ }[];
11910
+ // ----- style/quote-props -----
11911
+ type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
11912
+ keywords?: boolean;
11913
+ unnecessary?: boolean;
11914
+ numbers?: boolean;
11915
+ }]);
11916
+ // ----- style/quotes -----
11917
+ type StyleQuotes = [] | [("single" | "double" | "backtick")] | [("single" | "double" | "backtick"), ("avoid-escape" | {
11918
+ avoidEscape?: boolean;
11919
+ allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"));
11920
+ ignoreStringLiterals?: boolean;
11921
+ })];
11922
+ // ----- style/rest-spread-spacing -----
11923
+ type StyleRestSpreadSpacing = [] | [("always" | "never")];
11924
+ // ----- style/semi -----
11925
+ type StyleSemi = ([] | ["never"] | ["never", {
11926
+ beforeStatementContinuationChars?: ("always" | "any" | "never");
11927
+ }] | [] | ["always"] | ["always", {
11928
+ omitLastInOneLineBlock?: boolean;
11929
+ omitLastInOneLineClassBody?: boolean;
11930
+ }]);
11931
+ // ----- style/semi-spacing -----
11932
+ type StyleSemiSpacing = [] | [{
11613
11933
  before?: boolean;
11614
11934
  after?: boolean;
11615
11935
  }];
11616
- // ----- tailwindcss/enforce-consistent-class-order -----
11617
- type TailwindcssEnforceConsistentClassOrder = [] | [{
11618
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11619
- match?: "strings";
11620
- [k: string]: unknown | undefined;
11621
- } | {
11622
- match?: "objectKeys";
11623
- pathPattern?: string;
11624
- [k: string]: unknown | undefined;
11625
- } | {
11626
- match?: "objectValues";
11627
- pathPattern?: string;
11628
- [k: string]: unknown | undefined;
11629
- })[]] | string)[];
11630
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11631
- match?: "strings";
11632
- [k: string]: unknown | undefined;
11633
- } | {
11634
- match?: "objectKeys";
11635
- pathPattern?: string;
11636
- [k: string]: unknown | undefined;
11637
- } | {
11638
- match?: "objectValues";
11639
- pathPattern?: string;
11640
- [k: string]: unknown | undefined;
11641
- })[]])[];
11642
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11643
- match?: "strings";
11644
- [k: string]: unknown | undefined;
11645
- } | {
11646
- match?: "objectKeys";
11647
- pathPattern?: string;
11648
- [k: string]: unknown | undefined;
11649
- } | {
11650
- match?: "objectValues";
11651
- pathPattern?: string;
11652
- [k: string]: unknown | undefined;
11653
- })[]] | string)[];
11654
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11655
- match?: "strings";
11656
- [k: string]: unknown | undefined;
11657
- } | {
11658
- match?: "objectKeys";
11659
- pathPattern?: string;
11660
- [k: string]: unknown | undefined;
11661
- } | {
11662
- match?: "objectValues";
11663
- pathPattern?: string;
11664
- [k: string]: unknown | undefined;
11665
- })[]] | string)[];
11666
- entryPoint?: string;
11667
- tailwindConfig?: string;
11668
- order?: ("asc" | "desc" | "official" | "improved");
11936
+ // ----- style/semi-style -----
11937
+ type StyleSemiStyle = [] | [("last" | "first")];
11938
+ // ----- style/space-before-blocks -----
11939
+ type StyleSpaceBeforeBlocks = [] | [(("always" | "never") | {
11940
+ keywords?: ("always" | "never" | "off");
11941
+ functions?: ("always" | "never" | "off");
11942
+ classes?: ("always" | "never" | "off");
11943
+ modules?: ("always" | "never" | "off");
11944
+ })];
11945
+ // ----- style/space-before-function-paren -----
11946
+ type StyleSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
11947
+ anonymous?: ("always" | "never" | "ignore");
11948
+ named?: ("always" | "never" | "ignore");
11949
+ asyncArrow?: ("always" | "never" | "ignore");
11950
+ catch?: ("always" | "never" | "ignore");
11951
+ })];
11952
+ // ----- style/space-in-parens -----
11953
+ type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
11954
+ exceptions?: ("{}" | "[]" | "()" | "empty")[];
11669
11955
  }];
11670
- // ----- tailwindcss/enforce-consistent-line-wrapping -----
11671
- type TailwindcssEnforceConsistentLineWrapping = [] | [{
11672
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11673
- match?: "strings";
11674
- [k: string]: unknown | undefined;
11675
- } | {
11676
- match?: "objectKeys";
11677
- pathPattern?: string;
11678
- [k: string]: unknown | undefined;
11679
- } | {
11680
- match?: "objectValues";
11681
- pathPattern?: string;
11682
- [k: string]: unknown | undefined;
11683
- })[]] | string)[];
11684
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11685
- match?: "strings";
11686
- [k: string]: unknown | undefined;
11687
- } | {
11688
- match?: "objectKeys";
11689
- pathPattern?: string;
11690
- [k: string]: unknown | undefined;
11691
- } | {
11692
- match?: "objectValues";
11693
- pathPattern?: string;
11694
- [k: string]: unknown | undefined;
11695
- })[]])[];
11696
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11697
- match?: "strings";
11698
- [k: string]: unknown | undefined;
11699
- } | {
11700
- match?: "objectKeys";
11701
- pathPattern?: string;
11702
- [k: string]: unknown | undefined;
11703
- } | {
11704
- match?: "objectValues";
11705
- pathPattern?: string;
11706
- [k: string]: unknown | undefined;
11707
- })[]] | string)[];
11708
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11709
- match?: "strings";
11710
- [k: string]: unknown | undefined;
11711
- } | {
11712
- match?: "objectKeys";
11713
- pathPattern?: string;
11714
- [k: string]: unknown | undefined;
11715
- } | {
11716
- match?: "objectValues";
11717
- pathPattern?: string;
11718
- [k: string]: unknown | undefined;
11719
- })[]] | string)[];
11720
- entryPoint?: string;
11721
- tailwindConfig?: string;
11722
- classesPerLine?: number;
11723
- group?: ("emptyLine" | "never" | "newLine");
11724
- indent?: ("tab" | number);
11725
- lineBreakStyle?: ("unix" | "windows");
11726
- preferSingleLine?: boolean;
11727
- printWidth?: number;
11956
+ // ----- style/space-infix-ops -----
11957
+ type StyleSpaceInfixOps = [] | [{
11958
+ int32Hint?: boolean;
11959
+ ignoreTypes?: boolean;
11728
11960
  }];
11729
- // ----- tailwindcss/enforce-consistent-variable-syntax -----
11730
- type TailwindcssEnforceConsistentVariableSyntax = [] | [{
11731
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11732
- match?: "strings";
11733
- [k: string]: unknown | undefined;
11734
- } | {
11735
- match?: "objectKeys";
11736
- pathPattern?: string;
11737
- [k: string]: unknown | undefined;
11738
- } | {
11739
- match?: "objectValues";
11740
- pathPattern?: string;
11741
- [k: string]: unknown | undefined;
11742
- })[]] | string)[];
11743
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11744
- match?: "strings";
11745
- [k: string]: unknown | undefined;
11746
- } | {
11747
- match?: "objectKeys";
11748
- pathPattern?: string;
11749
- [k: string]: unknown | undefined;
11750
- } | {
11751
- match?: "objectValues";
11752
- pathPattern?: string;
11753
- [k: string]: unknown | undefined;
11754
- })[]])[];
11755
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11756
- match?: "strings";
11757
- [k: string]: unknown | undefined;
11758
- } | {
11759
- match?: "objectKeys";
11760
- pathPattern?: string;
11761
- [k: string]: unknown | undefined;
11762
- } | {
11763
- match?: "objectValues";
11764
- pathPattern?: string;
11765
- [k: string]: unknown | undefined;
11766
- })[]] | string)[];
11767
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11768
- match?: "strings";
11769
- [k: string]: unknown | undefined;
11770
- } | {
11771
- match?: "objectKeys";
11772
- pathPattern?: string;
11773
- [k: string]: unknown | undefined;
11774
- } | {
11775
- match?: "objectValues";
11776
- pathPattern?: string;
11777
- [k: string]: unknown | undefined;
11778
- })[]] | string)[];
11779
- syntax?: ("arbitrary" | "parentheses");
11961
+ // ----- style/space-unary-ops -----
11962
+ type StyleSpaceUnaryOps = [] | [{
11963
+ words?: boolean;
11964
+ nonwords?: boolean;
11965
+ overrides?: {
11966
+ [k: string]: boolean | undefined;
11967
+ };
11780
11968
  }];
11781
- // ----- tailwindcss/enforce-shorthand-classes -----
11782
- type TailwindcssEnforceShorthandClasses = [] | [{
11783
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11784
- match?: "strings";
11785
- [k: string]: unknown | undefined;
11786
- } | {
11787
- match?: "objectKeys";
11788
- pathPattern?: string;
11789
- [k: string]: unknown | undefined;
11790
- } | {
11791
- match?: "objectValues";
11792
- pathPattern?: string;
11793
- [k: string]: unknown | undefined;
11794
- })[]] | string)[];
11795
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11796
- match?: "strings";
11797
- [k: string]: unknown | undefined;
11798
- } | {
11799
- match?: "objectKeys";
11800
- pathPattern?: string;
11801
- [k: string]: unknown | undefined;
11802
- } | {
11803
- match?: "objectValues";
11804
- pathPattern?: string;
11805
- [k: string]: unknown | undefined;
11806
- })[]])[];
11807
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11808
- match?: "strings";
11809
- [k: string]: unknown | undefined;
11810
- } | {
11811
- match?: "objectKeys";
11812
- pathPattern?: string;
11813
- [k: string]: unknown | undefined;
11814
- } | {
11815
- match?: "objectValues";
11816
- pathPattern?: string;
11817
- [k: string]: unknown | undefined;
11818
- })[]] | string)[];
11819
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11820
- match?: "strings";
11821
- [k: string]: unknown | undefined;
11822
- } | {
11823
- match?: "objectKeys";
11824
- pathPattern?: string;
11825
- [k: string]: unknown | undefined;
11826
- } | {
11827
- match?: "objectValues";
11828
- pathPattern?: string;
11829
- [k: string]: unknown | undefined;
11830
- })[]] | string)[];
11831
- entryPoint?: string;
11832
- tailwindConfig?: string;
11969
+ // ----- style/spaced-comment -----
11970
+ type StyleSpacedComment = [] | [("always" | "never")] | [("always" | "never"), {
11971
+ exceptions?: string[];
11972
+ markers?: string[];
11973
+ line?: {
11974
+ exceptions?: string[];
11975
+ markers?: string[];
11976
+ };
11977
+ block?: {
11978
+ exceptions?: string[];
11979
+ markers?: string[];
11980
+ balanced?: boolean;
11981
+ };
11833
11982
  }];
11834
- // ----- tailwindcss/multiline -----
11835
- type TailwindcssMultiline = [] | [{
11836
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11837
- match?: "strings";
11838
- [k: string]: unknown | undefined;
11839
- } | {
11840
- match?: "objectKeys";
11841
- pathPattern?: string;
11842
- [k: string]: unknown | undefined;
11843
- } | {
11844
- match?: "objectValues";
11845
- pathPattern?: string;
11846
- [k: string]: unknown | undefined;
11847
- })[]] | string)[];
11848
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11849
- match?: "strings";
11850
- [k: string]: unknown | undefined;
11851
- } | {
11852
- match?: "objectKeys";
11853
- pathPattern?: string;
11854
- [k: string]: unknown | undefined;
11855
- } | {
11856
- match?: "objectValues";
11857
- pathPattern?: string;
11858
- [k: string]: unknown | undefined;
11859
- })[]])[];
11860
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11861
- match?: "strings";
11862
- [k: string]: unknown | undefined;
11863
- } | {
11864
- match?: "objectKeys";
11865
- pathPattern?: string;
11866
- [k: string]: unknown | undefined;
11867
- } | {
11868
- match?: "objectValues";
11869
- pathPattern?: string;
11870
- [k: string]: unknown | undefined;
11871
- })[]] | string)[];
11872
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11873
- match?: "strings";
11874
- [k: string]: unknown | undefined;
11875
- } | {
11876
- match?: "objectKeys";
11877
- pathPattern?: string;
11878
- [k: string]: unknown | undefined;
11879
- } | {
11880
- match?: "objectValues";
11881
- pathPattern?: string;
11882
- [k: string]: unknown | undefined;
11883
- })[]] | string)[];
11884
- entryPoint?: string;
11885
- tailwindConfig?: string;
11886
- classesPerLine?: number;
11887
- group?: ("emptyLine" | "never" | "newLine");
11888
- indent?: ("tab" | number);
11889
- lineBreakStyle?: ("unix" | "windows");
11890
- preferSingleLine?: boolean;
11891
- printWidth?: number;
11983
+ // ----- style/switch-colon-spacing -----
11984
+ type StyleSwitchColonSpacing = [] | [{
11985
+ before?: boolean;
11986
+ after?: boolean;
11987
+ }];
11988
+ // ----- style/template-curly-spacing -----
11989
+ type StyleTemplateCurlySpacing = [] | [("always" | "never")];
11990
+ // ----- style/template-tag-spacing -----
11991
+ type StyleTemplateTagSpacing = [] | [("always" | "never")];
11992
+ // ----- style/type-annotation-spacing -----
11993
+ type StyleTypeAnnotationSpacing = [] | [{
11994
+ before?: boolean;
11995
+ after?: boolean;
11996
+ overrides?: {
11997
+ colon?: _StyleTypeAnnotationSpacing_SpacingConfig;
11998
+ arrow?: _StyleTypeAnnotationSpacing_SpacingConfig;
11999
+ variable?: _StyleTypeAnnotationSpacing_SpacingConfig;
12000
+ parameter?: _StyleTypeAnnotationSpacing_SpacingConfig;
12001
+ property?: _StyleTypeAnnotationSpacing_SpacingConfig;
12002
+ returnType?: _StyleTypeAnnotationSpacing_SpacingConfig;
12003
+ };
11892
12004
  }];
11893
- // ----- tailwindcss/no-conflicting-classes -----
11894
- type TailwindcssNoConflictingClasses = [] | [{
11895
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11896
- match?: "strings";
11897
- [k: string]: unknown | undefined;
11898
- } | {
11899
- match?: "objectKeys";
11900
- pathPattern?: string;
11901
- [k: string]: unknown | undefined;
11902
- } | {
11903
- match?: "objectValues";
11904
- pathPattern?: string;
11905
- [k: string]: unknown | undefined;
11906
- })[]] | string)[];
11907
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11908
- match?: "strings";
11909
- [k: string]: unknown | undefined;
11910
- } | {
11911
- match?: "objectKeys";
11912
- pathPattern?: string;
11913
- [k: string]: unknown | undefined;
11914
- } | {
11915
- match?: "objectValues";
11916
- pathPattern?: string;
11917
- [k: string]: unknown | undefined;
11918
- })[]])[];
11919
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11920
- match?: "strings";
11921
- [k: string]: unknown | undefined;
11922
- } | {
11923
- match?: "objectKeys";
11924
- pathPattern?: string;
11925
- [k: string]: unknown | undefined;
11926
- } | {
11927
- match?: "objectValues";
11928
- pathPattern?: string;
11929
- [k: string]: unknown | undefined;
11930
- })[]] | string)[];
11931
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11932
- match?: "strings";
11933
- [k: string]: unknown | undefined;
11934
- } | {
11935
- match?: "objectKeys";
11936
- pathPattern?: string;
11937
- [k: string]: unknown | undefined;
11938
- } | {
11939
- match?: "objectValues";
11940
- pathPattern?: string;
11941
- [k: string]: unknown | undefined;
11942
- })[]] | string)[];
11943
- entryPoint?: string;
11944
- tailwindConfig?: string;
12005
+ interface _StyleTypeAnnotationSpacing_SpacingConfig {
12006
+ before?: boolean;
12007
+ after?: boolean;
12008
+ }
12009
+ // ----- style/wrap-iife -----
12010
+ type StyleWrapIife = [] | [("outside" | "inside" | "any")] | [("outside" | "inside" | "any"), {
12011
+ functionPrototypeMethods?: boolean;
11945
12012
  }];
11946
- // ----- tailwindcss/no-duplicate-classes -----
11947
- type TailwindcssNoDuplicateClasses = [] | [{
11948
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11949
- match?: "strings";
11950
- [k: string]: unknown | undefined;
11951
- } | {
11952
- match?: "objectKeys";
11953
- pathPattern?: string;
11954
- [k: string]: unknown | undefined;
11955
- } | {
11956
- match?: "objectValues";
11957
- pathPattern?: string;
11958
- [k: string]: unknown | undefined;
11959
- })[]] | string)[];
11960
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
11961
- match?: "strings";
11962
- [k: string]: unknown | undefined;
11963
- } | {
11964
- match?: "objectKeys";
11965
- pathPattern?: string;
11966
- [k: string]: unknown | undefined;
11967
- } | {
11968
- match?: "objectValues";
11969
- pathPattern?: string;
11970
- [k: string]: unknown | undefined;
11971
- })[]])[];
11972
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11973
- match?: "strings";
11974
- [k: string]: unknown | undefined;
11975
- } | {
11976
- match?: "objectKeys";
11977
- pathPattern?: string;
11978
- [k: string]: unknown | undefined;
11979
- } | {
11980
- match?: "objectValues";
11981
- pathPattern?: string;
11982
- [k: string]: unknown | undefined;
11983
- })[]] | string)[];
11984
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
11985
- match?: "strings";
11986
- [k: string]: unknown | undefined;
11987
- } | {
11988
- match?: "objectKeys";
11989
- pathPattern?: string;
11990
- [k: string]: unknown | undefined;
11991
- } | {
11992
- match?: "objectValues";
11993
- pathPattern?: string;
11994
- [k: string]: unknown | undefined;
11995
- })[]] | string)[];
12013
+ // ----- style/yield-star-spacing -----
12014
+ type StyleYieldStarSpacing = [] | [(("before" | "after" | "both" | "neither") | {
12015
+ before?: boolean;
12016
+ after?: boolean;
12017
+ })];
12018
+ // ----- svelte/@typescript-eslint/no-unnecessary-condition -----
12019
+ type SvelteTypescriptEslintNoUnnecessaryCondition = [] | [{
12020
+ allowConstantLoopConditions?: boolean;
12021
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
11996
12022
  }];
11997
- // ----- tailwindcss/no-restricted-classes -----
11998
- type TailwindcssNoRestrictedClasses = [] | [{
11999
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12000
- match?: "strings";
12001
- [k: string]: unknown | undefined;
12002
- } | {
12003
- match?: "objectKeys";
12004
- pathPattern?: string;
12005
- [k: string]: unknown | undefined;
12006
- } | {
12007
- match?: "objectValues";
12008
- pathPattern?: string;
12009
- [k: string]: unknown | undefined;
12010
- })[]] | string)[];
12011
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
12012
- match?: "strings";
12013
- [k: string]: unknown | undefined;
12014
- } | {
12015
- match?: "objectKeys";
12016
- pathPattern?: string;
12017
- [k: string]: unknown | undefined;
12018
- } | {
12019
- match?: "objectValues";
12020
- pathPattern?: string;
12021
- [k: string]: unknown | undefined;
12022
- })[]])[];
12023
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12024
- match?: "strings";
12025
- [k: string]: unknown | undefined;
12026
- } | {
12027
- match?: "objectKeys";
12028
- pathPattern?: string;
12029
- [k: string]: unknown | undefined;
12030
- } | {
12031
- match?: "objectValues";
12032
- pathPattern?: string;
12033
- [k: string]: unknown | undefined;
12034
- })[]] | string)[];
12035
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12036
- match?: "strings";
12037
- [k: string]: unknown | undefined;
12038
- } | {
12039
- match?: "objectKeys";
12040
- pathPattern?: string;
12041
- [k: string]: unknown | undefined;
12042
- } | {
12043
- match?: "objectValues";
12044
- pathPattern?: string;
12045
- [k: string]: unknown | undefined;
12046
- })[]] | string)[];
12047
- restrict?: ({
12048
- fix?: string;
12049
- message?: string;
12050
- pattern: string;
12051
- } | string)[];
12023
+ // ----- svelte/block-lang -----
12024
+ type SvelteBlockLang = [] | [{
12025
+ enforceScriptPresent?: boolean;
12026
+ enforceStylePresent?: boolean;
12027
+ script?: ((string | null) | [(string | null), ...((string | null))[]]);
12028
+ style?: ((string | null) | [(string | null), ...((string | null))[]]);
12052
12029
  }];
12053
- // ----- tailwindcss/no-unnecessary-whitespace -----
12054
- type TailwindcssNoUnnecessaryWhitespace = [] | [{
12055
- allowMultiline?: boolean;
12056
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12057
- match?: "strings";
12058
- [k: string]: unknown | undefined;
12059
- } | {
12060
- match?: "objectKeys";
12061
- pathPattern?: string;
12062
- [k: string]: unknown | undefined;
12063
- } | {
12064
- match?: "objectValues";
12065
- pathPattern?: string;
12066
- [k: string]: unknown | undefined;
12067
- })[]] | string)[];
12068
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
12069
- match?: "strings";
12070
- [k: string]: unknown | undefined;
12071
- } | {
12072
- match?: "objectKeys";
12073
- pathPattern?: string;
12074
- [k: string]: unknown | undefined;
12075
- } | {
12076
- match?: "objectValues";
12077
- pathPattern?: string;
12078
- [k: string]: unknown | undefined;
12079
- })[]])[];
12080
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12081
- match?: "strings";
12082
- [k: string]: unknown | undefined;
12083
- } | {
12084
- match?: "objectKeys";
12085
- pathPattern?: string;
12086
- [k: string]: unknown | undefined;
12087
- } | {
12088
- match?: "objectValues";
12089
- pathPattern?: string;
12090
- [k: string]: unknown | undefined;
12091
- })[]] | string)[];
12092
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12093
- match?: "strings";
12094
- [k: string]: unknown | undefined;
12095
- } | {
12096
- match?: "objectKeys";
12097
- pathPattern?: string;
12098
- [k: string]: unknown | undefined;
12099
- } | {
12100
- match?: "objectValues";
12101
- pathPattern?: string;
12102
- [k: string]: unknown | undefined;
12103
- })[]] | string)[];
12030
+ // ----- svelte/button-has-type -----
12031
+ type SvelteButtonHasType = [] | [{
12032
+ button?: boolean;
12033
+ submit?: boolean;
12034
+ reset?: boolean;
12035
+ }];
12036
+ // ----- svelte/comment-directive -----
12037
+ type SvelteCommentDirective = [] | [{
12038
+ reportUnusedDisableDirectives?: boolean;
12039
+ }];
12040
+ // ----- svelte/consistent-selector-style -----
12041
+ type SvelteConsistentSelectorStyle = [] | [{
12042
+ checkGlobal?: boolean;
12043
+ style?: [] | [("class" | "id" | "type")] | [("class" | "id" | "type"), ("class" | "id" | "type")] | [("class" | "id" | "type"), ("class" | "id" | "type"), ("class" | "id" | "type")];
12044
+ }];
12045
+ // ----- svelte/first-attribute-linebreak -----
12046
+ type SvelteFirstAttributeLinebreak = [] | [{
12047
+ multiline?: ("below" | "beside");
12048
+ singleline?: ("below" | "beside");
12049
+ }];
12050
+ // ----- svelte/html-closing-bracket-new-line -----
12051
+ type SvelteHtmlClosingBracketNewLine = [] | [{
12052
+ singleline?: ("always" | "never");
12053
+ multiline?: ("always" | "never");
12054
+ selfClosingTag?: {
12055
+ singleline?: ("always" | "never");
12056
+ multiline?: ("always" | "never");
12057
+ };
12104
12058
  }];
12105
- // ----- tailwindcss/no-unregistered-classes -----
12106
- type TailwindcssNoUnregisteredClasses = [] | [{
12107
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12108
- match?: "strings";
12109
- [k: string]: unknown | undefined;
12110
- } | {
12111
- match?: "objectKeys";
12112
- pathPattern?: string;
12113
- [k: string]: unknown | undefined;
12114
- } | {
12115
- match?: "objectValues";
12116
- pathPattern?: string;
12117
- [k: string]: unknown | undefined;
12118
- })[]] | string)[];
12119
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
12120
- match?: "strings";
12121
- [k: string]: unknown | undefined;
12122
- } | {
12123
- match?: "objectKeys";
12124
- pathPattern?: string;
12125
- [k: string]: unknown | undefined;
12126
- } | {
12127
- match?: "objectValues";
12128
- pathPattern?: string;
12129
- [k: string]: unknown | undefined;
12130
- })[]])[];
12131
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12132
- match?: "strings";
12133
- [k: string]: unknown | undefined;
12134
- } | {
12135
- match?: "objectKeys";
12136
- pathPattern?: string;
12137
- [k: string]: unknown | undefined;
12138
- } | {
12139
- match?: "objectValues";
12140
- pathPattern?: string;
12141
- [k: string]: unknown | undefined;
12142
- })[]] | string)[];
12143
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12144
- match?: "strings";
12145
- [k: string]: unknown | undefined;
12146
- } | {
12147
- match?: "objectKeys";
12148
- pathPattern?: string;
12149
- [k: string]: unknown | undefined;
12150
- } | {
12151
- match?: "objectValues";
12152
- pathPattern?: string;
12153
- [k: string]: unknown | undefined;
12154
- })[]] | string)[];
12155
- entryPoint?: string;
12156
- tailwindConfig?: string;
12157
- detectComponentClasses?: boolean;
12158
- ignore?: string[];
12059
+ // ----- svelte/html-closing-bracket-spacing -----
12060
+ type SvelteHtmlClosingBracketSpacing = [] | [{
12061
+ startTag?: ("always" | "never" | "ignore");
12062
+ endTag?: ("always" | "never" | "ignore");
12063
+ selfClosingTag?: ("always" | "never" | "ignore");
12159
12064
  }];
12160
- // ----- tailwindcss/sort-classes -----
12161
- type TailwindcssSortClasses = [] | [{
12162
- callees?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12163
- match?: "strings";
12164
- [k: string]: unknown | undefined;
12165
- } | {
12166
- match?: "objectKeys";
12167
- pathPattern?: string;
12168
- [k: string]: unknown | undefined;
12169
- } | {
12170
- match?: "objectValues";
12171
- pathPattern?: string;
12172
- [k: string]: unknown | undefined;
12173
- })[]] | string)[];
12174
- attributes?: (string | [] | [string] | [string, string] | [] | [string] | [string, ({
12175
- match?: "strings";
12176
- [k: string]: unknown | undefined;
12177
- } | {
12178
- match?: "objectKeys";
12179
- pathPattern?: string;
12180
- [k: string]: unknown | undefined;
12181
- } | {
12182
- match?: "objectValues";
12183
- pathPattern?: string;
12184
- [k: string]: unknown | undefined;
12185
- })[]])[];
12186
- variables?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12187
- match?: "strings";
12188
- [k: string]: unknown | undefined;
12189
- } | {
12190
- match?: "objectKeys";
12191
- pathPattern?: string;
12192
- [k: string]: unknown | undefined;
12193
- } | {
12194
- match?: "objectValues";
12195
- pathPattern?: string;
12196
- [k: string]: unknown | undefined;
12197
- })[]] | string)[];
12198
- tags?: ([] | [string] | [string, string] | [] | [string] | [string, ({
12199
- match?: "strings";
12200
- [k: string]: unknown | undefined;
12201
- } | {
12202
- match?: "objectKeys";
12203
- pathPattern?: string;
12065
+ // ----- svelte/html-quotes -----
12066
+ type SvelteHtmlQuotes = [] | [{
12067
+ prefer?: ("double" | "single");
12068
+ dynamic?: {
12069
+ quoted?: boolean;
12070
+ avoidInvalidUnquotedInHTML?: boolean;
12071
+ };
12072
+ }];
12073
+ // ----- svelte/html-self-closing -----
12074
+ type SvelteHtmlSelfClosing = [] | [({
12075
+ void?: ("never" | "always" | "ignore");
12076
+ normal?: ("never" | "always" | "ignore");
12077
+ svg?: ("never" | "always" | "ignore");
12078
+ math?: ("never" | "always" | "ignore");
12079
+ component?: ("never" | "always" | "ignore");
12080
+ svelte?: ("never" | "always" | "ignore");
12081
+ } | ("all" | "html" | "none"))];
12082
+ // ----- svelte/indent -----
12083
+ type SvelteIndent = [] | [{
12084
+ indent?: (number | "tab");
12085
+ indentScript?: boolean;
12086
+ switchCase?: number;
12087
+ alignAttributesVertically?: boolean;
12088
+ ignoredNodes?: (string & {
12204
12089
  [k: string]: unknown | undefined;
12205
- } | {
12206
- match?: "objectValues";
12207
- pathPattern?: string;
12090
+ } & {
12208
12091
  [k: string]: unknown | undefined;
12209
- })[]] | string)[];
12210
- entryPoint?: string;
12211
- tailwindConfig?: string;
12212
- order?: ("asc" | "desc" | "official" | "improved");
12092
+ })[];
12093
+ }];
12094
+ // ----- svelte/max-attributes-per-line -----
12095
+ type SvelteMaxAttributesPerLine = [] | [{
12096
+ multiline?: number;
12097
+ singleline?: number;
12098
+ }];
12099
+ // ----- svelte/mustache-spacing -----
12100
+ type SvelteMustacheSpacing = [] | [{
12101
+ textExpressions?: ("never" | "always");
12102
+ attributesAndProps?: ("never" | "always");
12103
+ directiveExpressions?: ("never" | "always");
12104
+ tags?: {
12105
+ openingBrace?: ("never" | "always");
12106
+ closingBrace?: ("never" | "always" | "always-after-expression");
12107
+ };
12108
+ }];
12109
+ // ----- svelte/no-inline-styles -----
12110
+ type SvelteNoInlineStyles = [] | [{
12111
+ allowTransitions?: boolean;
12112
+ }];
12113
+ // ----- svelte/no-inner-declarations -----
12114
+ type SvelteNoInnerDeclarations = [] | [("functions" | "both")] | [("functions" | "both"), {
12115
+ blockScopedFunctions?: ("allow" | "disallow");
12116
+ }];
12117
+ // ----- svelte/no-navigation-without-base -----
12118
+ type SvelteNoNavigationWithoutBase = [] | [{
12119
+ ignoreGoto?: boolean;
12120
+ ignoreLinks?: boolean;
12121
+ ignorePushState?: boolean;
12122
+ ignoreReplaceState?: boolean;
12123
+ }];
12124
+ // ----- svelte/no-reactive-reassign -----
12125
+ type SvelteNoReactiveReassign = [] | [{
12126
+ props?: boolean;
12127
+ }];
12128
+ // ----- svelte/no-restricted-html-elements -----
12129
+ type SvelteNoRestrictedHtmlElements = [(string | {
12130
+ elements?: [string, ...(string)[]];
12131
+ message?: string;
12132
+ }), ...((string | {
12133
+ elements?: [string, ...(string)[]];
12134
+ message?: string;
12135
+ }))[]];
12136
+ // ----- svelte/no-target-blank -----
12137
+ type SvelteNoTargetBlank = [] | [{
12138
+ allowReferrer?: boolean;
12139
+ enforceDynamicLinks?: ("always" | "never");
12140
+ }];
12141
+ // ----- svelte/no-trailing-spaces -----
12142
+ type SvelteNoTrailingSpaces = [] | [{
12143
+ skipBlankLines?: boolean;
12144
+ ignoreComments?: boolean;
12145
+ }];
12146
+ // ----- svelte/no-unknown-style-directive-property -----
12147
+ type SvelteNoUnknownStyleDirectiveProperty = [] | [{
12148
+ ignoreProperties?: [string, ...(string)[]];
12149
+ ignorePrefixed?: boolean;
12150
+ }];
12151
+ // ----- svelte/no-unnecessary-state-wrap -----
12152
+ type SvelteNoUnnecessaryStateWrap = [] | [{
12153
+ additionalReactiveClasses?: string[];
12154
+ allowReassign?: boolean;
12155
+ }];
12156
+ // ----- svelte/no-unused-class-name -----
12157
+ type SvelteNoUnusedClassName = [] | [{
12158
+ allowedClassNames?: string[];
12159
+ }];
12160
+ // ----- svelte/no-unused-props -----
12161
+ type SvelteNoUnusedProps = [] | [{
12162
+ checkImportedTypes?: boolean;
12163
+ ignoreTypePatterns?: string[];
12164
+ ignorePropertyPatterns?: string[];
12165
+ allowUnusedNestedProperties?: boolean;
12166
+ }];
12167
+ // ----- svelte/no-useless-mustaches -----
12168
+ type SvelteNoUselessMustaches = [] | [{
12169
+ ignoreIncludesComment?: boolean;
12170
+ ignoreStringEscape?: boolean;
12171
+ }];
12172
+ // ----- svelte/prefer-class-directive -----
12173
+ type SveltePreferClassDirective = [] | [{
12174
+ prefer?: ("always" | "empty");
12175
+ }];
12176
+ // ----- svelte/prefer-const -----
12177
+ type SveltePreferConst = [] | [{
12178
+ destructuring?: ("any" | "all");
12179
+ ignoreReadBeforeAssign?: boolean;
12180
+ excludedRunes?: string[];
12181
+ [k: string]: unknown | undefined;
12182
+ }];
12183
+ // ----- svelte/require-event-prefix -----
12184
+ type SvelteRequireEventPrefix = [] | [{
12185
+ checkAsyncFunctions?: boolean;
12186
+ }];
12187
+ // ----- svelte/shorthand-attribute -----
12188
+ type SvelteShorthandAttribute = [] | [{
12189
+ prefer?: ("always" | "never");
12190
+ }];
12191
+ // ----- svelte/shorthand-directive -----
12192
+ type SvelteShorthandDirective = [] | [{
12193
+ prefer?: ("always" | "never");
12194
+ }];
12195
+ // ----- svelte/sort-attributes -----
12196
+ type SvelteSortAttributes = [] | [{
12197
+ order?: (string | [string, ...(string)[]] | {
12198
+ match: (string | [string, ...(string)[]]);
12199
+ sort: ("alphabetical" | "ignore");
12200
+ })[];
12201
+ alphabetical?: boolean;
12202
+ }];
12203
+ // ----- svelte/spaced-html-comment -----
12204
+ type SvelteSpacedHtmlComment = [] | [("always" | "never")];
12205
+ // ----- svelte/valid-compile -----
12206
+ type SvelteValidCompile = [] | [{
12207
+ ignoreWarnings?: boolean;
12208
+ }];
12209
+ // ----- switch-colon-spacing -----
12210
+ type SwitchColonSpacing = [] | [{
12211
+ before?: boolean;
12212
+ after?: boolean;
12213
12213
  }];
12214
12214
  // ----- template-curly-spacing -----
12215
12215
  type TemplateCurlySpacing = [] | [("always" | "never")];