Skip to content
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

Unknown at rule @container if it is nested in SCSS context #2265

Open
shadow-identity opened this issue Jan 22, 2024 · 0 comments
Open

Unknown at rule @container if it is nested in SCSS context #2265

shadow-identity opened this issue Jan 22, 2024 · 0 comments
Labels

Comments

@shadow-identity
Copy link
Contributor

shadow-identity commented Jan 22, 2024

Describe the bug

Svelte-check reports on nested @container rule inside of SCSS style sheet.

It does not report in CSS context or if the @container is not nested.

Reproduction

<style lang="scss">
    article {
        @container main (min-width: 80em) {
            grid-template-rows: 1fr;
        }
    }
</style>

Then run svelte-check and see this warning message:

Warn: Unknown at rule @container (scss)

        @container main (min-width: 80em) {
            grid-template-rows: 1fr;

Expected behaviour

No warning

System Info

  • OS: macOS
  • IDE: IntelliJ Idea

Which package is the issue about?

svelte-check

Additional Information, eg. Screenshots

In my pnpm-lock.yaml: svelte-check: version: 3.6.2(postcss@8.4.33)(sass@1.69.5)(svelte@4.2.1)

@shadow-identity shadow-identity added the bug Something isn't working label Jan 22, 2024
@jasonlyu123 jasonlyu123 added upstream and removed bug Something isn't working labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants