-
-
Notifications
You must be signed in to change notification settings - Fork 934
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 use of unicode symbols in formatters for native Windows cmd #5741
Comments
@XhmikosR Thank you for creating this issue. This limitation has been introduced by the A solution is adding the fallback symbols like but the Do you have any thoughts? |
Not sure TBH. I'd use an existent package, personally, even if it's an older version. That being said, it seems someone wrongfully ignored the failures on Windows 😛: https://github.com/stylelint/stylelint/blob/main/lib/formatters/__tests__/prepareFormatterOutput.js These failures there were valid and it's the same reason for this issue. |
I'm not sure about Windows, but how many people use Stylint on the native cmd (not supporting Unicode)? Is it worth adding dependencies or logic? Also, it seems good to fix |
There would be no failures if the issue I reported didn't exist. When something is broken, we shouldn't work around it in tests, but try to fix it instead. |
This issue is older than one month. Please ask before opening a pull request, as it may no longer be relevant. |
@ybiquitous how about vendoring ? |
The next Stylelint version can use the pure package, so it makes sense for me to avoid vendoring if people don't have any trouble with this issue so much at this time. |
What steps are needed to reproduce the bug?
What Stylelint configuration is needed to reproduce the bug?
Doesn't matter as long as you get an error or one of the symbols here:
stylelint/lib/formatters/stringFormatter.mjs
Lines 34 to 39 in e361561
How did you run Stylelint?
stylelint "**/*.{css,scss}" --cache --cache-location .cache/.stylelintcache --rd
Which version of Stylelint are you using?
14.1.0
What did you expect to happen?
The characters should show properly
What actually happened?
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: