-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
npm script, using: "format": "tsfmt -r --baseDir ./configs",
I get this usage error
tscli: dev$ npm run format
> tscli@0.1.2-alpha.3 format /home/yadav/dev/projects/tscli
> tsfmt -r --baseDir ./configs
Usage: tsfmt [options] [--] [files...]
Options:
-r, --replace replace .ts file
--verify checking file format
--baseDir <path> config file lookup from <path>
--stdin get formatting content from stdin
--no-tsconfig don't read a tsconfig.json
--no-tslint don't read a tslint.json
--no-editorconfig don't read a .editorconfig
--no-vscode don't read a .vscode/settings.json
--no-tsfmt don't read a tsfmt.json
--useTsconfig <path> using specified config file insteaf of tsconfig.json
--useTslint <path> using specified config file insteaf of tslint.json
--useTsfmt <path> using specified config file insteaf of tsfmt.json
--verbose makes output more verboseMetadata
Metadata
Assignees
Labels
No labels