eslint-formatter-multiple

2.0.0 • Public • Published

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.

Package Sidebar

Install

npm i eslint-formatter-multiple

Weekly Downloads

8,714

Version

2.0.0

License

MIT

Unpacked Size

4.06 kB

Total Files

4

Last publish

Collaborators

  • halkeye