eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
19 lines • 761 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 ConflictingClasses = {
[className: string]: {
[conflictingClassName: string]: {
cssPropertyName: string;
important: boolean;
cssPropertyValue?: string;
}[];
};
};
export type GetConflictingClasses = (ctx: AsyncContext, classes: string[]) => {
conflictingClasses: ConflictingClasses;
warnings: (Warning | undefined)[];
};
export declare let getConflictingClasses: GetConflictingClasses;
export declare function createGetConflictingClasses(ctx: Context): GetConflictingClasses;
//# sourceMappingURL=conflicting-classes.d.ts.map