Package Exports
- eslint-formatter-stylish-verbose
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-formatter-stylish-verbose) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.