UNPKG

arui-presets-lint

Version:
8 lines (7 loc) 633 B
import { type TSESTree } from '@typescript-eslint/utils'; import { type DirectiveData } from '../types/index.js'; export declare function parseDirectiveComment(comment: TSESTree.Comment): DirectiveData | undefined; export declare function getPreviousComment(allComments: TSESTree.Comment[], currentComment: TSESTree.Comment): TSESTree.Comment | undefined; export declare function isAdjacentComment(previousComment: TSESTree.Comment, currentComment: TSESTree.Comment): boolean; export declare function isValidDescription(description: string): boolean; export declare function validateAboveComment(comment: TSESTree.Comment): boolean;