UNPKG

eslint-plugin-better-tailwindcss

Version:

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

9 lines 624 B
import type { Rule } from "eslint"; import type { JSXAttribute, JSXOpeningElement } from "estree-jsx"; import type { Literal } from "../types/ast.js"; import type { Attributes } from "../types/rule.js"; export declare const JSX_CONTAINER_TYPES_TO_REPLACE_QUOTES: string[]; export declare const JSX_CONTAINER_TYPES_TO_INSERT_BRACES: string[]; export declare function getLiteralsByJSXAttribute(ctx: Rule.RuleContext, attribute: JSXAttribute, attributes: Attributes): Literal[]; export declare function getAttributesByJSXElement(ctx: Rule.RuleContext, node: JSXOpeningElement): JSXAttribute[]; //# sourceMappingURL=jsx.d.ts.map