formatters-meta.json 1.1 KB

123456789101112131415161718
  1. [
  2. {
  3. "name": "html",
  4. "description": "Outputs results to HTML. The `html` formatter is useful for visual presentation in the browser."
  5. },
  6. {
  7. "name": "json-with-metadata",
  8. "description": "Outputs JSON-serialized results. The `json-with-metadata` provides the same linting results as the [`json`](#json) formatter with additional metadata about the rules applied. The linting results are included in the `results` property and the rules metadata is included in the `metadata` property.\n\nAlternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint."
  9. },
  10. {
  11. "name": "json",
  12. "description": "Outputs JSON-serialized results. The `json` formatter is useful when you want to programmatically work with the CLI's linting results.\n\nAlternatively, you can use the [ESLint Node.js API](../../integrate/nodejs-api) to programmatically use ESLint."
  13. },
  14. {
  15. "name": "stylish",
  16. "description": "Human-readable output format. This is the default formatter."
  17. }
  18. ]