Skip to content

csscomb for sass #38

@MrZyr0

Description

@MrZyr0

Hello,
I really like the awesome work of this plugin !
I want to use it for sass file too.
I've found a parameter here : csscomb/core#7
So i've csscomb_dev_config.json where I've difined the syntax like that :

"syntax": {
        ".scss": "scss",
        ".sass": "scss",
        ".css": "css",
        ".lss": "less"
    },

And I use it in my gulpfile like that :

const csscombDevConfig = './csscomb_dev_config.json'

function beautifySCSS()
{
    return gulp.src(srcSass)
    .pipe(gulp_csscomb(csscombDevConfig))       // PB config not used https://github.com/koistya/gulp-csscomb/issues/37 // TODO: resolv, csscomb config pb
    .pipe(gulp.dest(srcSass))
}

But when I run the function, it's freeze in the second item and nothing append...
I've tried to wait a lot of time and it doesn't care.
With debug, it's show this :

Starting 'beautifySCSS'...
img src\styles\style.scss
img src\styles\setup\_colors.scss
img 2 items

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions