Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-stylish

sindresorhus1.7kMITdeprecated0.2.0

Deprecated as it's now the default reporter in ESLint

Stylish ESLint formatter (reporter)

eslint, formatter, reporter, lint, validate

readme

eslint-stylish Build Status

Stylish formatter (reporter) for ESLint

screenshot

Compared to the default formatter:

default formatter

Install

Install with npm: npm install --save-dev eslint-stylish

Getting started

Use it with:

ESLint CLI

eslint --format node_modules/eslint-stylish/stylish.js file.js

grunt-eslint

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

grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('default', ['eslint']);

License

MIT © Sindre Sorhus