Community
Participate
Working Groups
http://eslint.org/docs/rules/no-console.html Rather than mark every occurrence of 'console' like the original ESLint rule seems to do, we should be a bit smarter and only flag its use when you are working in a browser-based env. For example: console.log('hi'); -> not flagged since we don't know where the code will be used or how /* eslint-env node */ console.log('hi'); -> not flagged since console use in node is very common and expected /* eslint-env browser */ console.log('hi'); -> flagged since leaving console calls in browser code is considered bad.
fix + tests: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=aca7fa4e1f3a3838b5fbd304f501a7907c7c38e0