summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
authorThomas Wetzlmaier <thomas.wetzlmaier@scch.at>2023-05-11 16:32:53 +0200
committerGitHub <noreply@github.com>2023-05-11 16:32:53 +0200
commitd2a08abb38a413dddd19edb69971d2b0657bff6f (patch)
treebea4d5331e05565216e2adfbd341b280176abdde /script/proto/diagnostic.lua
parentd00d9082dfdd49088a6776282471ced6d5d2361e (diff)
downloadlua-language-server-d2a08abb38a413dddd19edb69971d2b0657bff6f.zip
Annotation rule for exported local functions
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r--script/proto/diagnostic.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua
index bd10b7f7..8175a2c5 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -103,6 +103,7 @@ m.register {
m.register {
'incomplete-signature-doc',
'missing-global-doc',
+ 'missing-local-export-doc',
} {
group = 'luadoc',
severity = 'Warning',