{"name":"@commitlint/format","version":"10.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":">=v10.22.0"},"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":"^10.0.0"},"dependencies":{"@commitlint/types":"^10.0.0","chalk":"^4.0.0"},"gitHead":"3982e5a6bf0c28e4b1109e8516d7fdcfad411eac","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@10.0.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-EpCmMCcjloeaoUtgmzlpYmIYJzAvZhYfLJ7YCrOlnmt5/MAeywuNgxcr/EM2xHgEKotTWqRQdiIgAtkIWHhgrQ==","shasum":"b48bde8973d1e22c5ef44042b631bad67c89500b","tarball":"http://registry-npm.ywwl.com/@commitlint/format/download/@commitlint/format-10.0.0.tgz","fileCount":12,"unpackedSize":18683,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfONPgCRA9TVsSAnZWagAAb0gP/Rs9aUGsytV/x+8eGh4z\nEfiy5IeoiKivs8ndWBaud4s2mbpA7sXdkdTs/LXIfH7oWfKmvgKd3ULFELeQ\n0pLFlsiYJ0PEXLKcsHIoNmQ6q30oV7hbi9oGHyx11wxTapOOI7LDi/qmMDgW\nwwgG6ipNMoHWfY8hXz2MxXrV8y4QGPAHU/xU+vaD/d2nEAIHlT24bu8e/no5\nQVV/25QTrUSqIWAgObUkNNgg22LlqkBFlOYRjN8QPnA/hk7wWSaTSrut1J7/\nIMLvnN4pESuCkM6HjLeod297ChQ+gBYmQRZAQUqKIETO6yho75MVEpSGKTqw\nlEK5V55qE3krafUu498CxBv/rVCMPHBq6PhcAd2B19+PCfkUraX48ISWbgoF\n7K1OQ9iIqwcZafkfkTEmzXL5s1pNFwDPUeY1q0VaMVxjlpbnutVqYnSRXUx7\nv6MBJAoLNxwNxtvw/6LjC0DgU9DS/heqilOLfyFz0owA3/EHckGlvs+XkpYc\nn9e4DZrNZqgnkPzt8E4cQsc1V0FEtnDybRviIKL79x950yVEjwGDd0I0Iml2\n5qGbpm8OEFwDEgVotpLXZSHReE9TtT9cok11keosDsdpdiS7msLdsINcLesq\ndWXsMdVhSLUQ3iVSQT25KVzsT6hHTtQ6UMhGmq2yIPtS56iAUr9du1oEO5G2\nZqDy\r\n=N+7j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHo2gKWoTIUGmlbMnVLonsLvvZju9Px7+lME/fpDSri+AiAwGRU9314HUf2iruHP/jhxwE2c7iyWJzDp49yN79Ek3g=="}],"size":5684,"noattachment":false,"key":"/@commitlint/format/-/@commitlint/format-10.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_10.0.0_1597559775717_0.2104749534075332"},"_hasShrinkwrap":false,"publish_time":1597559775849,"_cnpm_publish_time":1597559775849,"dist-tags":{"latest":"21.2.3"}}