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
The default template-lint rule forbids using of <style> in the glimmer component: e.g;
<template> const sum = 2 + 5; <p> The sum of 2 plus 5 is {{sum}}. </p> <style> font-family: serif; </style> </template>
error Use of <style> detected. Do not use forbidden elements. no-forbidden-elements
This will give the wrong impression that a style tag should not be used within a template tag.
I think the rule should be overridden for gjs/gts components.
gjs/gts
The text was updated successfully, but these errors were encountered:
I agree! We need to progress the RFC for scoped styles tho
Sorry, something went wrong.
The discussion on the scoped styles is still in progress, the core team will have to finalize it.
No branches or pull requests
The default template-lint rule forbids using of <style> in the glimmer component: e.g;
This will give the wrong impression that a style tag should not be used within a template tag.
I think the rule should be overridden for
gjs/gts
components.The text was updated successfully, but these errors were encountered: