I have been searching the web to see if I could find a tool which can be used to analyze Salesforce code - including Apex, Visualforce, Javascript, and more importantly, Lightning. I have found a few tools out there, but none support Lightning.
I am looking for a tool which can produce a report on classes and components with information on (for example) best coding practices / irrelevant code. For example making sure that an if or while condition does not have a blank statement inside. Or making sure that there are no SOQL queries inside any for loops.