[new rule] check spaces in @media
See original GitHub issueinvalid:
@media(min-width:768px) {
color: red;
}
valid:
@media (min-width: 768px) {
color: red;
}
What did you expect to happen?
- Check space after
@media
-@media(
should be@media (
- Check space after colon -
width:768px
should bewidth: 768px
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:9 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
Thanks for the suggestions and sorry for the late reply!
I think we should go with
spaceAfterAtRule
andspaceAfterAtRuleColon
.