How to disable ESLint in vue-cli?
in package.json
change the build step:
...
"scripts": {
"build": "vue-cli-service build --skip-plugins @vue/cli-plugin-eslint",
...
},
As of 2019, March
:
In the vue.config.js
:
module.exports = {
...
lintOnSave: false
...
}
As of the current version (^3.0?) you can just set:
useEslint: false,
in config/index.js
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