DEV Community

Discussion on: Console.log Development vs Production

Collapse
 
lukeocodes profile image
@lukeocodes 🕹👨‍💻

Ideally, you would use eslint to highlight them all. Then, before accepting the changes, go and remove them.

Thread Thread
 
zainbinfurqan profile image
Zain Ahmed

sorry didn't get your point

Thread Thread
 
lukeocodes profile image
@lukeocodes 🕹👨‍💻

Don't let console.log make it to production. Edit them out. eslint can read the code and warn you