Questions tagged [csscomb]

CSScomb is a CSS beautifier. Questions should be about the installation and configuration of this Node package.

9 questions
4
votes
1 answer

Issue with gulp-css-comb : "Please check the validity"

I'm trying to fix my gulp-ccs-comb task but I have this error : MacBook-Pro:myProject remy$ gulp sass-comb [11:23:10] Using gulpfile ~/myproject/gulpfile.js [11:23:10] Starting 'sass-comb'... [11:23:10] Finished 'sass-comb' after 5.88…
Rémy Testa
  • 897
  • 1
  • 11
  • 24
4
votes
1 answer

Use csscomb for VS Code

I'm trying VS Code for a few days and I've installed csscomb extension. It works fine when I put .csscomb.json on my work directory. But I wish it worked even on file I open outside of my work directory. Could you tell me how to configure VS Code…
Unkilling
  • 123
  • 1
  • 2
  • 7
3
votes
2 answers

csscomb remove linebreak between soorting groups

Im using csscomb.js to organize my css. It works perfectly except I don't want the linebreaks in between the soorting groups.[see image] Is there a way to remove those? I looked every where. example This is mij setup: "remove-empty-rulesets":…
Stirner
  • 1,207
  • 1
  • 8
  • 6
2
votes
0 answers

CSSComb in VSC not working with :root selector

I am using Visual Studio Code where I have the CSScomb plugin installed. When I try to use the selector :root and execute CSScomb I get the message: [CSSComb] TypeError: Cannot read property 'first' of null what does it mean and how can I fix…
Erikamyself
  • 263
  • 1
  • 13
1
vote
1 answer

vsCode and cssComb

Have used Brackets, but had some problems. Now trying to get into vsCode. I am a bit confused by the instructions available for setting up and using cssComb within vsCode. Tried to use it from F1 but it gave me the error : "command…
Bob Sharp
  • 11
  • 3
0
votes
4 answers

How to select first td of first two rows using css

It's a complicated one I think. Let's see if I'm wrong. I want to select only the td which are marked as "// to be selected" I dont want to apply styles for any other td other than the marked ones. Please help!
Jack
  • 13
  • 2
  • 6
0
votes
1 answer

How to use CSScomb.sublime-settings in Sublime

I'm using the third Sublime version and I want to use this CSS comb: https://github.com/vitaligo/CSScomb.sublime-settings/blob/master/CSScomb.sublime-settings The problem is I don't really know how to make it work - should I download this code and…
Mike L.
  • 313
  • 2
  • 12
0
votes
1 answer

Grunt, CSSComb and watch runing against all files, not just new

I have csscomb running fine, and it triggers with watch, but is there a way to only have csscomb run against the scss file i'm working on, rather than all of them within my project? Here's my Gruntgile.js. The csscomb set up is odd since i have my…
Mark Handy
  • 1,180
  • 1
  • 11
  • 23
0
votes
1 answer

How to sort some part of css in one line and another part in multiple lines

I'd like to make a custom config for CSScomb that can sort part of the css in one line and part of it as the default, multiple line sort. The css that I'd like to be sorted in one line should refer to font styling. Right now if I use CSScomb it…