{"name":"@commitlint/format","version":"9.0.0","description":"Format commitlint reports","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"deps":"dep-check","pkg":"pkg-check --skip-import"},"engines":{"node":">=8"},"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/utils":"^9.0.0"},"dependencies":{"chalk":"^3.0.0"},"gitHead":"71f0194f33943954a8dac1c458be47e5049717cd","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  {\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  {\n    color: false\n  }\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","readmeFilename":"README.md","_id":"@commitlint/format@9.0.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.20.2/node@v10.15.3+x64 (darwin)","dist":{"integrity":"sha512-Iobv40eN/0C0zQIqNUJLzrD9e4Mrhcfk2EetjIWmMuFIR+SWHK0x/sADG+hSOL36C6qMuIcw2NxjtwkAJmOY3Q==","shasum":"aca7e1fcb89b097992ca82634107a0c118ff69ab","tarball":"http://registry-npm.ywwl.com/@commitlint/format/download/@commitlint/format-9.0.0.tgz","fileCount":12,"unpackedSize":17752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexkhSCRA9TVsSAnZWagAAtdsP/imR8oOUix0s8mfnFWcr\nvVNbnDu7ciOUpLkZObhE1RemjNet8k7o04QioE6ziOZl8ZbukgPLwE4Ss3z2\ng4cPQaGJFt1bKKher5nBf7SeoQNrafUnPNAX3RVQ8KJmriNre6cjxAvRREOO\nCzBWIr/suX9dhLDL65coQA6tDE32a2kKGRTCn7ZGEcRB959BCPNcVwFTmA/U\nb3umE4he2eXQiALV5blG0YSHPeYPY6Qn6/gQphCx+uBWNNtSr3ZxQ94gkqNF\njz+AeeAesYHygW9irRPZEvZjyN5gVNLg7yoOvhDlNfhnQV5BkA2HR027uOST\numWbA7IWeoVqUaM27UACe3xD29HdATuAWcxARPLORfeRBBpgqPumbrUvHzJs\nTZgSYXdorMY60NQszuHa1hga/CW2EcdNeezss6QwJWOSy8cCAN5z33pK2kYY\nzjd5gcT1RqT9qn8UQH39WE9ugCYZvF14vEewbx2NPAXwZe/aEx7ClXLWBlaV\nPNLoEC9AWkuWU9QtoOGb/BhdbdqF1PuCFzgCV0yrV7Iuf2wz+9LG5ozd8g9Y\nIa3vUmXOKgUUDm6pf+vsO3d5W1xMwjGDmKWaNd9KCdMEGoT8Q5JZqhUl01RW\npR96HiuJIPtMMlrwab04ElbrCJyuENruIbCu1jdC75FhynEq8brwQkxzexli\nUhlK\r\n=TQX2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZTqqwOURgL/Pf5dRbw/ecY76rsgq+CNG8cl2YRfBVzAiBXXCNYiPOtf5fjy8/Zc4It2aXfxjB9UooNSbZZnzyvHg=="}],"size":5438,"noattachment":false,"key":"/@commitlint/format/-/@commitlint/format-9.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":"escapedcat","email":"npm@htmlcss.de"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format_9.0.0_1590052946365_0.037717732443452334"},"_hasShrinkwrap":false,"publish_time":1590052946541,"_cnpm_publish_time":1590052946541,"dist-tags":{"latest":"21.2.3"}}