node package manager

eslint-stylish

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