csscomb doesn't work
See original GitHub issueHi,
I’ve tried to configure lint-staged to clean scss files with csscomb. Here is my conf:
"scripts": {
"lint-staged": "lint-staged"
},
"pre-commit": "lint-staged",
"lint-staged": {
"*.scss": [
"csscomb",
"git add"
]
}
If I run csscomb <file.scss>
it works like a charm. But if I exec ./node_modules/.bin/lint-staged
(or commit), the task run and never ends:
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
csscomb error · Issue #54 · mrmlnc/vscode-csscomb - GitHub
the csscomb extension does not work. and the console is no message.
Read more >grunt csscomb doesn't work - Stack Overflow
You missed a : in css module.exports = function (grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), less: { development: ...
Read more >Csscomb does not work for sass | Sololearn: Learn to code for ...
I can not configure csscomb for sass, the documentation says that it supports all preprocessors. I did everything according to the instructions.
Read more >CSScomb settings for Drupal (CSS formatting and sort tool)
CSScomb formats and sorts CSS properties in css, scss, sass or less files. An explanation of the options can be found at ...
Read more >grunt-csscomb@4.0.0 - Snyk Vulnerability Database
This does not include vulnerabilities belonging to this package's dependencies. Does your project rely on vulnerable package dependencies?
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
In order to get this to work for me instead of
"csscomb --tty-mode",
I used"csscomb --tty-mode --",
(note the trailing--
in the command)For future reference, the command works fine if you use it with the
--tty-mode
option.Example: