I am writing a Node.js application using the tslint:recommended
rule set and it warns me about the usage of console.log
in my code:
src/index.ts[1, 1]: Calls to 'console.log' are not allowed.
What else should I be using? Should I use some sort of system.out
equivalent?
Here's my tslint.json
:
{
"extends": "tslint:recommended"
}
false
should be0
(at least this is the case for my version ofeslint
). – Linkous