Skip to content

Commit

Permalink
docs: add dev mode remind and accept accept suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
HonLuk committed Jun 16, 2023
1 parent ca43c0d commit 1a37cf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/checkers/eslint.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Advanced object configuration table of `options.eslint`
| lintCommand | `string` | This value is required | `lintCommand` will be executed at build mode, and will also be used as default config for dev mode when `eslint.dev.eslint` is nullable. |
| dev.overrideConfig | [`ESLint.Options`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/eslint/index.d.ts) | `undefined` | **(Only in dev mode)** You can override the options of the translated from `lintCommand`. Config priority: `const eslint = new ESLint({cwd: root, ...translatedOptions, ...pluginConfig.eslint.dev?.overrideConfig, })`. |
| dev.logLevel | `('error' \| 'warning')[]` | `['error', 'warning']` | **(Only in dev mode)** Which level of ESLint should be emitted to terminal and overlay in dev mode |
dev.debounce | `number` | `undefined` | Avoid repeated formatting files when your editor set lint on save action and avoid multiple checks in a short time |
dev.debounce | `number` | `undefined` | **(Only in dev mode)** The milliseconds for debounce. Avoid repeated formatting files when your editor set lint on save action, and avoid multiple checks in a short time |
2 changes: 1 addition & 1 deletion docs/checkers/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Advanced object configuration table of `options.typescript`.
| root | `string` | [Vite config](https://vitejs.dev/config/#root) `root` | Root path to find tsconfig file |
| tsconfigPath | `string` | `"tsconfig.json"` | Relative tsconfig path to `root` |
| buildMode | `boolean` | `false` | Add [`--build`](https://www.typescriptlang.org/docs/handbook/project-references.html) to `tsc` flag, note that `noEmit` does NOT work if `buildMode` is `true` ([#36917](https://github.com/microsoft/TypeScript/issues/36917)) |
dev.debounce | `number` | `undefined` | Avoid multiple checks in a short time when your editor set lint on save action |
dev.debounce | `number` | `undefined` | **(Only in dev mode)** The milliseconds for debounce. Avoid multiple checks in a short time when your editor set lint on save action |

0 comments on commit 1a37cf4

Please sign in to comment.