[Vuejs]-Can I change ESLint's behavior so it runs on save if it's been installed with the "on commit" option

0👍

Not sure if you have tried this but found it in the docs

ESLint can be configured via .eslintrc or the eslintConfig field in package.json.

Lint-on-save during development with eslint-loader is enabled by default. It can be disabled with the lintOnSave option in vue.config.js:

//vue.config.js
module.exports = {
  lintOnSave: true
}

So instead of disabling it you just set it to true.

make sure you do this in a vue.config.js file in the root of your directory if you try it.

Leave a comment