Skip to content

Commit 5f4656e

Browse files
committed
chore: merge branch 'master' into dev
2 parents 3d80810 + e026771 commit 5f4656e

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

docs/core-plugins/eslint.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
--output-file specify file to write report to
1919
```
2020

21-
Lints and fixes files. If no specific files are given, it lints all files in `src` and `tests`.
21+
Lints and fixes files. If no specific files are given, it lints all files in `src` and `tests`, as well as all JavaScript files in the root directory (these are most often config files such as `babel.config.js` or `.eslintrc.js`).
2222

23-
Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are not supported.
23+
Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are not supported.
24+
25+
::: tip
26+
`vue-cli-service lint` will lint dotfiles `.*.js` by default. If you want to follow ESLint's default behavior instead, consider adding a `.eslintignore` file in your project.
27+
:::
2428

2529
## Configuration
2630

docs/guide/css.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Working with CSS
22

3-
Vue CLI projects comes with support for [PostCSS](http://postcss.org/), [CSS Modules](https://github.com/css-modules/css-modules) and pre-processors including [Sass](https://sass-lang.com/), [Less](http://lesscss.org/) and [Stylus](http://stylus-lang.com/).
3+
Vue CLI projects come with support for [PostCSS](http://postcss.org/), [CSS Modules](https://github.com/css-modules/css-modules) and pre-processors including [Sass](https://sass-lang.com/), [Less](http://lesscss.org/) and [Stylus](http://stylus-lang.com/).
44

55
## Referencing Assets
66

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@
1818
--output-file specify file to write report to
1919
```
2020

21-
Lints and fixes files. If no specific files are given, it lints all files in `src` and `tests`.
21+
Lints and fixes files. If no specific files are given, it lints all files in `src` and `tests`, as well as all JavaScript files in the root directory (these are most often config files such as `babel.config.js` or `.eslintrc.js`).
2222

23-
Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are not supported.
23+
Other [ESLint CLI options](https://eslint.org/docs/user-guide/command-line-interface#options) are not supported.
24+
25+
::: tip
26+
`vue-cli-service lint` will lint dotfiles `.*.js` by default. If you want to follow ESLint's default behavior instead, consider adding a `.eslintignore` file in your project.
27+
:::
2428

2529
## Configuration
2630

0 commit comments

Comments
 (0)