summaryrefslogtreecommitdiff
path: root/server/src/constant/DiagnosticDefaultSeverity.lua
blob: 3cd67528287049f62e56082af56745e13f1759f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
return {
    ['unused-local']        = 'Hint',
    ['unused-function']     = 'Hint',
    ['undefined-global']    = 'Warning',
    ['unused-label']        = 'Hint',
    ['unused-vararg']       = 'Hint',
    ['trailing-space']      = 'Hint',
    ['redefined-local']     = 'Hint',
    ['newline-call']        = 'Information',
    ['redundant-parameter'] = 'Hint',
    ['ambiguity-1']         = 'Warning',
    ['lowercase-global']    = 'Information',
    ['undefined-env-child'] = 'Information',
    ['duplicate-index']     = 'Warning',
    ['duplicate-method']    = 'Warning',
    ['empty-block']         = 'Hint',
    ['redundant-value']     = 'Hint',
    ['emmy-lua']            = 'Warning',
    ['set-const']           = 'Error',
}