Skip to content

Commit 6592e62

Browse files
authored
docs: update cli eslint plugin configuration (#5579) [ci skip]
* docs: update cli eslint plugin configuration * docs: sync cli-plugin-eslint README from core-plugins * docs: update eslint plugin README
1 parent c63593e commit 6592e62

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

docs/core-plugins/eslint.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323

2424
## Configuration
2525

26-
ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.
26+
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.
27+
28+
::: tip
29+
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.
30+
:::
2731

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

packages/@vue/cli-plugin-eslint/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323

2424
## Configuration
2525

26-
ESLint can be configured via `.eslintrc` or the `eslintConfig` field in `package.json`.
26+
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.
27+
28+
::: tip
29+
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.
30+
:::
2731

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

0 commit comments

Comments
 (0)