diff options
Diffstat (limited to 'doc/zh-cn')
-rw-r--r-- | doc/zh-cn/config.md | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/zh-cn/config.md b/doc/zh-cn/config.md index 869e2506..294fe046 100644 --- a/doc/zh-cn/config.md +++ b/doc/zh-cn/config.md @@ -329,6 +329,7 @@ Array<string> * ``"unused-label"`` * ``"unused-local"`` * ``"unused-vararg"`` +* ``"uppercase-local"`` ## default @@ -470,6 +471,7 @@ object<string, string> "strict": "Fallback", /* * global-element + * uppercase-local */ "strict-convention": "None", /* @@ -593,6 +595,7 @@ object<string, string> "strict": "Fallback", /* * global-element + * uppercase-local */ "strict-convention": "Fallback", /* @@ -926,7 +929,11 @@ object<string, string> /* 未使用的不定参数 */ - "unused-vararg": "Opened" + "unused-vararg": "Opened", + /* + Enable diagnostics to warn about local element names starting with an uppercase letter. + */ + "uppercase-local": "None" } ``` @@ -1177,7 +1184,11 @@ object<string, string> /* 未使用的不定参数 */ - "unused-vararg": "Hint" + "unused-vararg": "Hint", + /* + Enable diagnostics to warn about local element names starting with an uppercase letter. + */ + "uppercase-local": "Warning" } ``` |