inversify / InversifyJS

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
http://inversify.io/
MIT License
11.34k stars 719 forks source link

inversify tslint rules #790

Open akosyakov opened 6 years ago

akosyakov commented 6 years ago

Are there tslint rules specific to inversify to catch common runtime errors at development time? Like if a class consturctor is used as an indentifier in the bind function then it should be annotated with @injectable() as well as its superclasses.

remojansen commented 6 years ago

@akosyakov we don't have custom ts-rules but I'm sure that it could be something that people could find useful. Are you planning to implement them?