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

Uncorrect warning "Do not use empty rulesets" #18

Open
jaggerwang opened this issue Feb 20, 2019 · 3 comments
Open

Uncorrect warning "Do not use empty rulesets" #18

jaggerwang opened this issue Feb 20, 2019 · 3 comments

Comments

@jaggerwang
Copy link

As the title saied, but it's actually not empty.

image

@mliq
Copy link

mliq commented Mar 15, 2019

This happens anytime there is a JS variable, and it also breaks Prettier / code formatting. Any possible fix to this? Quite a problem for being able to use styled-jsx. I'm not sure if the problem is with this plugin though - it is a VSCode issue perhaps?

@ryanjwessel
Copy link

I also noticed this issue. This seems to be a VSCode issue and can be handled by setting "css.lint.emptyRules": "ignore" in your settings.json file. But, ideally, the styled-jsx-language-server extension would handle this gracefully.

@OIlmania-Iloma
Copy link

I also encountered this issue in Visual Studio Code.
How do I make the correction in JSON?
I am creating a new project to master JVS CSS and HTML
Screenshot (17)
file?

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

4 participants