The stylint task always passes with GrumPHP, even when calling stylint directly fails #1015
Unanswered
cameronprince
asked this question in
Q&A
Replies: 1 comment
-
Hello @cameronprince Can you provide some additional info?
Would it be possible to provide a repository that produces the isolated issue without the other tasks? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using GrumPHP v1.5.1 with PHP v8.0 in a ddev container (I can't update GrumPHP yet due to Drupal requiring symfony/yaml v4.4.34). The eslint, phpcs, etc. tasks work fine, but stylint always passes files, even when the same files fail when running stylint directly.
I tried with and without the whitelist_patterns config. The file being committed is being tested directly using:
When GrumPHP runs, I see: Running task 7/10: stylelint... ✔ indicating the test ran and passed.
Here are the relevant configs:
Beta Was this translation helpful? Give feedback.
All reactions