question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`@include` throwing `at-rule-no-unknown`

See original GitHub issue

I’m getting the following error when using @include 2018-01-24_1a68

The configuration .stylelintrc

plugins:
  - stylelint-scss
extends:
  - stylelint-config-standard

Is this an error or have I configured something wrong? Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:7

github_iconTop GitHub Comments

41reactions
kristerkaricommented, Jan 26, 2018

Hmm… I’m not sure which rules stylelint-config-standard includes, but you have to use the SCSS version of the rule, so this should help:

rules:
  at-rule-no-unknown: null
  scss/at-rule-no-unknown: true
0reactions
kristerkaricommented, Jun 24, 2019

@gadzhimari Good that you got it fixed.

When I looked at your message, the config looked different so that’s why I replied like that. I guess that you edited it afterwards.

Read more comments on GitHub >

github_iconTop Results From Across the Web

`@include` throwing `at-rule-no-unknown` · Issue #196 - GitHub
I'm getting the following error when using @include The configuration .stylelintrc plugins: ... @include throwing at-rule-no-unknown #196.
Read more >
stylelint throws at-rule-* errors when parsing LESS variables
(1:1) Unexpected unknown at-rule "@fadeAnimDuration:" (at-rule-no-unknown). It seems that this was once a known issue but should have been ...
Read more >
@tailwind unknown at rule | The AI Search Engine You Control
Whenever i try to use any tailwind directive except @apply it throws me an error: "Unexpected unknown at-rule "@screen" at-rule-no-unknown", nor screen, ...
Read more >
stylelint | Yarn - Package Manager
A mighty, modern linter that helps you avoid errors and enforce conventions in your styles. Features. It's mighty as it: has over 170...
Read more >
VS Code Errors and Warnings when using @tailwind directives
I have been using tailwindcss with laravel and laravel mix. I am having kind of weird issue because everything is working fine but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found