UNPKG

eslint-rule-benchmark

Version:

Benchmark ESLint rules with detailed performance metrics for CI and plugin development

8 lines (7 loc) 240 B
/** * Get the file extension from a filename. * * @param filename - The name of the file. * @returns The file extension or an empty string if no extension is found. */ export declare function getFileExtension(filename: string): string