<commit_before>import gulp from 'gulp';
import jscs from 'gulp-jscs';
import stylish from 'gulp-jscs-stylish';

export default (options) => {
    gulp.task('jscs', () => {
        let jscsConfig = options.config.jscs;

        return gulp.src(jscsConfig.src)
            .pipe(jscs(jscsConfig.options)) // enforce style guide
                .on('error', () => {}) // don't stop on error
            .pipe(stylish()); // log style errors
    });
};<commit_msg>Update jscs task<commit_after>import gulp from 'gulp';
import jscs from 'gulp-jscs';

export default (options) => {
    gulp.task('jscs', () => {
        let jscsConfig = options.config.jscs;

        return gulp.src(jscsConfig.src)
            .pipe(jscs(jscsConfig.options)) // enforce style guide
            .pipe(jscs.reporter());
    });
};
{'fraction_non_alphanumeric': 0.1575682382133995, 'fraction_numerical': 0.0, 'mean_word_length': 2.5707964601769913, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '464594', 'n_tokens_mistral': 283, 'n_tokens_neox': 280, 'n_words': 58}