2.0.0 • Published 12 months ago

eslint-formatter-multiple-async v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

eslint-formatter-multiple

A meta formatter for eslint that will output to multiple formats

Install

npm install --save-dev @magarcia/eslint-formatter-multiple

yarn add --dev @magarcia/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 multiple when calling the eslint command.

2.0.0

12 months ago