If you need to enable console.log
usage without the eslint build yelling at you, this should help you out during development! I know I’m not the only one running into it…
In the rules
section towards the bottom of the .eslintrc
file, at the end of this line, add "no-console": "off"
. It should look like this:
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}],
"no-console": "off"
}
Cheers!