Absolute Magento2 Coding Standards

PHP

Always include Absolute copywrite in file header above namespace.

/**
 * @copyright 2018 Absolute Commerce Ltd. (https://abscom.co/terms)
 */

Don't use underscored variable or function naming.

class Example
{
    private    $privateProperty;
    protected  $protectedProperty;
    public     $publicProperty;

    private function privateFunction()
    {
    }

    protected function protectedFunction()
    {
    }

    public function publicFunction()
    {
    }
}

Javascript

Always use RequireJS to load assets.

HTML/PHTML

When overriding a template always add a comment at the top of the file explaining why.