summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
authorAndreaWalchshoferSCCH <122894794+AndreaWalchshoferSCCH@users.noreply.github.com>2023-03-30 14:49:30 +0200
committerGitHub <noreply@github.com>2023-03-30 14:49:30 +0200
commit43794193ef981ffecb477bfce444428ded852aa0 (patch)
tree956e4c3feb41a309e1345c48aaff987501a483c2 /script/proto/diagnostic.lua
parent429c48fcb453aeb2de0df55492895d51ad9596f0 (diff)
downloadlua-language-server-43794193ef981ffecb477bfce444428ded852aa0.zip
Add diagnostic to enforce lowercase local element names (#2)
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 bea7c160..a6232b8a 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -173,6 +173,7 @@ m.register {
m.register {
'global-element',
+ 'uppercase-local',
} {
group = 'strict-conventions',
severity = 'Warning',