eslint-formatter-stylish-verbose
v0.0.1
Published
Modified version of the stylish reporter for ESLint which logs files without warning/errors.
Downloads
6,247
Readme
eslint-formatter-stylish-verbose
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-eslint
grunt.initConfig({
eslint: {
target: ['file.js'].
options: {
format: 'stylish-verbose'
}
}
});
grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('default', ['eslint']);
gulp-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.