UNPKG

eslint-plugin-better-tailwindcss

Version:

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

11 lines 541 B
import type { Warning } from "../types/async.js"; import type { Context } from "../types/rule.js"; import type { AsyncContext } from "../utils/context.js"; export type VariantOrder = Record<string, number | undefined>; export type GetVariantOrder = (ctx: AsyncContext, classes: string[]) => { variantOrder: VariantOrder; warnings: (Warning | undefined)[]; }; export declare let getVariantOrder: GetVariantOrder; export declare function createGetVariantOrder(ctx: Context): GetVariantOrder; //# sourceMappingURL=variant-order.d.ts.map