eslint-output
Getting started
npm i --save-dev eslint-output
Next Steps
- configure eslint using
.eslintrc
- create an npm script in your package json eg.
"eslint-output": "eslint-output"
- configure eslint-output with
.eslintoutputrc
placed at the root of your project's directory. see example below - run
npm run eslint-output
Example .eslintoutputrc
{
"files": ["."],
"formats": [
{
"name": "stylish",
"output": "console"
},
{
"name": "junit",
"output": "file",
"path": "tmp/junit.xml"
}
],
"cliEngineConfig": {}
}
NB:
Notes
- pull requests are welcome