eslint-stylish

Stylish ESLint formatter (reporter)

MIT 7 个版本
安装
npm install eslint-stylish
yarn add eslint-stylish
pnpm add eslint-stylish
bun add eslint-stylish
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

版本列表
0.2.0 2014-01-09
0.1.5 2014-01-03
0.1.4 2014-01-03
0.1.3 2013-10-27
0.1.2 2013-10-27
0.1.1 2013-10-12
0.1.0 2013-10-12