An open API service indexing awesome lists of open source software.

https://github.com/halkeye/eslint-formatter-multiple


https://github.com/halkeye/eslint-formatter-multiple

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# eslint-formatter-multiple

A meta formatter for eslint that will output to multiple formats

## Install

`npm install --save-dev eslint-formatter-multiple`

## Usage

Update your package.json to have a new section:

```
"eslint-formatter-multiple": {
"formatters": [
{
"name": "stylish",
"output": "console"
},
{
"name": "checkstyle",
"output": "file",
"path": "eslint-checkstyle.xml"
}
]
}
```

Finally, add the `--format eslint-formatter-multiple` when calling the `eslint` command.