I recommend using https://github.com/magento/magento-coding-standard as phpcs standard. Only `Magento2.Functions.DiscouragedFunction` can be ignored because it is a standalone tool.