eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
13 lines • 488 B
TypeScript
import type { Warning } from "../types/async.js";
import type { Context } from "../types/rule.js";
import type { AsyncContext } from "../utils/context.js";
export type Prefix = string;
export type Suffix = string;
export type GetPrefix = (ctx: AsyncContext) => {
prefix: Prefix;
suffix: Suffix;
warnings: (Warning | undefined)[];
};
export declare let getPrefix: GetPrefix;
export declare function createGetPrefix(ctx: Context): GetPrefix;
//# sourceMappingURL=prefix.d.ts.map