Description
Feature description
I noticed that the amphtml repo uses LGTM for code analysis, which seems to provide some useful results that might not be caught by other linters.
I've just set it up for the Web Stories repo and fixed quite a few bugs found by it:
GoogleForCreators/web-stories-wp#8900
For the AMP plugin there are not too many alerts, which is good: https://lgtm.com/projects/g/ampproject/amp-wp/?mode=list
Setting up LGTM for this repo would be as easy as installing the GitHub app via https://lgtm.com/projects/g/ampproject/amp-wp/ci/ so LGTM will be added as a status check for PRs and can leave comments and such.
Then, it's about fixing alerts or ignoring some if needed.
There are also status badges for the readme if desired.
Do not alter or remove anything below. The following sections will be managed by moderators only.