This file is in the /doc directory in your Asterisk source tree. Make sure to stay up to date with the latest guidelines.
Coding guidelines are available on the Asterisk wiki at: https://wiki.asterisk.org/wiki/display/AST/Coding+Guidelines