-
-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Node.js API glob returning empty array #4929
Comments
@lukasholzer Thanks for the report. Can you try |
@jeddy3 Thx is now working with the latest version. The question even though is for me can we implement the feature of passing the files directly? As this might be way more performant if I need to run only for a limited set of files. Are you willing to take contributions on that? |
@lukasholzer yes we are. |
Clearly describe the bug
The nodejs api is using globby to collect the scss files for linting. When used on windows it returns an empty array for the list of files in
standalone.js
- thefilePaths
is an empty array.I've already opened a bug at sindresorhus/globby#152
Workaround
It would be nice to have an option where I can provide the file paths on my own and not rely on any globbing so that I can pass a list of absolute file paths that should be linted.
Which version of stylelint are you using?
"version": "13.2.1"
How are you running stylelint: CLI, PostCSS plugin, Node.js API?
The text was updated successfully, but these errors were encountered: