eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
15 lines • 699 B
TypeScript
export type Shorthands = [classes: string[], shorthand: string[]][][];
export interface GetShorthandClassesRequest {
classes: string[];
configPath: string;
}
export type GetShorthandClassesResponse = [classNames: string[], shorthands: string[]][];
export declare function getShorthandClasses({ classes, configPath, cwd }: {
classes: string[];
configPath: string | undefined;
cwd: string;
}): {
shorthandClasses: GetShorthandClassesResponse;
warnings: ((Omit<import("../utils/utils.js").Warning<Record<string, any>>, "url"> & Partial<Pick<import("../utils/utils.js").Warning<Record<string, any>>, "url">>) | undefined)[];
};
//# sourceMappingURL=shorthand-classes.d.ts.map