2.0.0 • Published 2 years ago

eslint-formatter-multiple v2.0.0

Weekly downloads
1,530
License
MIT
Repository
github
Last release
2 years ago

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.