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 587 B
import type { Warning } from "../types/async.js"; import type { Context } from "../types/rule.js"; import type { AsyncContext } from "../utils/context.js"; export type CustomComponentClasses = string[]; export type GetCustomComponentClasses = (ctx: AsyncContext) => { customComponentClasses: CustomComponentClasses; warnings: (Warning | undefined)[]; }; export declare let getCustomComponentClasses: GetCustomComponentClasses; export declare function createGetCustomComponentClasses(ctx: Context): GetCustomComponentClasses; //# sourceMappingURL=custom-component-classes.d.ts.map