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

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

#868 in Filesystem

30 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