Nostradamus Prophecy Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

eslint-stylish-mapped

1.0.0 • Public • Published

ESLint Stylish Mapped Formatter

This module is a hybrid between Sindre Sorhus' stylish formatter for ESLint and Bart van der Schoor's eslint-path-formatter to give you stylishly formatted and source-mapped eslint results.

Usage:

Install with:

npm install eslint-stylish-mapped

Then add it to ESLint via the formatter option, e.g. for grunt:

grunt.initConfig({
    // when using eslint-grunt:
    eslint: {
        options: {
            formatter: require('eslint-stylish-mapped')
        }),
        source: {
            //..
        }
    },
    // when using grunt-eslint:
    eslint: {
        options: {
            format: require('eslint-stylish-mapped')
        }),
        source: {
            //..
        }
    }
});

install

npm i eslint-stylish-mapped

Downloadsweekly downloads

78

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar