How to disable ESLint in vue-cli? How to disable ESLint in vue-cli? vue.js vue.js

How to disable ESLint in vue-cli?


There are some out-of-date answers here.

Because vue-cli 3 is using a zero configuration approach, the way to disable it is to just uninstall the module:

npm remove @vue/cli-plugin-eslint


As of 2019, March :

In the vue.config.js :

module.exports = {  ...  lintOnSave: false  ...}


in package.json change the build step:

..."scripts": {    "build": "vue-cli-service build --skip-plugins @vue/cli-plugin-eslint",    ...},