summaryrefslogtreecommitdiff
path: root/doc/zh-cn
diff options
context:
space:
mode:
authorAndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com>2023-03-30 15:52:53 +0200
committerGitHub <noreply@github.com>2023-03-30 15:52:53 +0200
commit4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b (patch)
tree47b4b4583aefd4693cde2395ab063c0e96a8f27c /doc/zh-cn
parent43794193ef981ffecb477bfce444428ded852aa0 (diff)
downloadlua-language-server-4eb508f5390b3de5aeb59e9e6cb5c0742c9ee97b.zip
Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
Diffstat (limited to 'doc/zh-cn')
-rw-r--r--doc/zh-cn/config.md15
1 files changed, 2 insertions, 13 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md
index 294fe046..869e2506 100644
--- a/doc/zh-cn/config.md
+++ b/doc/zh-cn/config.md
@@ -329,7 +329,6 @@ Array<string>
* ``"unused-label"``
* ``"unused-local"``
* ``"unused-vararg"``
-* ``"uppercase-local"``
## default
@@ -471,7 +470,6 @@ object<string, string>
"strict": "Fallback",
/*
* global-element
- * uppercase-local
*/
"strict-convention": "None",
/*
@@ -595,7 +593,6 @@ object<string, string>
"strict": "Fallback",
/*
* global-element
- * uppercase-local
*/
"strict-convention": "Fallback",
/*
@@ -929,11 +926,7 @@ object<string, string>
/*
未使用的不定参数
*/
- "unused-vararg": "Opened",
- /*
- Enable diagnostics to warn about local element names starting with an uppercase letter.
- */
- "uppercase-local": "None"
+ "unused-vararg": "Opened"
}
```
@@ -1184,11 +1177,7 @@ object<string, string>
/*
未使用的不定参数
*/
- "unused-vararg": "Hint",
- /*
- Enable diagnostics to warn about local element names starting with an uppercase letter.
- */
- "uppercase-local": "Warning"
+ "unused-vararg": "Hint"
}
```