Coding guidelines are available on the Asterisk wiki at:
https://docs.asterisk.org/Development/Policies-and-Procedures/Coding-Guidelines/