Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
eslint-detailed-reporter
Advanced tools
A Detailed HTML reporter for ESLINT based on the code written by Julian Laval for eslint's default HTML reporter and inspired by Sven Piller's eslint-formatter-markdown and mochajs's HTML coverage report.
Click here to view an example report.
Click here to view an example success report.
npm install eslint-detailed-reporter --save-dev
# Single file
eslint file.js -f node_modules/eslint-detailed-reporter/lib/detailed.js -o report.html
# Recurse current directory
eslint . -f node_modules/eslint-detailed-reporter/lib/detailed.js -o report.html
# Recurse current directory with multiple files as the result
eslint . -f node_modules/eslint-detailed-reporter/lib/detailed-multi.js -o report.html
module.exports = function(grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
eslint: {
options: {
outputFile: 'example/example-report.html',
format: require('eslint-detailed-reporter')
},
target: ['test/**/*.js']
}
});
grunt.registerTask('default', ['eslint']);
};
var eslint = require('gulp-eslint'),
reporter = require('eslint-detailed-reporter'),
path = require('path'),
fs = require('fs');
gulp.src(['js/**/*.js'])
.pipe(eslint())
.pipe(eslint.format(reporter, function(results) {
fs.writeFileSync(path.join(__dirname, 'report-results.html'), results);
})
);
Feel free to contribute!
Fork this repo and run the following commands to get started:
npm install
npm install -g grunt-cli
npm test
After that, just open a pull request and I will review it when I can!
For more detailed contributing instructions checkout out our contributing documentation!
See CHANGELOG
MIT © Marcelo S. Portugal
FAQs
Detailed HTML reporter for ESLINT.
The npm package eslint-detailed-reporter receives a total of 12,872 weekly downloads. As such, eslint-detailed-reporter popularity was classified as popular.
We found that eslint-detailed-reporter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.