typescript-dependency-lint
v1.2.1
Published
Internal dependency graph linter for typescript
Downloads
2,229
Maintainers
Readme
typescript-dependency-lint
Dependency linter for typescript. So far it supports graph analysis
Cli
$ typescript-dependency-lint
Usage: typescript-dependency-lint [options] [command]
Options:
--version output the version number
--config [json] Config in escaped JSON format. See README for reference
-h, --help display help for command
Commands:
analyze [globPattern]
help [command] display help for command
interface Config {
ignore: string[] // glob pattern array
tsconfigPath: string
}
Example
$ ts-node src/index.ts \
--config "{\"tsconfigPath\": \"./tsconfig.json\",\"ignore\": [\"**/*.spec.ts\"]}" \
analyze \
"src/**/*.@(ts|vue)"
TODO
- Add lint command