Setup phplint and eslint and run it from CircleCI
Look for WordPress-specific lint configs. If none, use MediaWiki's.
Setup phplint and eslint and run it from CircleCI
Look for WordPress-specific lint configs. If none, use MediaWiki's.
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | SBisson | T278383 Wikipedia Preview WordPress Plugin | |||
Resolved | hueitan | T279551 Plugin linting and CI |
Let's try
ES Linter:
https://www.npmjs.com/package/@wordpress/eslint-plugin
PHP Linter:
https://github.com/WordPress/WordPress-Coding-Standards
(also this?) https://github.com/PHPCompatibility/PHPCompatibilityWP