UNPKG

eslint-plugin-readable-tailwind

Version:

auto-wraps tailwind classes after a certain print width or class count into multiple lines to improve readability.

17 lines 586 B
import type { Rule } from "eslint"; import type { AttributeOption, CalleeOption, ESLintRule, TagOption, VariableOption } from "../types/rule.js"; export type Options = [ Partial<AttributeOption & CalleeOption & TagOption & VariableOption & { restrict?: string[]; }> ]; export declare const noRestrictedClasses: ESLintRule<Options>; export declare function getOptions(ctx: Rule.RuleContext): { restrict: string[]; attributes: any; callees: any; tags: any; tailwindConfig: any; variables: any; }; //# sourceMappingURL=no-restricted-classes.d.ts.map