Repository navigation
Conversation
Node 14 cannot execute those tools, and a phpcs or mypy process per file is what makes the lint job slow. Co-authored-by: Cursor <cursoragent@cursor.com>
Nothing in the image installs or runs those tools. JavaScript lint is the oxlint key. Co-authored-by: Cursor <cursoragent@cursor.com>
…h oxlint Skip instantiating or invoking run_all linters when allowlist/denylist filtering leaves zero files. Run phpcs with --parallel across all cores before phpcbf so clean runs skip phpcbf altogether, and batch oxlint into one process over relative paths. Co-authored-by: Cursor <cursoragent@cursor.com>
pabo99
reviewed
Nov 24, 2026
pabo99
left a comment
Contributor
There was a problem hiding this comment.
Thanks for all the work on these performance improvements! There are several valuable changes here that I'd like to incorporate independently of the ESLint/Prettier migration.
Could we split this PR into the following smaller PRs?
- Skip linters when no files match the allowlist/denylist.
- Upgrade Node.js to v22 while retaining the existing linting and formatting tools.
- Optimize PHP linter execution by batching and parallelizing phpcs/phpcbf.
- Batch mypy execution while preserving pylint isolation.
- Introduce Oxfmt as an alternative to Prettier.
- Introduce Oxlint while retaining ESLint for unsupported rules, particularly Vue template rules.
This would allow us to review, benchmark, and merge each improvement independently, making regressions easier to identify.
For the last two PRs, I'd like us to evaluate compatibility and rule coverage before completely replacing our existing tools.
Please include regression tests and before/after performance measurements where applicable.
I really appreciate the initiative to improve our CI performance. Let's make these improvements easier to review and integrate incrementally.
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.
This pull request replaces ESLint and Prettier with Oxlint and Oxfmt and reduces linter process overhead.
Changes in this pull request: