Skip to content

Commit

Permalink
docs: update cli eslint plugin configuration (#5579) [ci skip]
Browse files Browse the repository at this point in the history
* docs: update cli eslint plugin configuration

* docs: sync cli-plugin-eslint README from core-plugins

* docs: update eslint plugin README
  • Loading branch information
jeneser authored Jun 16, 2020
1 parent c63593e commit 6592e62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/core-plugins/eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@

## Configuration

ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.
ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`. See the [ESLint configuration docs](https://eslint.org/docs/user-guide/configuring) for more detail.

::: tip
The following option is under the section of [`vue.config.js`](https://cli.vuejs.org/config/#vue-config-js). It is respected only when `@vue/cli-plugin-eslint` is installed.
:::

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

Expand Down
6 changes: 5 additions & 1 deletion packages/@vue/cli-plugin-eslint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@

## Configuration

ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.
ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`. See the [ESLint configuration docs](https://eslint.org/docs/user-guide/configuring) for more detail.

::: tip
The following option is under the section of [`vue.config.js`](https://cli.vuejs.org/config/#vue-config-js). It is respected only when `@vue/cli-plugin-eslint` is installed.
:::

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

Expand Down

0 comments on commit 6592e62

Please sign in to comment.