UNPKG

eslint-plugin-filename-export

Version:

ESLint plugin that ensures non-index filenames match to at least one named export.

9 lines (8 loc) 206 B
export type NamedMessageIds = 'noMatchingExport'; export type DefaultMessageIds = 'defaultExportDoesNotMatch'; export type Options = [ { stripextra?: boolean; casing?: 'strict' | 'loose'; }, ];