-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prevent checking in library files or exclude directories #7
Comments
Hi @gwmccull , It's good point. As React Native applies Babel to {
"plugins": [
"babel-plugin-runtyper"
]
} In that case runtyper will be applied only to application files. Please let me know is it works for you. |
@vitalets yes, that worked. If anyone else needs to do this, you'll need to copy the The new |
Hmm.. it's interesting. Did not notice this, thanks. |
@gwmccull what version of RN are you using? {
"extends": "../.babelrc",
"plugins": [
"babel-plugin-runtyper"
]
} PS: when checking I re-run packager every time with |
I didn't see anything in the documentation about this but I'd like to see a feature where we can exclude functions from libraries or certain directories (aka, node_modules).
I realize that this would reduce the coverage but right now the tool is giving unusable results.
I'm using it on my React Native project. I added it Babel and I'm running my tests to see the analysis.
I end up with several thousand errors and warning with things like:
or
I don't want to turn off those rules altogether because I still want to see if they fail on my code.
Thanks for your help
The text was updated successfully, but these errors were encountered: