Skip to content
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

Comments #1

Open
SupertigerDev opened this issue Aug 5, 2024 · 1 comment
Open

Comments #1

SupertigerDev opened this issue Aug 5, 2024 · 1 comment

Comments

@SupertigerDev
Copy link

image
Comments seem to throw an error

@1yasa
Copy link
Member

1yasa commented Aug 7, 2024

I have tested it in my VSCode, and this way of commenting does not cause any errors.

You need to understand that CSS Better Sort only sorts your CSS code; the error comes from the CSS formatter, which reports an error and thus blocks CSS Better Sort.

You should check whether your CSS formatter (Prettier/Biome/VS Code's built-in formatter) supports this type of CSS comment.

Additionally, you can try using this CSS commenting method, which may not result in errors.

/** css comments **/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants