#typescript #import #lint #projects #path #diagram #rules

bin+lib ts_deplint

A tool to lint dependencies within TypeScript projects

5 releases

0.0.5 Jan 3, 2024
0.0.4 Oct 22, 2023
0.0.3 Oct 22, 2023
0.0.2 Oct 22, 2023
0.0.1 Oct 22, 2023

#905 in Filesystem

Download history 25/week @ 2024-07-28 17/week @ 2024-09-22 13/week @ 2024-09-29

391 downloads per month

MIT license

26KB
640 lines

ts_deplint

A tool to lint dependencies within TypeScript projects.

Usage

ts_deplint <command> <path1> <path2>

Commands

lint     Lint the passed-in paths for disallowed imports.
diagram  Update README.md files in the passed-in paths with a Mermaid diagram of allowed imports.
fix      Fix import violations in the passed-in paths by adding allow rules.
format   Format the rules files in the passed-in paths.

Dependencies

~3.5MB
~69K SLoC