Skip to content

Add cache CLI options for eslint#1223

Merged
veewee merged 4 commits into
phpro:v2.xfrom
rodrigoaguilera:eslint-cache
Jun 17, 2026
Merged

Add cache CLI options for eslint#1223
veewee merged 4 commits into
phpro:v2.xfrom
rodrigoaguilera:eslint-cache

Conversation

@rodrigoaguilera

Copy link
Copy Markdown
Contributor
Q A
Branch 2.x
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets no

Add the cache options for eslint, same as stylelint

@veewee veewee left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change.
It looks good, but you'll need to alter the unit tests as well before I can merge.

Comment thread src/Task/ESLint.php
rodrigoaguilera and others added 2 commits June 5, 2026 14:53
The new cache and cache_location data sets declared 'stylelint' as the
expected binary, so the ProcessBuilder double (configured for 'eslint')
returned null and the tests errored.
@veewee veewee merged commit 7c9292f into phpro:v2.x Jun 17, 2026
25 of 26 checks passed
@veewee

veewee commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Thanks

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants