From a8c0929405a02e54749d3d59ce4dad7bc3e0a863 Mon Sep 17 00:00:00 2001 From: Bruno Carvalho Date: Tue, 23 Apr 2024 13:28:07 -0300 Subject: Add globalsRegex to diagnostics Improve checkIsUndefinedGlobal to avoid unecessary checks and tables --- doc/zh-cn/config.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/zh-cn') diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index ebb8325f..e7292b92 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -406,6 +406,22 @@ Array [] ``` +# diagnostics.globalsRegex + +Find defined global variables using regex. + +## type + +```ts +Array +``` + +## default + +```jsonc +[] +``` + # diagnostics.groupFileStatus 批量修改一个组中的文件状态。 -- cgit v1.2.3