eslint-plugin-json-schema-validator
Version:
ESLint plugin that validates data using JSON Schema Validator.
12 lines (11 loc) • 723 B
TypeScript
import type { ESLintProperty, ESLintLiteral, ESLintTemplateLiteral, ESLintMemberExpression, ESLintIdentifier, ESLintNode, ESLintExpression } from "vue-eslint-parser/ast";
import type { RuleContext } from "../../../types";
export declare function getStaticPropertyName(node: ESLintProperty | ESLintMemberExpression, context: RuleContext): string | null;
export declare function getStringLiteralValue(node: ESLintLiteral | ESLintTemplateLiteral): string | null;
export declare function getStaticValue(context: RuleContext, node: ESLintNode): {
value: any;
} | null;
export declare function findInitNode(context: RuleContext, node: ESLintIdentifier): {
node: ESLintExpression;
reads: ESLintIdentifier[];
} | null;