eslint-plugin-better-tailwindcss
Version:
auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.
16 lines • 671 B
TypeScript
import type { AttributeOption, CalleeOption, ESLintRule, TagOption, VariableOption } from "../types/rule.js";
export type Options = [
Partial<AttributeOption & CalleeOption & TagOption & VariableOption & {
classesPerLine?: number;
entryPoint?: string;
group?: "emptyLine" | "never" | "newLine";
indent?: "tab" | number;
lineBreakStyle?: "unix" | "windows";
preferSingleLine?: boolean;
printWidth?: number;
tailwindConfig?: string;
tsconfig?: string;
}>
];
export declare const enforceConsistentLineWrapping: ESLintRule<Options>;
//# sourceMappingURL=enforce-consistent-line-wrapping.d.ts.map