Open chriswhite199 opened 3 years ago
Any updates?
Hello, @chriswhite199 this is a good idea. Will try to come back with a PR soon. thanks
Sorry for the long delay, actually we need to move the codebase to typescript in order to address this feature before.
Would it be possible to add banning for decorators? (or maybe i'm missing it, but using either decorator name or @name in a rule doesn't seem to currently catch instances where that decorator is used).
Example use case:
I want to ban the use of
@Expose
from the class-transformer library:I have tried both of the following rule configs (not that the second one should work as the function is not named with a @ prefix, that's just syntax sugar), but neither seem to work: