summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-23 14:58:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-23 14:58:17 +0800
commit22d7f6c23be209c7b5de149f18efa850f84915f1 (patch)
treeeb5d6feeba3f37bb9c704c2c8f418cff40c8da3f /script/proto
parentfdab3eaed0f5e3e85252d5126e1f1927b633c80d (diff)
downloadlua-language-server-22d7f6c23be209c7b5de149f18efa850f84915f1.zip
resolve #624 `different-requires`
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index a07a3903..9fbbea35 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -74,6 +74,7 @@ m.DiagnosticDefaultSeverity = {
['count-down-loop'] = 'Warning',
['no-implicit-any'] = 'Information',
['deprecated'] = 'Warning',
+ ['different-requires'] = 'Warning',
['duplicate-doc-class'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -125,6 +126,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['count-down-loop'] = 'Any',
['no-implicit-any'] = 'None',
['deprecated'] = 'Opened',
+ ['different-requires'] = 'Any',
['duplicate-doc-class'] = 'Any',
['undefined-doc-class'] = 'Any',