Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

[DEPRECATED] Stylish reporter for ESLint

Notifications You must be signed in to change notification settings

sindresorhus/eslint-stylish

Repository files navigation

eslint-stylish Build Status

Deprecated as it's now the default reporter in ESLint


Stylish formatter (reporter) for ESLint

screenshot

Compared to the default formatter:

default formatter

Install

$ npm install --save-dev eslint-stylish

Getting started

Use it with:

ESLint CLI

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

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

License

MIT © Sindre Sorhus