From dd127fd3161c49a1604e5911c3d2e8dd5d2ac67c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 7 Jul 2022 17:54:27 +0800 Subject: resolve #619 `diagnostics.unusedLocalExclude` --- doc/pt-br/config.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/pt-br/config.md') 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 } ``` +# diagnostics.unusedLocalExclude + +Do not diagnose `unused-local` when the variable name matches the following pattern. + +## type + +```ts +Array +``` + +## 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. -- cgit v1.2.3