diff options
Diffstat (limited to 'script/constant/DiagnosticDefaultSeverity.lua')
-rw-r--r-- | script/constant/DiagnosticDefaultSeverity.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/script/constant/DiagnosticDefaultSeverity.lua b/script/constant/DiagnosticDefaultSeverity.lua new file mode 100644 index 00000000..b7f07f63 --- /dev/null +++ b/script/constant/DiagnosticDefaultSeverity.lua @@ -0,0 +1,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', + ['duplicate-method'] = 'Warning', + ['empty-block'] = 'Hint', + ['redundant-value'] = 'Hint', + ['emmy-lua'] = 'Warning', + ['set-const'] = 'Error', +} |