Enforces typescript file name based on ESM exports.
Support TSX files.
Zero config.
Installation
$ npm install exportcase
Usage
$ npx exportcase --help
A TypeScript validator that ensures file names match their exported name
Usage: exportcase [COMMAND]
Commands:
check Check TypeScript files in the specified directory
format Generate a bash script to rename files according to their exports
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version