iamstarkov / gulp-csscomb-lint

Gulp plugin for linting css files with CSScomb
7 stars 4 forks source link

Not processing/logging any errors #1

Open hacfi opened 9 years ago

hacfi commented 9 years ago

I tried using this task twice and it’s not working for me:

gulp.task('lint', function() {
    return gulp.src(['dist/css/style.css'])
        .pipe($.csscombLint());
});

There is a .csscomb.json in the main directory and running gulp lint just returns

gulp lint                                                                                                                                        [21:23:06] Using gulpfile /var/www/js/boilerplate/gulpfile.js
[21:23:06] Starting 'lint'...
[21:23:06] Finished 'lint' after 171 ms

Although there are definitely some mistakes in the css file (csscomb dist/css/style.css changes the file).

iamstarkov commented 9 years ago

Hi, thank you for report. I want you to give me some more information. The best deal will be the repo, which have such problem.

hacfi commented 9 years ago

@matmuchrapna Thanks for your quick response..will create a repo tomorrow & post the link here.

iamstarkov commented 9 years ago

It will be nice, thank you

hacfi commented 9 years ago

@matmuchrapna Please have a look at https://github.com/hacfi/gulp-csscomb-lint-test

» gulp lint                                                                                                                                                             
[17:39:06] Using gulpfile /var/www/gulp-csscomb-lint-test/gulpfile.js
[17:39:06] Starting 'lint'...
[17:39:06] Finished 'lint' after 70 ms
iamstarkov commented 9 years ago

thank you, I will take a look

iamstarkov commented 9 years ago

sorry for delay, will investigate in few days

iamstarkov commented 9 years ago

I think main issue is in difference between csscomb versions of csscomb-lint internal and yours one installed globally. But I cannot find csscomb version in repo. Can you tell me what version of csscomb itself you are using for comb your css?

iamstarkov commented 9 years ago

@hacfi, will you be interested in maintaining this project?

hacfi commented 9 years ago

@matmuchrapna Unfortunately I’m pretty busy launching a new project so I have to pass.

Thanks for the hint..I’ll try different version when I find some time!