no-invalid-position-at-import-rule needs to be disabled for scss
See original GitHub issueI’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:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
It worked.