{"name":"@commitlint/lint","version":"12.1.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"},"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":"^12.1.0","@commitlint/utils":"^12.0.1"},"dependencies":{"@commitlint/is-ignored":"^12.1.0","@commitlint/parse":"^12.1.0","@commitlint/rules":"^12.1.0","@commitlint/types":"^12.0.1"},"gitHead":"70f7f4688b51774e7ac5e40e896cdaa3f132b2bc","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@12.1.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-RZEdLZKx+JIBMG4HOemlgU04JQGHU9FZALbjscHZYBofnFfxr95izdP6n5sVIK542/BYpcwXWhqQ06jS8f7U5g==","shasum":"11b1d72982a67575ea2f666ec1fd88c3f193e925","tarball":"http://registry-npm.ywwl.com/@commitlint/lint/download/@commitlint/lint-12.1.0.tgz","fileCount":12,"unpackedSize":22286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQy9bCRA9TVsSAnZWagAAYEUQAIVJ63ITm92imGgZ+U+P\neId0GzHalNxNktkx5LL00WhyQAE1y+WMvVSp8+5JUXbDZ9ysV8zACNW3c+Xt\njm5mxPVSueZI4lMg03LSQ6zP/zQYzw5Jf2RAYD9sQJqILywEsaG1qJ6GQ1vt\nT9FvV/E53TktintKuU9aqWwL+DFsaE6fK3VaZWZVf/cp3ojEIHC7v37MuYfo\nIBbEfVdMBTQ+d24rJHmnfmlAhOV83bVuYg/7Wa/8AvmsOje5h/PUMD9Pi90K\nqHuvJ4WXdX6rbux7vywSMEBajmWVYt5C+pzaxaagrNFfQ+mYxclujZOXpsVF\nHy8u0QO+iF4XWsbeme3cZHK0vwH842rbpaltwUijnG98JRY7RlBrTXtDa34N\nJDkcMvUvfabqCncjd8N5R2baLFIE4Kfr4gSMb9QAx8MWFZZOS3D7JOFVrx3n\nc4jaxuTukna5w2auXhIJ2bmq7FiJMSv+55YyVx1NZgR2DFtCOQn1b4UMotjB\nnQzxVSlrWoPpzn105yJQA2oksQXC3Gc9BEXGAXSVGdmIvJEyHIF4OQbN3u9o\neOuzmwmoNOltt9deI1i1LtvhxTXKl1Tu0lunillPadEMICEzbWYCqoqaFB3N\n2Xp1zLUvF+6Krx6GFFNxNaVvjW6PikxikvGoUVhvPWHbh46MRr40Rnv8QdCF\nMnh8\r\n=x4Fu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9Z1J6GQs8AxsLi+ElpM2vjOWgjQha1oPW4P/fCQjR4AIgHAxOjAh+vKl0cG7xrFlM21DqAXh2BxENzSENHQY+TwE="}],"size":6469,"noattachment":false,"key":"/@commitlint/lint/-/@commitlint/lint-12.1.0.tgz"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"directories":{},"maintainers":[{"name":"marionebl","email":"hello@mario-nebl.de"},{"name":"martinhelmut","email":"info@martin-fieber.se"},{"name":"escapedcat","email":"npm@htmlcss.de"},{"name":"bycedric","email":"me@bycedric.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lint_12.1.0_1615015770837_0.4622552569371181"},"_hasShrinkwrap":false,"publish_time":1615015770989,"_cnpm_publish_time":1615015770989,"dist-tags":{"latest":"21.2.4"}}