It would be good to have an allowUnusedEnums option or for allowUnusedTypes to also include enums (although I don't think enums are technically types).
The use case for us is we have enums shared across tests and prod files and we have the following scripts meaning that we can get false positives on enums being exported in the first script because they are in fact used in the tests (which is fine).
It would be good to have an
allowUnusedEnums
option or forallowUnusedTypes
to also include enums (although I don't think enums are technically types).The use case for us is we have enums shared across tests and prod files and we have the following scripts meaning that we can get false positives on enums being exported in the first script because they are in fact used in the tests (which is fine).