eslint-plugin-vue-scoped-css
Version:
ESLint plugin for Scoped CSS in Vue.js
11 lines (10 loc) • 981 B
TypeScript
import type { AST, RuleContext, VDirectiveKey, VDirectiveKeyV6 } from "../types";
export declare function getElements(context: RuleContext, predicate: (element: AST.VElement) => boolean): AST.VElement[];
export declare function isVElement(node: AST.VElement | AST.VText | AST.VExpressionContainer): node is AST.VElement;
export declare function isTransitionElement(element: AST.VElement | AST.VDocumentFragment): boolean;
export declare function isTransitionGroupElement(element: AST.VElement | AST.VDocumentFragment): boolean;
export declare function findAttribute(node: AST.VElement | AST.VStartTag, name: string): AST.VAttribute | AST.VDirective | null;
export declare function isVDirective(node: AST.VAttribute | AST.VDirective): node is AST.VDirective;
export declare function isVBind(key: VDirectiveKey): boolean;
export declare function getArgument(key: VDirectiveKey): string | null;
export declare function isVDirectiveKeyV6(node: VDirectiveKey): node is VDirectiveKeyV6;