0.7.4 • Published 5 years ago
eslint-html-reporter v0.7.4
ESLint HTML Reporter
HTML Reporter for ESLint. Please report bugs to https://github.com/ratherblue/eslint-html-reporter/issues
Features:
- Generates an HTML page with a summary of all linted files and their errors
- Choice between detailed and "lite" output
- Optional integration with TeamCity's console
- Shows summary of all errors and warnings so you can easily identify top linting issues
Installation
npm install eslint-html-reporter
Usage
With ESLint CLI:
# Basic - Single file
eslint file.js -f node_modules/eslint-html-reporter/reporter.js -o report.html
# Basic - Recurse current directory
eslint . -f node_modules/eslint-html-reporter/reporter.js -o report.html
# "Lite" (same as Basic, but omits the detailed error messages)
eslint file.js -f node_modules/eslint-html-reporter/reporter-lite.js -o report.html
# TeamCity Basic
eslint file.js -f node_modules/eslint-html-reporter/reporter-team-city.js -o report.html
# TeamCity "Lite"
eslint file.js -f node_modules/eslint-html-reporter/reporter-lite-team-city.js -o report.html
With Gulp ESLint:
var eslint = require('gulp-eslint');
var reporter = require('eslint-html-reporter');
var path = require('path');
var fs = require('fs');
gulp.src(['js/**/*.js'])
.pipe(eslint())
.pipe(eslint.format(reporter, function(results) {
fs.writeFileSync(path.join(__dirname, 'report-results.html'), results);
})
);
License
0.7.4
5 years ago
0.7.3
5 years ago
0.7.1
5 years ago
0.7.0
5 years ago
0.6.2
5 years ago
0.5.2
8 years ago
0.5.1
8 years ago
0.5.0
8 years ago
0.4.14
9 years ago
0.4.13
9 years ago
0.4.12
9 years ago
0.4.11
9 years ago
0.4.10
9 years ago
0.4.9
9 years ago
0.4.8
9 years ago
0.4.7
9 years ago
0.4.6
9 years ago
0.4.5
9 years ago
0.4.4
9 years ago
0.4.3
9 years ago
0.4.1
9 years ago
0.4.0
9 years ago
0.3.0
9 years ago
0.2.2
9 years ago
0.2.1
9 years ago
0.2.0
9 years ago
0.1.7
9 years ago
0.1.6
9 years ago
0.1.5
9 years ago
0.1.4
9 years ago
0.1.2
9 years ago
0.1.0
9 years ago