Open timothyjensen opened 6 years ago
I think it'd be nice to make this a bigger @TomodomoCo push to get some basic style linting in place. My preference is something editor-agnostic, e.g. a composer-integrated tool like so: https://github.com/DealerDirect/phpcodesniffer-composer-installer
It's actually fairly simple to set up Codesniffer; you just add a couple lines to the require-dev
section of composer.json
(related: #3). A good example is
This plugin was originally forked from the ACF Field Type Template, which was a great starting point, but it introduced a very unique (uncommon) coding style. I would like to see this plugin conform to the WordPress Coding Standards for two main reasons: