typescript-dependency-lint
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

typescript-dependency-lint on npm

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

  1. Add lint command

Package Sidebar

Install

npm i typescript-dependency-lint

Weekly Downloads

273

Version

1.2.1

License

MIT

Unpacked Size

62.1 kB

Total Files

42

Last publish

Collaborators

  • jblew