Skip to content

Commit 1176ded

Browse files
jkzingyyx990803
authored andcommitted
docs: update docs for assetsDir, --max-errors and --max-warnings (#1356)
1 parent 322b7f2 commit 1176ded

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/config.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ module.exports = {
1616
// where to output built files
1717
outputDir: 'dist',
1818

19+
// where to put static assets (js/css/img/font/...)
20+
assetsDir: '',
21+
1922
// whether to use eslint-loader for lint on save.
2023
// valid values: true | false | 'error'
2124
// when set to 'error', lint errors will cause compilation to fail.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
1414
--format [formatter] specify formatter (default: codeframe)
1515
--no-fix do not fix errors
16+
--max-errors specify number of errors to make build failed (default: 0)
17+
--max-warnings specify number of warnings to make build failed (default: Infinity)
1618
```
1719

1820
Lints and fixes files. If no specific files are given, it lints all files in `src` and `test`.

0 commit comments

Comments
 (0)