{"name":"@commitlint/lint","version":"12.1.2","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.1.1"},"dependencies":{"@commitlint/is-ignored":"^12.1.2","@commitlint/parse":"^12.1.2","@commitlint/rules":"^12.1.2","@commitlint/types":"^12.1.2"},"gitHead":"9c6c793f63bb9c812a27721f9f13dc68e6c482f8","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').default;\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.2","_nodeVersion":"14.16.0","_npmVersion":"lerna/4.0.0/node@v14.16.0+x64 (darwin)","dist":{"integrity":"sha512-CP80ew2p7RzXXcwC7CFzjkqPpld+W28Ia7P+0P/SwJCdCoXjEyaj+6W0IMwu9w/9fYEyiLFTTjZfMRipnqem6w==","shasum":"3985c0fe6e00f45dadc1e1a1cdf84ab0ef7a4c31","tarball":"http://registry-npm.ywwl.com/@commitlint/lint/download/@commitlint/lint-12.1.2.tgz","fileCount":12,"unpackedSize":22630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgik6vCRA9TVsSAnZWagAA8NEP/3IWIJaHtm/A50XKmOS7\nBGSN4ToM+jQmWpj8BcTiyaLEJFfz+B3dsXD7KFwv0e+kGfsOEs0MNSHWB4AW\nVwclTvYjHrO9LtiKu7smiBGKXZdvEO3WvFFnoRi5SsEIghROhIj8S5PF0z0u\nSpFhIBNvobwsyFj11v+vj8TGn5CrNmFKuBsOG2HXH8xqNswHGae0qMVrd357\nHFeXEVfEbBdBFLDZLjWmcAg0Ru9dZxmkaxQfeFqmZ8GpF1foSYU85Hy2IlcO\nM5J5AW6esWsv/PWScUkzkuQ924dQbAwMbzyqSFq5U7uRXSDaHuxRye/GxqWC\nB6vUnX3CjnKLyVPmoVpx6MhB15WoW0TCXfHmvys0waro4Pm4OhRyEV4FliwG\nSWJ7iCl6PcWg2U0pA+3JynPtHKkKxcnv7sxnoTEKaWoIZ5sfa/6wOlULvwLR\ng7sdd6DcwNGRN9Zi2hQ04uJBNuymcMvcoKSWiabytYbE3D52IPOJfC2EhaH9\nsPoVHE0SAbwF0voXvhjBVBDgy9KGo1mu0CmhucYxa61TobYqxTSd9V8uFWMS\nAu8zE0kAuSSms9cECnmIln+O0gFUHRGFMAsKYeserw9Com/NF6PMTlHt+8xe\nVBWc5TaCEs/8EbnNJqtTmlZK2BF+omW4vhQLviM7k6qfM0boecxSBdBJ8uoe\nW00P\r\n=/blb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDB4nDe5+rT0SsxKQsyPOgUQISa+L3vE9V1GecQatyUkAiBxclRChrWGJKPs/QNpZKOsDzjB9UtzCNLWJbbY/8cSMA=="}],"size":6505,"noattachment":false,"key":"/@commitlint/lint/-/@commitlint/lint-12.1.2.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.2_1619676846483_0.3936603189851553"},"_hasShrinkwrap":false,"publish_time":1619676846655,"_cnpm_publish_time":1619676846655,"dist-tags":{"latest":"21.2.4"}}