UNPKG

eslint-plugin-better-tailwindcss

Version:

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

100 lines 13.9 kB
import type { InferOutput } from "valibot"; export declare const VARIABLE_MATCHER_CONFIG: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>; }, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[]], "List of matchers that will automatically be matched.">]>; export type VariableMatchers = InferOutput<typeof VARIABLE_MATCHER_CONFIG>; export declare const VARIABLE_NAME_CONFIG: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted.">]>; export type VariableName = InferOutput<typeof VARIABLE_NAME_CONFIG>; export declare const VARIABLES_SCHEMA: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>; }, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[]], "List of matchers that will automatically be matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[]])[], "List of variable names which values should get linted.">]>; export type Variables = InferOutput<typeof VARIABLES_SCHEMA>; export declare const VARIABLES_OPTION_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly variables: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").TupleSchema<[import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted if matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").ArraySchema<import("node_modules/valibot/dist/index.mjs").UnionSchema<[import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.String, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.String, "Matcher type that will be applied.">]>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectKey, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectKey, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object key and matches the content for further processing in a group.">]>, undefined>; }, undefined>, import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly match: import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").LiteralSchema<import("../../types/rule.js").MatcherType.ObjectValue, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<import("../../types/rule.js").MatcherType.ObjectValue, "Matcher type that will be applied.">]>; readonly pathPattern: import("node_modules/valibot/dist/index.mjs").OptionalSchema<import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Regular expression that filters the object value and matches the content for further processing in a group.">]>, undefined>; }, undefined>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[], "List of matchers that will be applied.">]>], undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<[string, ({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[]], "List of matchers that will automatically be matched.">]>, import("node_modules/valibot/dist/index.mjs").SchemaWithPipe<readonly [import("node_modules/valibot/dist/index.mjs").StringSchema<undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<string, "Variable name for which children get linted.">]>], undefined>, undefined>, import("node_modules/valibot/dist/index.mjs").DescriptionAction<(string | [string, ({ match: import("../../types/rule.js").MatcherType.String; } | { match: import("../../types/rule.js").MatcherType.ObjectKey; pathPattern?: string | undefined; } | { match: import("../../types/rule.js").MatcherType.ObjectValue; pathPattern?: string | undefined; })[]])[], "List of variable names which values should get linted.">]>, undefined>; }, undefined>; export type VariablesOptions = InferOutput<typeof VARIABLES_OPTION_SCHEMA>; //# sourceMappingURL=variables.d.ts.map