SinTh0r4s / ExampleMod1.7.10

An example mod for Minecraft 1.7.10 with Forge focussed on a stable setup.
MIT License
25 stars 90 forks source link

[CI] Code linting #20

Open TheElan opened 2 years ago

TheElan commented 2 years ago

Add plugin(s) which perform static analysis and include them in CI step along with action which will pinpoint lines in question. (E.g. stream not closed, infinite loop, etc)

bombcar commented 2 years ago

Can a json validator be added to the quest json before merge? Is that a thing?

TheElan commented 2 years ago

Can a json validator be added to the quest json before merge? Is that a thing?

yes, there are tools for that, e.g. in python or as gradle plugins, which can be relatively easy included in CI.