bcherny / tslint-no-circular-imports

TSLint plugin to detect and warn about circular imports
MIT License
86 stars 12 forks source link

Warning: The 'no-circular-imports' rule requires type checking #30

Closed ccorcos closed 5 years ago

ccorcos commented 5 years ago

Not sure what to do about this warning... the plugin doesnt appear to be working.

bcherny commented 5 years ago

Google is your friend :)

https://palantir.github.io/tslint/usage/type-checking/

ccorcos commented 5 years ago

This is the command you have to run. Might make sense to put this in the README.

./node_modules/.bin/tslint --project tsconfig.json --config tslint.json --type-check

I also have a really large project so I had to run with this command:

node --max-old-space-size=8192 ./node_modules/.bin/tslint --project tsconfig.json --config tslint.json --type-check
bcherny commented 5 years ago

PRs welcome!