{"name":"@commitlint/lint","version":"9.0.0","description":"Lint a string against commitlint rules","main":"lib/lint.js","types":"lib/lint.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/test":"^9.0.0","@commitlint/utils":"^9.0.0"},"dependencies":{"@commitlint/is-ignored":"^9.0.0","@commitlint/parse":"^9.0.0","@commitlint/rules":"^9.0.0","@commitlint/types":"^9.0.0"},"gitHead":"71f0194f33943954a8dac1c458be47e5049717cd","readme":"> Lint a string against commitlint rules\n\n# @commitlint/lint\n\n## Getting started\n\n```shell\nnpm install --save @commitlint/lint\n```\n\n## Example\n\n```js\nconst lint = require('@commitlint/lint');\n\nlint('foo: bar', {'type-enum': [1, 'always', ['foo']]}).then(report =>\n  console.log(report)\n);\n// => { valid: true, errors: [], warnings: [] }\n\nlint('foo: bar', {'type-enum': [1, 'always', ['bar']]}).then(report =>\n  console.log(report)\n);\n/* =>\n    { valid: true,\n      errors: [],\n      warnings:\n      [ { level: 1,\n          valid: false,\n          name: 'type-enum',\n          message: 'type must be one of [bar]' } ] }\n  */\n```\n\nConsult [docs/api](https://conventional-changelog.github.io/commitlint/#/reference-api) for comprehensive documentation.\n","readmeFilename":"README.md","_id":"@commitlint/lint@9.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"dist":{"integrity":"sha512-yFd6viZmFjyllg/MCYOKk6XKosFv5qR9JdQug28viIeNujlCuu2rFwlzCefa4+kHIMgOrnCXgfL70Fee2/Rb7A==","shasum":"bda4c3ec040a6ee9a12fdf885ae3fb246f8a7e51","tarball":"http://registry-npm.ywwl.com/@commitlint/lint/download/@commitlint/lint-9.0.0.tgz","fileCount":12,"unpackedSize":20232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexlHxCRA9TVsSAnZWagAA5aMP/1paWSvMoZurgOZb9tLj\nQCPa2J6B687+0B2jJHVyD4lsL4cB1MsSsHwTxy3cDnK0E34+zJGJoO0AnOe+\n7JdoEOZMebrLs7ZUw1a+pRLCAiFJ1+J/eEMWdTqupv5bZIuwJ0u9OU3c/CkR\nX/nzsJFEhaQYk3BwXMZEmjhKS45AN8Hi9NlIsfAsYFXGPKDhnjejSLODA2GC\neVj41Z9fIaMmsf9dkcS37IRYp8Oi1KpNa4KsTLYIDFbt1jGs8p2AJmfn4gr5\nTysprOd2GYAT+PIG2IxUpe09MgMd06VMK5cXEFIv0RUufgi9vpzZxI4J7qBW\nHWmxP7tIJUZwH8ZQlePt+qAUw00sRVbyIzpUIUDihz5BaezfYS7FGO+NVxCH\n0nDZAscdqhUS+0ByOqGLWKIFLg1mlpaYCyhnAgvJ7TnlE0u3Afqjlo73itxH\n6lMTyuDAAVWZqfkrPcYNfl+9BD5zKbJE8UyEk25D8wVUMoarE1nVxSkdPgmR\nFZDxXys/7UBJxSm/77jogsKuX0nv9z6k29SBFm8bnVN7cDx3M0yZdJ8kxF7Q\ns0RHneP6XB6l3tISfTGUvjxiVhI1c1RGC2YwDvt6JICVqdfr+K5DCqBEyQ9p\ntKU3p/teuBGuwICspe6Y8jqjAReAVtBbisgvuBH/M4iHxD4Xqf2po7lvviGl\n/BiN\r\n=A+aU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBf7W0Sm+ZhN97uI9tIZ1gAzl7P/S4lhJUw+k2eYGA8OAiEA5j2WsbTbNelJMmpRzTxUOljT18czMiHxtkAb/37il6c="}],"size":6061,"noattachment":false,"key":"/@commitlint/lint/-/@commitlint/lint-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"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lint_9.0.0_1590055408575_0.35390734208172714"},"_hasShrinkwrap":false,"publish_time":1590055408725,"_cnpm_publish_time":1590055408725,"dist-tags":{"latest":"21.2.4"}}