Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-stylish with all npm packages installed. Try it out:

var eslintStylish = require("eslint-stylish")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-stylish v0.2.0

Stylish ESLint formatter (reporter)

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free