Comments (6)
Would be a great feature to have!
// expected result
box-shadow: 0 1px 3px 0 rgba($black, 0.2),
0 1px 1px 0 rgba($black, 0.14),
0 2px 1px -1px rgba($black, 0.12);
// actual result
box-shadow: 0 1px 3px 0 rgba($black, 0.2),
0 1px 1px 0 rgba($black, 0.14),
0 2px 1px -1px rgba($black, 0.12);
from csscomb.js.
👍 for
foo: bar,
baz
from csscomb.js.
good idea!
from csscomb.js.
Even simpler version of this might be to just "leave code as is" if a newline is detected on a property, eg. I would write @gebidesign's code slightly differently (below). I'd love for it to be sorted, but not change indenting.
box-shadow:
0 1px 3px 0 rgba($black, 0.2),
0 1px 1px 0 rgba($black, 0.14),
0 2px 1px -1px rgba($black, 0.12);
from csscomb.js.
I came here specifically for finding out it there was some configuration for that already. +1 for sure.
I see it's kind of an old issue, but this or at least some way to ignore a block of code would be huge for me.
In special, the new css grid template would benefit greatly from that:
grid-template-areas:
"logo header header header"
"content content content sidebar"
"footer footer footer footer";
from csscomb.js.
Hi All!
I'm closing this because unless a PR is created it won't likely be addressed.
If you feel strongly about this request I encourage you to dig in and submit a PR 😸
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.