You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I spent embarrassingly long amount of time looking for an error in my configuration (missed an 's' in 'astTransformers').
I thought that it would be fairly easy and quite helpful for people like me, to add a validation of passed options, with simple warning if any unknown option would be encountered.
I'd like to ask if you would be willing to accept PR bringing this change?
I think this is a good idea. We might have to throw errors instead of warnings though. @huafu do you know if Jest still ignores what we log to the console?
Hello guys,
Recently I spent embarrassingly long amount of time looking for an error in my configuration (missed an 's' in 'astTransformers').
I thought that it would be fairly easy and quite helpful for people like me, to add a validation of passed options, with simple warning if any unknown option would be encountered.
I'd like to ask if you would be willing to accept PR bringing this change?
Issue :
ts-jest silently ignores unrecognized options
eg:
note missing 's' in 'astTransformers'
Expected behavior :
ts-lint warns when unrecognized option is entered in options
The text was updated successfully, but these errors were encountered: