Sort order fallback: Add `yandex`, `zen` and `csscomb`
See original GitHub issueFrom discussion with @matmuchrapna:
Allow using sort orders from predefined configs as sort-order-fallback
option.
For example:
{
"always-semicolon": true,
"sort-order": ["color", "..."],
"sort-order-fallback": "yandex"
}
// Before
a {
left: 0;
color: 0;
top: 0;
}
// Before
a {
color: 0;
top: 0;
left: 0;
}
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3961833-sort-order-fallback-add-yandex-zen-and-csscomb?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).
</bountysource-plugin>Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Developers - Sort order fallback: Add `yandex`, `zen` and `csscomb` -
Sort order fallback : Add `yandex`, `zen` and `csscomb` ... Allow using sort orders from predefined configs as sort-order-fallback option. For example:
Read more >Use csscomb for VS Code - Stack Overflow
1 Answer 1 · Go to File > Preferences > Keyboard Shortcuts · Click the link at the top to edit keybindings.json ·...
Read more >New option: Space between sort groups · Issue #314 - GitHub
Is it possible to remove the new-line separator between sort groups? You need to define sort-order array with all properties being in one...
Read more >CSScombについてのおさらい - Qiita
CSScomb is a coding style formatter for CSS. You can easily write your own configuration to make your style sheets beautiful and consistent....
Read more >CSScomb: Sorting CSS Properties, The Better Way
This time we present **CSScomb**, a tool to help you sort and categorize ... developing CSScomb, I took the default sort order from...
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
👍
How about just adding a
preset
option to get all values from a predefined configuration and then extend it with the user defined values. Very similar to jscs presetsexample:
This not only solves sort order fallback but allows end user to leverage all existing configs with just a few tweaks to match their taste.
preset
+1