summaryrefslogtreecommitdiff
path: root/script/proto
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-23 19:31:48 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-23 19:31:48 +0800
commit63396ada5c7d2037ec19ed45e99e1a56f23c590b (patch)
tree9a1beb761861b8628cd86715aee4a5040f6f3b3b /script/proto
parent54876cb601466c409eb0be1af489c7ceca7f22cf (diff)
downloadlua-language-server-63396ada5c7d2037ec19ed45e99e1a56f23c590b.zip
close #328 new diagnostic: `no-implicit-any`
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/define.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/proto/define.lua b/script/proto/define.lua
index 7c8dea34..3df97520 100644
--- a/script/proto/define.lua
+++ b/script/proto/define.lua
@@ -75,6 +75,7 @@ m.DiagnosticDefaultSeverity = {
['unbalanced-assignments'] = 'Warning',
['close-non-object'] = 'Warning',
['count-down-loop'] = 'Warning',
+ ['no-implicit-any'] = 'Information',
['duplicate-doc-class'] = 'Warning',
['undefined-doc-class'] = 'Warning',
@@ -89,6 +90,7 @@ m.DiagnosticDefaultSeverity = {
---@alias DiagnosticDefaultNeededFileStatus
---| '"Any"'
---| '"Opened"'
+---| '"None"'
-- 文件状态
m.FileStatus = {
@@ -122,6 +124,7 @@ m.DiagnosticDefaultNeededFileStatus = {
['unbalanced-assignments'] = 'Any',
['close-non-object'] = 'Any',
['count-down-loop'] = 'Any',
+ ['no-implicit-any'] = 'None',
['duplicate-doc-class'] = 'Any',
['undefined-doc-class'] = 'Any',