We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
media-query-no-invalid
@media screen() {}
Using the latest Bud Stylelint and Tailwind does not allow using the Tailwind screen function in media queries. Related: stylelint/stylelint#6916
Temporary fix:
.stylelintrc
{ "extends": [ "@roots/sage/stylelint-config", "@roots/bud-tailwindcss/stylelint-config" ], "rules": { "media-query-no-invalid": null } }
To not error
Produces an error regarding the unknown screen function in a media query
screen
When using the following code with bud stylelint and tailwind
@media screen(lg) { padding-top: 1px; }
it will produce
$ bud build ╭ sage [5ab2a2a6940f3532] ./public │ │ │ [stylelint] │ │ resources/styles/app.css │ │ 128:12 ✖ Unexpected invalid media query "screen(lg)" media-query-no-invalid │ │ 1 problem (1 error, 0 warnings) │ ╰ 1 error
6.20.0
No response
The text was updated successfully, but these errors were encountered:
Unexpected invalid media query "screen(x)"
Experiencing the same issue.
Sorry, something went wrong.
Message to comment on stale issues. If none provided, will not mark issues stale
fix(stylelint): Unexpected invalid media query "screen(x)" for Tail…
dc6279f
…wind (#2558) Fixes #2557 ## Type of change **PATCH: backwards compatible change**
Successfully merging a pull request may close this issue.
Agreement
Describe the issue
Using the latest Bud Stylelint and Tailwind does not allow using the Tailwind screen function in media queries.
Related: stylelint/stylelint#6916
Temporary fix:
.stylelintrc
Expected Behavior
To not error
Actual Behavior
Produces an error regarding the unknown
screen
function in a media querySteps To Reproduce
When using the following code with bud stylelint and tailwind
it will produce
version
6.20.0
Logs
No response
Configuration
No response
Relevant .budfiles
No response
The text was updated successfully, but these errors were encountered: