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.

no-invalid-position-at-import-rule needs to be disabled for scss

See original GitHub issue

I’m hitting this since upgrading from 2.1.0 to 2.2.0: https://github.com/stylelint/stylelint/issues/5322 Rather than just blindly disabling it in your stylelint config, I believe it should be fixed upstream.

I don’t think https://github.com/kristerkari/stylelint-config-recommended-scss suffers from it (yet) because they have yet to update to stylelint-config-recommended 5.0 (which enables this rule). So perhaps the problem is in this repo and related to how you extend the scss config as well as your own css config? Not sure how the priorities work there.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
XhmikosRcommented, Jun 8, 2021

We don’t have the bandwidth to work on cleaning the configs, but you are welcome to provide a PR assuming all the current rules are still included.

I’ll make a new release for this.

0reactions
fgblomqvistcommented, Jun 8, 2021

It worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Do not run scss/* rules on non-SCSS files #4262 - GitHub
An ability to prevent SCSS-specific rules from running on non-SCSS files. Ideally, stylelint-scss would be able to declare that its rules should ......
Read more >
Syntax - Sass
The SCSS syntax uses the file extension .scss . With a few small exceptions, it's a superset of CSS, which means essentially all...
Read more >
:disabled · CSS/SCSS Personal Guide - Aleen
:disabled is a pseudo-class selector used to select and style user interface elements (usually form elements) that are disabled.
Read more >
Why is VS Code formatting my SCSS when I have set my ...
I created a local vue.config file to disable format-on-save (just to see if it affected the issue). Nothing made any difference.
Read more >
Sass, SCSS, and Less | WebStorm Documentation - JetBrains
To compile your code automatically, you need to configure a Sass, Less, or SCSS File ... If such File Watcher is configured 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