Skip to content

Conversation

@ryanwelcher
Copy link
Contributor

@ryanwelcher ryanwelcher commented May 24, 2022

@mburridge as we discussed, this PR adds some code quality tools and related scripts to make formatting to best practices easier.

Overview of changes:

  • Explicitly adding some packages to package.json to force the use of the correct prettier fork the WordPress project uses
  • Adding composer.json file to install PHPCS and provide some linting commands
  • Adding phpcs.xml to allow the IDE to scan PHP code for issues
  • Adding eslint related files allow the IDE to scan JS code for isse
  • Adds the format:js command to scan and fix any issues in JS
  • Adds the setup command to install NPM and composer dependencies all at one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant