question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[new rule] check spaces in @media

See original GitHub issue

invalid:

@media(min-width:768px) {
    color: red;
}

valid:

@media (min-width: 768px) {
    color: red;
}

What did you expect to happen?

  1. Check space after @media - @media( should be @media (
  2. Check space after colon - width:768px should be width: 768px

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jwilssoncommented, Feb 12, 2019

@connollyf Go right ahead! To be completely honest though, I can’t say development is still that active. It’s mostly around bug fixes at this point. stylelint is probably a better choice if you want something where development is more active. That said, a good-looking PR will be accepted and published to npm, I just don’t have the resources to work on this as much as I used to.

1reaction
jwilssoncommented, Mar 12, 2018

Thanks for the suggestions and sorry for the late reply!

I think we should go with spaceAfterAtRule and spaceAfterAtRuleColon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

About Twitter Spaces
Spaces is a way to have live audio conversations on Twitter. ... When creating a new Space, you will see options to Name...
Read more >
Twitter rolls out new Spaces features, including access to ...
The company recently started testing a new tool that allows select hosts to clip 30 seconds of audio from recorded Spaces to share...
Read more >
Your Ultimate Guide to Twitter Spaces in 2023
1. When you’re the host, this is how you’d be able to create a Space: • Long press on the Compose button on your...
Read more >
The 7 New Rules of Social Media in 2021 - WoW Promoter
The Social Proof Rule; The Proximity Rule ; Intimate space is within 18 inches of your body; Personal space is 18 inches to...
Read more >
media-feature-colon-space-before - Stylelint
@media (max-width :600px) {} /** ↑ * The space before this colon */. The fix option can automatically fix all of the problems...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found