UNPKG

eslint-plugin-better-tailwindcss

Version:

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

6 lines 525 B
import type { Rule } from "eslint"; import type { Literal } from "../types/ast.js"; import type { AttributeOption, CalleeOption, TagOption, VariableOption } from "../types/rule.js"; export type Options = AttributeOption & CalleeOption & TagOption & VariableOption; export declare function createRuleListener(ctx: Rule.RuleContext, initialize: () => void, getOptions: (ctx: Rule.RuleContext) => Options, lintLiterals: (ctx: Rule.RuleContext, literals: Literal[]) => void): Rule.RuleListener; //# sourceMappingURL=rule.d.ts.map