diff options
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r-- | test/diagnostics/init.lua | 82 |
1 files changed, 47 insertions, 35 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index d1acd31e..cd6a5c03 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -69,47 +69,59 @@ local function check(name) require('diagnostics.' .. name) end -check 'unused-local' -check 'unused-function' -check 'undefined-global' -check 'unused-label' -check 'trailing-space' -check 'redefined-local' -check 'global-in-nil-env' -check 'undefined-env-child' -check 'newline-call' -check 'newfield-call' -check 'redundant-parameter' -check 'cast-local-type' +check 'ambiguity-1' check 'assign-type-mismatch' +check 'await-in-sync' +check 'cast-local-type' check 'cast-type-mismatch' -check 'need-check-nil' -check 'return-type-mismatch' -check 'missing-return' -check 'missing-return-value' -check 'redundant-return-value' -check 'incomplete-signature-doc' -check 'missing-global-doc' -check 'missing-local-export-doc' -check 'global-element' -check 'missing-parameter' +check 'circle-doc-class' check 'close-non-object' -check 'duplicate-doc-field' -check 'lowercase-global' +check 'code-after-break' +check 'count-down-loop' check 'deprecated' +check 'discard-returns' +check 'doc-field-no-class' +check 'duplicate-doc-alias' +check 'duplicate-doc-field' +check 'duplicate-doc-param' check 'duplicate-index' +check 'duplicate-set-field' check 'empty-block' +check 'global-element' +check 'global-in-nil-env' +check 'incomplete-signature-doc' +check 'invisible' +check 'lowercase-global' +check 'missing-fields' +check 'missing-global-doc' +check 'missing-local-export-doc' +check 'missing-parameter' +check 'missing-return-value' +check 'missing-return' +check 'need-check-nil' +check 'newfield-call' +check 'newline-call' +check 'not-yieldable' +check 'param-type-mismatch' +check 'redefined-local' +check 'redundant-parameter' +check 'redundant-return-value' +check 'redundant-return' check 'redundant-value' -check 'code-after-break' -check 'duplicate-doc-alias' -check 'circle-doc-class' +check 'return-type-mismatch' +check 'trailing-space' +check 'unbalanced-assignments' +check 'undefined-doc-class' +check 'undefined-doc-name' check 'undefined-doc-param' -check 'duplicate-doc-param' -check 'doc-field-no-class' +check 'undefined-env-child' check 'undefined-field' -check 'count-down-loop' -check 'duplicate-set-field' -check 'redundant-return' -check 'discard-returns' - -require 'diagnostics.common' +check 'undefined-global' +check 'unknown-cast-variable' +check 'unknown-diag-code' +check 'unknown-operator' +check 'unreachable-code' +check 'unused-function' +check 'unused-label' +check 'unused-local' +check 'unused-vararg' |