summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
AgeCommit message (Collapse)Author
2023-08-11stash最萌小汐
2023-07-20new diagnostic: `missing-fields`最萌小汐
2023-05-11Annotation rule for exported local functionsThomas Wetzlmaier
Annotation for the following local function func1 is required. local mod = { } local function func1() end mod.Func1 = func1 return mod;
2023-04-27更新实现CppCXY
2023-04-26complete namestyle providerCppCXY
2023-04-24update luarc最萌小汐
2023-04-24Cleanup PRAndreaWalchshoferSCCH
Revert Changes made from unrelated PR
2023-04-19Warn about missing '---comment', '@return' and '@param' annotations (#3)Thomas Wetzlmaier
All functions that have at least one such annotation should be fully annotated in that respect, because we find that partially annotating something leads to confusion. However, all global functions must always be fully annotated, because they should be avoided in the first place, but if necessary then only with the maximum amount of documentation/support for those who use them! We provide the following keys for the `diagnostics.disable` setting to specifically deactive these checks: _missing-global-doc_: global function definitions which are not fully annotated. _incomplete-signature-doc_: function definitions that have some annotations but are not fully annotated
2023-04-04Add diagnostic to enforce lowercase local element names (#6)AndreaWalchshoferSCCH
- diagnostic `uppercase-local` in group `conventions`, disabled by default - isolated unit tests for diagnostic
2023-03-30Incorporate Review Comments (#4)AndreaWalchshoferSCCH
* add newlines to end of files * change the group name to `conventions`
2023-03-30Revert "Add diagnostic to enforce lowercase local element names (#2)" (#5)AndreaWalchshoferSCCH
This reverts commit 43794193ef981ffecb477bfce444428ded852aa0.
2023-03-30Add diagnostic to enforce lowercase local element names (#2)AndreaWalchshoferSCCH
2023-03-22Add diagnostic warning about any global (#1)AndreaWalchshoferSCCH
* Add warning for any global variable via diagnostic * Add messages in en-US TODO: add messages in languages other than en-us as well * fallback: enable/disable diagnostics w/ annotation * Add tests for the new diagnostic * Add diagnostic and group to config.md
2022-11-14`duplicate-set-field` supports cross files最萌小汐
2022-10-25diagnostic for invisible fields最萌小汐
#1316
2022-08-13fix #1428最萌小汐
2022-07-22remove `cast-type-mismatch` from group `luadoc`最萌小汐
2022-07-12unreachable-code最萌小汐
2022-07-06completion and diags for operator最萌小汐
2022-07-05resolve #1254 can suppress syntax errors最萌小汐
2022-06-28new diag `return-type-mismatch`最萌小汐
2022-06-28typo最萌小汐
2022-06-28diag `missing-return`最萌小汐
2022-06-28new diag ``redundant-return-value``最萌小汐
2022-06-27diagnostic `missing-return-value`最萌小汐
2022-06-25make doc with description of groups最萌小汐
2022-06-24diagnostic group最萌小汐
2022-06-23update config最萌小汐
2022-06-23cleanup最萌小汐