UNPKG

eslint-plugin-better-tailwindcss

Version:

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

101 lines 13.9 kB
import type { InferOutput } from "valibot"; declare const TAG_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, "Template literal tag 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 TagMatchers = InferOutput<typeof TAG_MATCHER_CONFIG>; declare const TAG_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, "Template literal tag that should get linted.">]>; export type TagName = InferOutput<typeof TAG_NAME_CONFIG>; export declare const TAGS_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, "Template literal tag 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, "Template literal tag that should 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 template literal tags that should get linted.">]>; export type Tags = InferOutput<typeof TAGS_SCHEMA>; export declare const TAGS_OPTIONS_SCHEMA: import("node_modules/valibot/dist/index.mjs").StrictObjectSchema<{ readonly tags: 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, "Template literal tag 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, "Template literal tag that should 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 template literal tags that should get linted.">]>, undefined>; }, undefined>; export type TagsOptions = InferOutput<typeof TAGS_OPTIONS_SCHEMA>; export {}; //# sourceMappingURL=tags.d.ts.map