eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
30 lines • 3.6 kB
TypeScript
import type { InferOutput } from "valibot";
export declare const ENTRYPOINT_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly entryPoint: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the css entry point of the project. If not specified, the plugin will fall back to the default tailwind classes.">]>, undefined>;
}, undefined>;
export type EntryPointOption = InferOutput<typeof ENTRYPOINT_OPTION_SCHEMA>;
export declare const TAILWIND_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly tailwindConfig: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the tailwind config file. If not specified, the plugin will try to find it automatically or falls back to the default configuration.">]>, undefined>;
}, undefined>;
export type TailwindConfigOption = InferOutput<typeof TAILWIND_OPTION_SCHEMA>;
export declare const TSCONFIG_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly tsconfig: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The path to the tsconfig file. Is used to resolve path aliases in the tsconfig.">]>, undefined>;
}, undefined>;
export type TSConfigOption = InferOutput<typeof TSCONFIG_OPTION_SCHEMA>;
export declare const MESSAGE_STYLE_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly messageStyle: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").UnionSchema<[import("valibot").LiteralSchema<"visual", undefined>, import("valibot").LiteralSchema<"compact", undefined>, import("valibot").LiteralSchema<"raw", undefined>], undefined>, import("valibot").DescriptionAction<"visual" | "compact" | "raw", "How linting messages are displayed.">]>, "visual" | "compact">;
}, undefined>;
export type MessageStyleOption = InferOutput<typeof MESSAGE_STYLE_OPTION_SCHEMA>;
export declare const DETECT_COMPONENT_CLASSES_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly detectComponentClasses: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").BooleanSchema<undefined>, import("valibot").DescriptionAction<boolean, "Whether to automatically detect custom component classes from the tailwindcss config.">]>, false>;
}, undefined>;
export type DetectComponentClassesOption = InferOutput<typeof DETECT_COMPONENT_CLASSES_OPTION_SCHEMA>;
export declare const ROOT_FONT_SIZE_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly rootFontSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").DescriptionAction<number, "The root font size in pixels.">]>, undefined>;
}, undefined>;
export type RootFontSizeOption = InferOutput<typeof ROOT_FONT_SIZE_OPTION_SCHEMA>;
export declare const CWD_OPTION_SCHEMA: import("valibot").StrictObjectSchema<{
readonly cwd: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").DescriptionAction<string, "The working directory to resolve tailwindcss and the config from. Useful in monorepo setups.">]>, undefined>;
}, undefined>;
export type CwdOption = InferOutput<typeof CWD_OPTION_SCHEMA>;
//# sourceMappingURL=common.d.ts.map