Guide110.3K views3,497 votes1 reply1 comment3,966 following
Enforcing Clean Code: Restricting console.log While Permitting warn/error in ESLint
Configure ESLint's no-console rule to permit console.warn and console.error while flagging console.log as an error for clean production code.