UNPKG

eslint-plugin-complete

Version:

An ESLint plugin that contains useful rules.

22 lines 677 B
import type { TSESLint, TSESTree } from "@typescript-eslint/utils"; /** * Returns false for trailing comments like: * * ```ts * const abc = 123; // Foo * ``` */ export declare function isCommentOnOwnLine(sourceCode: TSESLint.SourceCode, comment: TSESTree.Comment): boolean; export declare function isEnumBlockLabel(text: string): boolean; /** * A "separator" line is a line with all hyphens like the following: * * ```ts * // ---------------- * // Getter functions * // ---------------- * ``` */ export declare function isSeparatorLine(text: string): boolean; export declare function isSpecialComment(text: string): boolean; //# sourceMappingURL=comments.d.ts.map