DEV Community

alin
alin

Posted on

5 1

Answer: Eslint: How to disable “unexpected console statement” in Node.js and Vue.js?

For vue-cli 3 open package.json and under section eslintConfig put no-console under rules and restart dev server (npm run serve or yarn serve)

...
"eslintConfig": {
    ...
    "rules": {
      "no-console": "off"
    },
    ...

Top comments (2)

Collapse
 
wittyjudge profile image
Ruslan

Thank you. You helped me :)

Collapse
 
narthcodes profile image
dumtochukwu

life saver thank you

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay