Comments (4)
:) you can try!
from csscomb.js.
WIP
from csscomb.js.
A few words on detecting custom sort order.
It may sound weird, but the task is similar to finding a De Bruijn sequence.
It's used in bioinformatics for sequence assembly, but can be modified a bit and used for collecting properties' sort order.
from csscomb.js.
I gave the idea of detecting custom sort order some thoughts. And came up with idea that I'm not capable of doing it right now. All the other options (well, almost all of them) can be easily detected and it would work ok with template file, but when it comes to sort order… As there are different cases for detection, only one of them can benefit from the detecting the sort order — generating the code style options for the project. Other two — normalize and using .css
file as a template wouldn't benefit from it.
- Storing this kind of data in a template wouldn't be that pretty: it should be easy to make changes of code style in it and having dozens of declarations there won't help.
- When it comes to normalize, my first guess is that it would mostly do some random things to users code. I'd say, in most cases, people do not write CSS in any particular order, so the result would be strange average thing that would only harm users. Things like sort order should be made from scratch and by people, not automagically detected from existent something.
from csscomb.js.
Related Issues (20)
- "vendor-prefix-align: true" breaks indent for grid properties
- calc using variable
- LESS: CSSComb parse error when using variable in selector
- Node error at first run, and then the action disappears from Control Panel HOT 1
- Allow sorting of custom property (css vars) HOT 4
- Wrong indent HOT 2
- Can I control the indentation of. #
- processString() returns identical string
- When the quotes configuration item is single, the problem caused...
- Get "Cannot read property 'first' of null" error with :root selector
- Website link is broken HOT 6
- Request: vscode-csscomb HOT 2
- space-after-selector-delimiter : Indentation inside @media with multiple selectors
- [ FEATURE ] Command line argument "copy-buffer" input HOT 1
- List default values for all config file keys
- How to fix some props in JSON schema?
- 网站csscomb.com重定向到黄色网站了
- New maintainer request HOT 1
- How can csscomb use yandex rules and format them successfully?
- Do you need maintainers?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csscomb.js.