Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Fix linting issues BBT-61 #7

Merged
merged 6 commits into from
Jun 28, 2023
Merged

Conversation

g-elwell
Copy link
Member

@g-elwell g-elwell commented Jun 27, 2023

Description

This patch addresses the linting issues detected by PHPCS and JS lint.

Fixes BBT-61

As part of this change, I have updated the PHPCS config to only run on .php files. This is required due to PHPCS and JS Lint rules conflicting with one another, and seems to be an approach followed by major plugins, e.g. Jetpack.

Tests

  • Run ./vendor/bin/phpcs . locally to ensure no issues
  • Run npx wp-scripts lint-js locally to ensure no issues
  • CI is passing 🙌
  • This has been sanity-checked to ensure that the plugin still operates as expected.

@g-elwell g-elwell marked this pull request as ready for review June 27, 2023 11:34
@g-elwell g-elwell changed the title Chore: Format code BBT-61 Chore: Fix linting issues BBT-61 Jun 27, 2023
@g-elwell g-elwell merged commit 7a9466a into main Jun 28, 2023
@g-elwell g-elwell mentioned this pull request Jul 26, 2024
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.

2 participants