The PowerApps team has released a preview of the Solution Checker which allows you to inspect your solutions against a set of best practice rules related to customising and extending the CDS for Apps platform.
The benefits provided include detailed reports listing issues identified, the severity, location and in some cases the line of code to improve. The result set also includes detailed prescriptive guidance on how to resolve or improve the issues.
For now you need to install the solution into your environment from the PowerApps Solution list by choosing to Install. This will take you to AppSource where you can review and install the feature.
The prescriptive documentation is presented from within the online PowerApps Documentation Best Practices site which is being continuously updated with new content.