{"name":"@commitlint/lint","version":"10.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":">=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/test":"^10.0.0","@commitlint/utils":"^10.0.0"},"dependencies":{"@commitlint/is-ignored":"^10.0.0","@commitlint/parse":"^10.0.0","@commitlint/rules":"^10.0.0","@commitlint/types":"^10.0.0"},"gitHead":"3982e5a6bf0c28e4b1109e8516d7fdcfad411eac","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@10.0.0","_nodeVersion":"12.18.3","_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","dist":{"integrity":"sha512-KcDzOMQYVLziWIXNedTDnf5LS9NMYKzcdzjuCH8jTZLx/oX3kuOVB0jYZHVaKPwjj0miZSOhONqIMJDlLZpn+g==","shasum":"e235d502e09f0c76ede46a3f9bfb02c4acef7911","tarball":"http://registry-npm.ywwl.com/@commitlint/lint/download/@commitlint/lint-10.0.0.tgz","fileCount":12,"unpackedSize":21553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfONPrCRA9TVsSAnZWagAATH0P/iG976JgPrg2F4a0Q5wa\nXc3bEgTbd9jRQJIlsKHqp+sYi3jbZMzZRa2sii5SUbktIAM+iTi/ec6Jr68T\ntoNrz5eufZrakdhoEZhaMN4vapxQV8vZLo7K38Y2qZXYfJmDdnR5AwmBefJX\nxKyjIFdVzujKnuyn5EI+f9MjXU4UxUx5UyFg9139ppLYyirMMmSlJ9iUd9jO\n5NcIHccWT0dtQuYsJwPSp+XRXMY7XO5znaLjCL5+MB4dxEDV0a+nLHeBzNGZ\njZ6Dx30HRkAtCysIutJY1+M/RSzZg/jP1xW/GHyGMc4o2rsqrbiIiQf2f6ra\nvMEmJ6PA0jZ7wcfIjMLaI4kKlBtSpZpO/N5XprKjaddkA0G+wiSB1fwS5Exw\nXOFzUQXyw1GPABpuUTvkKBd4NsgICFXbYwllC3vl40J6ecB6LLjVeA3vxeIP\nq2Nh+NFF474frBYky3gzpKp2ejdXvLgJCOeWm903UTwSuuBXX6q7F7hI12WR\n79qrkvQHua8utqUDVmbQhZAIm9CNluWeaxwQbQQ+yBwkNDZ/Vh4fsiD5x8hb\nv4lZj7JZVOMuH9864GRRtHSED42DTBtD3iYVw5IfpCJW1eMT1K7AItlIMJpk\nJ3x61Q4SZdPb2aSPxU+7LHwUHayTLoXEDVLHvWruCUc8xYSRenRlhgyPatua\noyTw\r\n=VPft\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIyBH2HzNqQaFpb8QcXY5uTJc1IkRjbR/7EJer5OXvagIhAPBAhr6tN5oPRCEVkRGujAUTi7QT6tQTc4neRhxolDGb"}],"size":6375,"noattachment":false,"key":"/@commitlint/lint/-/@commitlint/lint-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/lint_10.0.0_1597559786646_0.18960115421995583"},"_hasShrinkwrap":false,"publish_time":1597559786755,"_cnpm_publish_time":1597559786755,"dist-tags":{"latest":"21.2.4"}}