{"name":"@commitlint/format","version":"8.0.0","description":"Format commitlint reports","main":"lib/index.js","scripts":{"build":"tsc","deps":"dep-check","pkg":"pkg-check --skip-import","start":"concurrently \"yarn test --watchAll\" \"yarn run watch\"","test":"jest","watch":"tsc -w"},"engines":{"node":">=4"},"repository":{"type":"git","url":"git+https://github.com/conventional-changelog/commitlint.git"},"bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"homepage":"https://github.com/conventional-changelog/commitlint#readme","keywords":["conventional-changelog","commitlint","library","core"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","devDependencies":{"@commitlint/test":"^8.0.0","@commitlint/utils":"^8.0.0","@types/jest":"24.0.12","@types/lodash":"4.14.123","concurrently":"3.5.1","cross-env":"5.1.1","jest":"24.7.1","rimraf":"2.6.1","ts-jest":"24.0.2","typescript":"3.4.5"},"dependencies":{"chalk":"^2.0.1"},"gitHead":"29d1cee10ee7734a85d97ef039c4ce2da633628c","readme":"> Format commitlint reports\n\n# @commitlint/format\n\n## Getting started\n\n```shell\nnpm install --save @commitlint/format\n```\n\n## Example\n\n```js\nconst format = require('@commitlint/format');\n\nconst output = format({\n  valid: false,\n  errorCount: 1,\n  warningCount: 1,\n  results: [\n    {\n      valid: false,\n      input: 'some: commit message',\n      errors: [\n        {\n          valid: false,\n          level: 2,\n          name: 'some-error',\n          message: 'This will show up red as it has level 2'\n        }\n      ],\n      warnings: [\n        {\n          valid: true,\n          level: 0,\n          name: 'some-hint',\n          message: 'This will not show up as it has level 0'\n        },\n        {\n          valid: false,\n          level: 1,\n          name: 'some-warning',\n          message: 'This will show up yellow as it has level 1'\n        }\n      ]\n    }\n  ]  \n}, {\n  color: false\n});\n\nprocess.stdout.write(output);\n\n/* => [\n  '✖   This will show up red as it has level 2 [some-error]',\n  '    This will not show up as it has level 0 [some-hint]',\n  '⚠   This will show up yellow as it has level 1 [some-warning]',\n  '✖   found 1 problems, 2 warnings'\n] */\n```\n\nConsult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.\n\n","readmeFilename":"README.md","_id":"@commitlint/format@8.0.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.14.1/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-dFxKGLp1T4obi7+YZ2NcSAebJA/dBQwnerRJGz0hWtsO6pheJRe+qC50+GCb2fYGWUc5lIWawaRts0m7RkFGUw==","shasum":"f7c858d9057e1da6856be211ad049c5b9a66185b","tarball":"http://registry-npm.ywwl.com/@commitlint/format/download/@commitlint/format-8.0.0.tgz","fileCount":12,"unpackedSize":17725,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc56YBCRA9TVsSAnZWagAAZR4P/0Oug0l9XAAw8CIRZOpU\nrsrwxOQyiioLsqTiustiRO2Jpk3H7+QyvlaD7g/iX2sleRCvCwaxjMKwUdro\n9zMO9uUVWlDyh33YDduzcu7RBGiHhllWKsdpRjNlsJMu7Qw8QwxgVxeqevgv\nQ65/kYnZld+O3zrIShGbCh13p8w+feYoTWNTKxzshm9sCuVPpSJeQTqihYrK\nbZhYjPejrK12oo1Pa0fdOX0b/e9C2kqqsR/bJ88FGP4ehiFts/MtKKgTw6LS\nt/Z35PctQ44ec5hRfXnRv8ZxZ53Zdo6mbLXSErKAPC/gcSAiLyGhz2xnJkDW\nzudx5ncUO/QNa8UFMpp9+LWi7KwXkAdqMdR3rer5R8Zu3oNV6/gpefA9qtH2\n+MQ8hm8LGYG4o5W7apbvYxpTQ1UTtoUq++dObiCSoapNsxWyRAhfqvpBttVK\nJcZXZ6FX32J/JL3gTyZUW5yMAl/axCnczOw9o7/F60pFT+782Ef3cfl4bl4W\nIfzMrmj8vO9u5i8tVpXaYsHEe6lzoFoMFTwtjV1n2F6scExSkiQ/3hYwUdNm\nTafWHGIdjp32Cx0bk33tClo6fooByH0kO7GXVqqT/qzOhXmX/Uy7tj6jNeZH\nt300Y9kIM4vJXGSo5uV8lpFi2SqdBhtbNaPUYLTwXHR7niikYetUo4plgQDb\nYoYX\r\n=Ji94\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzfdBLkeNtoTfPp3xyTn33nTilGLa4LPK83HxjQISDXAIhAPxYjPoik5nnZEtbCyz1AbZYHJwaZUhRLKOOFNddlF24"}],"size":5729,"noattachment":false,"key":"/@commitlint/format/-/@commitlint/format-8.0.0.tgz"},"maintainers":[{"email":"me@bycedric.com","name":"bycedric"},{"email":"npm@htmlcss.de","name":"escapedcat"},{"email":"hello@mario-nebl.de","name":"marionebl"},{"email":"info@martin-fieber.de","name":"martinhelmut"}],"_npmUser":{"name":"marionebl","email":"hello@mario-nebl.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format_8.0.0_1558685185219_0.24798755737087075"},"_hasShrinkwrap":false,"publish_time":1558685185361,"_cnpm_publish_time":1558685185361,"dist-tags":{"latest":"21.2.3"}}