diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en-us/config.md | 16 | ||||
-rw-r--r-- | doc/pt-br/config.md | 16 | ||||
-rw-r--r-- | doc/zh-cn/config.md | 16 | ||||
-rw-r--r-- | doc/zh-tw/config.md | 16 |
4 files changed, 64 insertions, 0 deletions
diff --git a/doc/en-us/config.md b/doc/en-us/config.md index 038cf920..3f483650 100644 --- a/doc/en-us/config.md +++ b/doc/en-us/config.md @@ -891,6 +891,22 @@ object<string, string> } ``` +# diagnostics.unusedLocalExclude + +Do not diagnose `unused-local` when the variable name matches the following pattern. + +## type + +```ts +Array<string> +``` + +## default + +```jsonc +[] +``` + # diagnostics.workspaceDelay Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics. diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md index 479a6add..f888efea 100644 --- a/doc/pt-br/config.md +++ b/doc/pt-br/config.md @@ -891,6 +891,22 @@ object<string, string> } ``` +# diagnostics.unusedLocalExclude + +Do not diagnose `unused-local` when the variable name matches the following pattern. + +## type + +```ts +Array<string> +``` + +## default + +```jsonc +[] +``` + # diagnostics.workspaceDelay Latency (milliseconds) for workspace diagnostics. When you start the workspace, or edit any file, the entire workspace will be re-diagnosed in the background. Set to negative to disable workspace diagnostics. diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index a315b168..3e2b1246 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -890,6 +890,22 @@ object<string, string> } ``` +# diagnostics.unusedLocalExclude + +如果变量名匹配以下规则,则不对其进行 `unused-local` 诊断。 + +## type + +```ts +Array<string> +``` + +## default + +```jsonc +[] +``` + # diagnostics.workspaceDelay 进行工作区诊断的延迟(毫秒)。当你启动工作区,或编辑了任意文件后,将会在后台对整个工作区进行重新诊断。设置为负数可以禁用工作区诊断。 diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md index 3fff6c6d..dcd44d63 100644 --- a/doc/zh-tw/config.md +++ b/doc/zh-tw/config.md @@ -890,6 +890,22 @@ object<string, string> } ``` +# diagnostics.unusedLocalExclude + +Do not diagnose `unused-local` when the variable name matches the following pattern. + +## type + +```ts +Array<string> +``` + +## default + +```jsonc +[] +``` + # diagnostics.workspaceDelay 進行工作區診斷的延遲(毫秒)。當你啟動工作區,或編輯了任何檔案後,將會在背景對整個工作區進行重新診斷。設定為負數可以停用工作區診斷。 |