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 715 B
import type { AST, TmplAstBoundAttribute, TmplAstElement, TmplAstTextAttribute } from "@angular/compiler"; import type { Rule } from "eslint"; import type { Literal } from "../types/ast.js"; import type { AttributeSelector } from "../types/rule.js"; export declare function getAttributesByAngularElement(ctx: Rule.RuleContext, node: TmplAstElement): (TmplAstBoundAttribute | TmplAstTextAttribute)[]; export declare function getLiteralsByAngularAttribute(ctx: Rule.RuleContext, attribute: TmplAstBoundAttribute | TmplAstTextAttribute, selectors: AttributeSelector[]): Literal[]; export type Parent = { parent: AST; }; export declare function isAST(ast: unknown): ast is AST; //# sourceMappingURL=angular.d.ts.map