eslint-formatter-filelink-stylish
v1.0.1
Published
This ESLint formatter is a modifications of the stylish formatter to support autolinkable filepaths.
Downloads
3
Maintainers
Readme
eslint-formatter-filelink-stylish
This ESLint formatter is a modifications of the stylish formatter to support autolinkable filepaths.
Getting started
Install formatter
npm install eslint-formatter-filelink-stylish --save-dev
Use it with eslint CLI
eslint -f filelink-stylish .
or via nodejs
'use strict';
const CLIEngine = require('eslint').CLIEngine;
const formatter = require('eslint-formatter-filelink-stylish');
const cli = new CLIEngine({
useEslintrc: true,
cwd:__dirname
});
const report = cli.executeOnFiles(['example.js']);
console.log(formatter(report.results));