eslint-stylish
Stylish formatter (reporter) for ESLint
Compared to the 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