We use EditorConfig to force some rules, please follow them in your editor. You can find plugin for IDE of your choice here: https://editorconfig.org/#download
Except that, please follow some other rules:
look how our PHP code is formatted, and do the same
Is the contribution you want to do a template or page?
Then think about creating a separate plugin for MyAAC. You can then submit the code directly to myaac-plugins repository. If it pass some requirements tests, it will be merged into the repository.