You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn fail should also work but instead the allowEmptyInput configuration is ignored.
Which version of Stylelint or dependencies are you using?
stylelint: 15.7.0
stylelint-config-standard: 33.0.0
What did you expect to happen?
Both ways of using the allowEmptyInput / --allow-empty-input options should produce the same results.
What actually happened?
$ stylelint "**/*.css"
Error: No files matching the pattern "**/*.css" were found.
at standalone (/[...]node_modules/stylelint/lib/standalone.js:260:43)
What steps are needed to reproduce the bug?
I made a reproduction repo at https://github.com/astorije/stylelint-allowEmptyInput-issue-repro. Or follow steps in this issue instead.
What Stylelint configuration is needed to reproduce the bug?
How did you run Stylelint?
Use the following
package.json
:Make sure to have no CSS file in the folder.
Run:
yarn pass
works as expectedyarn fail
should also work but instead theallowEmptyInput
configuration is ignored.Which version of Stylelint or dependencies are you using?
stylelint
: 15.7.0stylelint-config-standard
: 33.0.0What did you expect to happen?
Both ways of using the
allowEmptyInput
/--allow-empty-input
options should produce the same results.What actually happened?
(In case it might be related: #5142)
Does the bug relate to non-standard syntax?
No response
Proposal to fix the bug
No response
The text was updated successfully, but these errors were encountered: