eslint-doc-generator
Version:
Automatic documentation generator for ESLint plugins and rules.
9 lines (8 loc) • 424 B
TypeScript
export declare function toSentenceCase(str: string): string;
export declare function removeTrailingPeriod(str: string): string;
export declare function addTrailingPeriod(str: string): string;
/**
* Example: FOO => Foo, foo => Foo
*/
export declare function capitalizeOnlyFirstLetter(str: string): string;
export declare function sanitizeMarkdownTable(text: readonly (readonly string[])[]): readonly (readonly string[])[];