<commit_before># gulp-csslint-report

> Generates HTML report from the csslint results

## Usage

First, do a install `gulp-csslint` as a development dependency:

```
npm install --save-dev gulp-csslint
```

Then, install the reporter:

```
npm install --save-dev gulp-csslint-report
```

Then, add it to your gulpfile.js:

```
var csslint = require('gulp-csslint');
var htmlReporter = require('gulp-csslint-report');

gulp.task('css', function() {
  gulp.src('client/css/*.css')
    .pipe(csslint())
    .pipe(htmlReporter());
});
```

## API

### htmlReporter(options)

Type: `Object`

You can pass the output filename (consolidated report) and individual css file reports location directory.

```javascript
gulp.src('client/css/*.css')
  .pipe(csslint())
  .pipe(reporter({
      'filename': 'index.html', 
      'directory': './csslint-reports/'
  }));
```

Defaults are: {'filename': 'csslint-report.html', 'directory': './logs/'}<commit_msg>Link to the NPM: gulp-csslint<commit_after># gulp-csslint-report

> Generates HTML report from the csslint results

## Usage

First, do a install [gulp-csslint] as a development dependency:

```
npm install --save-dev gulp-csslint
```

Then, install the reporter:

```
npm install --save-dev gulp-csslint-report
```

Then, add it to your gulpfile.js:

```
var csslint = require('gulp-csslint');
var htmlReporter = require('gulp-csslint-report');

gulp.task('css', function() {
  gulp.src('client/css/*.css')
    .pipe(csslint())
    .pipe(htmlReporter());
});
```

## API

### htmlReporter(options)

Type: `Object`

You can pass the output filename (consolidated report) and individual css file reports location directory.

```javascript
gulp.src('client/css/*.css')
  .pipe(csslint())
  .pipe(reporter({
      'filename': 'index.html', 
      'directory': './csslint-reports/'
  }));
```

Defaults are: {'filename': 'csslint-report.html', 'directory': './logs/'}

[gulp-csslint]: https://www.npmjs.com/package/gulp-csslint
{'fraction_non_alphanumeric': 0.17766497461928935, 'fraction_numerical': 0.0, 'mean_word_length': 4.228116710875332, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '6551898', 'n_tokens_mistral': 693, 'n_tokens_neox': 662, 'n_words': 167}