eslint-formatter-stylish-verbose

0.0.1 • Public • Published

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-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.

Package Sidebar

Install

npm i eslint-formatter-stylish-verbose

Weekly Downloads

1,054

Version

0.0.1

License

MIT

Unpacked Size

64.3 kB

Total Files

10

Last publish

Collaborators

  • 0xjac