Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

How can I output eslint errors to Metro bundler's console?

$
0
0

I searched dozens and dozens of tutorials and threads but didn't find info about how can I do it.

I need something like eslint-webpack-plugin solution, like middleware or something. Something that will prevent to compile my code until I fix all eslint or typescript errors and warnings.

I know that metro.config.js has that enhancedMiddleware option, but I have no idea about what type of code should I put there to make it work. Google searches doesn't help.

Any information will be great, thank you.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>