StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
77 stars 31 forks source link

Document all rules #77

Closed jwikman closed 2 years ago

jwikman commented 2 years ago

(a spin off from #48)

I believe that all the rules deserves their own .md file that documents them.

Our goal with this is actually to don't have any use of your CodeCop, because all code is perfect already 😉

This documentation would help developers to understand why a warning appears and what to do to resolve them (and avoid them in the future).

As inspiration for headers in these files (not all for every rule, but one or more per rule):

Microsoft is using all of above in different rule descriptions on MS Docs.

rvanbekkum commented 2 years ago

It would be nice if the diagnostics can link to a wiki page that explains the diagnostic. 😊

image

rvanbekkum commented 2 years ago

I think you could also link to your wiki from the README as I think a lot of people will not be aware that you (are planning to) document the rules there.

StefanMaron commented 2 years ago

All done in prerelease.

jwikman commented 2 years ago

Great @StefanMaron, this is sooo good! 👍