Repository navigation
Replace phpcs.yml with the shared lint workflow - #100
Merged
Merged
Conversation
Lints only changed files with the repo's own ruleset (PHPCS and ESLint), via themegrill/workflows lint.yml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Build for ⬇️ Download accelerate.zip (1.7M) Installs directly via Plugins → Add New → Upload Plugin. A later push only rebuilds this if its commit message includes |
There was a problem hiding this comment.
🟡 Changes recommended
The workflow’s path filter omits .mjs and .cjs files, so changes limited to those extensions would not receive the promised ESLint check.
1 open issue
What changed in this PR
Replaces the repository-specific PHPCS workflow with the shared ThemeGrill lint workflow, preserving repository-owned lint configuration and linting changed files.
Changes:
- Removes
.github/workflows/phpcs.yml. - Adds a reusable
.github/workflows/lint.ymlcaller. - Configures pull-request path filters for PHP, JavaScript, JSX, TypeScript, and TSX files.
- Review findings: add
.mjsand.cjspath filters, and correct the PR description’s claim that ESLint ran when no repository ESLint configuration is present.
| File | Summary | Review findings |
|---|---|---|
.github/workflows/phpcs.yml |
Removes the repository-specific PHPCS workflow. | None |
.github/workflows/lint.yml |
Adds the shared lint workflow caller and language-specific path filters. | Moderate: Add **.mjs and **.cjs filters. Nit: Correct the ESLint pilot claim or add and exercise a repository-owned ESLint configuration. |
Review effort: Lite
Comment on lines
+10
to
+13
| - '**.js' | ||
| - '**.jsx' | ||
| - '**.ts' | ||
| - '**.tsx' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Part of the CI workflow consolidation: one shared lint workflow instead of a per-repo copy.
phpcs.yml.themegrill/workflowslint.yml.phpcs.xml(and ESLint config, where present).Tested in the pilot (#99): PHPCS and ESLint ran and annotated existing violations in the files touched.
🤖 Generated with Claude Code