eslint-doc-generator
Version:
Automatic documentation generator for ESLint plugins and rules.
10 lines (9 loc) • 487 B
TypeScript
import type { Context } from './context.js';
export declare function toSentenceCase(str: string): string;
export declare function addTrailingPeriod(str: string): string;
export declare function removeTrailingPeriod(str: string): string;
/**
* Example: FOO => Foo, foo => Foo
*/
export declare function capitalizeOnlyFirstLetter(str: string): string;
export declare function sanitizeMarkdownTable(context: Context, text: readonly (readonly string[])[]): readonly (readonly string[])[];