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

Small bug with CSS editor #1428

Closed
guillaume-dorczynski opened this issue May 16, 2020 · 5 comments
Closed

Small bug with CSS editor #1428

guillaume-dorczynski opened this issue May 16, 2020 · 5 comments

Comments

@guillaume-dorczynski
Copy link

Nature of issue?

  • Found a bug

Details about the bug:

Hello,

There is a small problem when editing a CSS and using custom variables, for example:

:root
{
  --red: #ff0000;
}

It's working, but the editor will show a warning "Expected RBRACE" on the line "--red: #ff0000;"

@welcome
Copy link

welcome bot commented May 16, 2020

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@guillaume-dorczynski
Copy link
Author

guillaume-dorczynski commented May 16, 2020

Apparently it's a problem with "csslint" CSSLint/csslint#603 , I think nothing can be done here to fix it

@catarak
Copy link
Member

catarak commented May 18, 2020

Thanks for reporting! It seems like CSSLint is out of date, see #1373. JSFiddle had similar issues with CSSLint but they updated their linter (not sure to which one though!).

@guillaume-dorczynski
Copy link
Author

Maybe this one https://github.com/stylelint/stylelint

@catarak
Copy link
Member

catarak commented May 19, 2020

great suggestion!

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