summaryrefslogtreecommitdiff
path: root/doc
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
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')
-rw-r--r--doc/en-us/config.md15
-rw-r--r--doc/pt-br/config.md15
-rw-r--r--doc/zh-cn/config.md15
-rw-r--r--doc/zh-tw/config.md15
4 files changed, 8 insertions, 52 deletions
diff --git a/doc/en-us/config.md b/doc/en-us/config.md
index 96a023b9..0e5d09ee 100644
--- a/doc/en-us/config.md
+++ b/doc/en-us/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>
/*
Enable unused vararg diagnostics.
*/
- "unused-vararg": "Opened",
- /*
- Enable diagnostics to warn about local element names starting with an uppercase letter.
- */
- "uppercase-local": "None"
+ "unused-vararg": "Opened"
}
```
@@ -1185,11 +1178,7 @@ object<string, string>
/*
Enable unused vararg diagnostics.
*/
- "unused-vararg": "Hint",
- /*
- Enable diagnostics to warn about local element names starting with an uppercase letter.
- */
- "uppercase-local": "Warning"
+ "unused-vararg": "Hint"
}
```
diff --git a/doc/pt-br/config.md b/doc/pt-br/config.md
index 952980d8..762f2259 100644
--- a/doc/pt-br/config.md
+++ b/doc/pt-br/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"
}
```
@@ -1185,11 +1178,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"
}
```
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"
}
```
diff --git a/doc/zh-tw/config.md b/doc/zh-tw/config.md
index e12bfde7..c922ad6b 100644
--- a/doc/zh-tw/config.md
+++ b/doc/zh-tw/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"
}
```