Skip to content

0xjac/eslint-formatter-stylish-verbose

Repository files navigation

eslint-formatter-stylish-verbose

Build Status Codecov License npm version

Modified version of the stylish reporter for ESLint which logs files without warning/errors.

Install

$ npm install --save-dev eslint-formatter-stylish-verbose

Usage

ESLint CLI

$ eslint --format=stylish-verbose file.js
grunt.initConfig({
	eslint: {
		target: ['file.js'].
		options: {
			format: 'stylish-verbose'
		}
	}
});

grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('default', ['eslint']);
const gulp = require('gulp');
const eslint = require('gulp-eslint');

gulp.task('lint', () =>
	gulp.src('file.js')
		.pipe(eslint())
		.pipe(eslint.format('stylish-verbose'))
);

eslint-loader (webpack)

module.exports = {
	entry: ['file.js'],
	module: {
		rules: [
			{
				test: /\.js$/,
				exclude: /node_modules/,
				loader: 'eslint-loader',
				options: {
					formatter: require('eslint-formatter-stylish-verbose')
				}
			}
		]
	}
};

License

MIT © Jacques Dafflon

Credits

Credits for the original implementation of the stylish reporter go to Sindre Sorhus, @sindresorhus.

This README is adapted from the original README of---the now deprecated version of---the stylish reporter.

About

Modified version of the stylish reporter for ESLint which logs files without warning/errors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published