UNPKG

eslint-plugin-better-tailwindcss

Version:

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

11 lines 959 B
import type { Rule } from "eslint"; import type { SvelteAttribute, SvelteDirective, SvelteStartTag } from "svelte-eslint-parser/lib/ast/index.js"; import type { Literal } from "../types/ast.js"; import type { AttributeSelector } from "../types/rule.js"; export declare const SVELTE_CONTAINER_TYPES_TO_REPLACE_QUOTES: string[]; export declare const SVELTE_CONTAINER_TYPES_TO_INSERT_BRACES: string[]; export declare function getAttributesBySvelteTag(ctx: Rule.RuleContext, node: SvelteStartTag): SvelteAttribute[]; export declare function getDirectivesBySvelteTag(ctx: Rule.RuleContext, node: SvelteStartTag): SvelteDirective[]; export declare function getLiteralsBySvelteAttribute(ctx: Rule.RuleContext, attribute: SvelteAttribute, selectors: AttributeSelector[]): Literal[]; export declare function getLiteralsBySvelteDirective(ctx: Rule.RuleContext, directive: SvelteDirective, selectors: AttributeSelector[]): Literal[]; //# sourceMappingURL=svelte.d.ts.map