https://github.com/halkeye/eslint-formatter-multiple
https://github.com/halkeye/eslint-formatter-multiple
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/halkeye/eslint-formatter-multiple
- Owner: halkeye
- License: mit
- Created: 2019-07-04T19:34:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T10:13:06.000Z (10 months ago)
- Last Synced: 2025-01-17T10:06:50.104Z (5 months ago)
- Language: JavaScript
- Size: 240 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.