SCSS Sort Order
See original GitHub issueRan import.css through csscomb.com/online and expected import.expected.scss instead I got:
div
{
color: tomato; @import 'foo.css';
}
Seeing similar issue with @include
and @extend
Noticed this bug using plugins for atom that rely on this library.
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
How to sort Sass properties (for example in alphabetical order)
I need gulp module, or vscode extension for example, which can sort properties in .sass files automaticaly.
Read more >Property Sort Order - sasstools/sass-lint - GitHub
Rule property-sort-order will enforce the order in which declarations are written.
Read more >order - CSS: Cascading Style Sheets - MDN Web Docs
The order CSS property sets the order to lay out an item in a flex or grid container. Items in a container are...
Read more >Sorting Function In SASS - GeeksforGeeks
In the first step, we need to teach Sass, the correct order of sorting the strings based on the characters each string contains....
Read more >SASS Sorter - IntelliJ IDEs Plugin - JetBrains Marketplace
How to use · Open .scss or .css file · To sort whole file: CTRL+ALT+O or RMB -> Sass Sorter -> Sort All...
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
Then the config will like this: “sort-order”: [ [ “$variable” ], [ “$include” ], [ “…” ], [“$selector”] [ “$include media” ] ]
Same issue here. $selector would be nice.