-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can not find grid areas: intentional-left-blank #1386
Comments
Non-used areas may be caused by mistake. It is better to explicitly mark them as empty. We can add an option to hide this warning. Send PR. |
You are right, it is perfectly valid.
I ran into this once in one of my own projects. I ended up working around the issue by just adding an empty
I think it would make more sense to have some sort of generic control comment for ignoring warnings. That allows the warning to still take effect when it is a mistake but allows an explicit ignoring of the warning when it is intentional. There are feasibily more instances where autoprefixer produces false positive warnings for other reasons. Having a control comment for ignoring warnings would solve more than just this issue. |
I propose these two control comments
Works the same way as
Ignores warnings that were generated by the next line of css that immediately follow this control comment. |
|
Iike this?
And
|
|
lets say I have a grid layout, where I want to draw ab H where certain regions are intentionally left blank:
The build would produce the following warning
But having empty grid areas is perfectly valid, isn't it? What should I do to solve this warning?
The text was updated successfully, but these errors were encountered: