# @vue/cli-plugin-eslint > eslint plugin for vue-cli ## Injected Commands - **`vue-cli-service lint`** ``` Usage: vue-cli-service lint [options] [...files] Options: --format [formatter] specify formatter (default: codeframe) --no-fix do not fix errors ``` Lints and fixes files. If no specific files are given, it lints all files in `src` and `test`. Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are also supported. ## Configuration 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`: ``` js module.exports = { lintOnSave: false } ``` ## Installing in an Already Created Project ``` sh npm install -D @vue/cli-plugin-eslint vue invoke eslint ``` ## Injected webpack-chain Rules - `config.rule('eslint')` - `config.rule('eslint').use('eslint-loader')`