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

    ['duplicate-doc-class'] = 'Warning',
}