{"name":"@commitlint/config-angular-type-enum","version":"17.8.1","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular-type-enum@17.8.1","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"}],"homepage":"https://commitlint.js.org/","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"dist":{"shasum":"73064b2a3fb35cf41d288ceb171878130295b800","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-17.8.1.tgz","fileCount":4,"integrity":"sha512-vuIQ9rZckMPRM6I3mWzfWb7TfvE/yHJXNKaR2weuhf+lQEVSZSGQP3LwdXpMcT2QGKE9VAhU/jw0qIE0Z9EbHA==","signatures":[{"sig":"MEYCIQC4+Ji1gqqwQe4isTN9UIMxisZnYHc5NvRm5Wr92rN0WgIhAK8uNFdiLp63xJcgc87MczILw9wAhg4xaikSsZrTeDbG","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3139,"size":1674,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-17.8.1.tgz"},"engines":{"node":">=v14"},"gitHead":"75b2a1264ac699dbaead2249282b6dca18ae3008","scripts":{"pkg":"pkg-check","deps":"dep-check"},"_npmUser":{"name":"escapedcat","email":"npm@htmlcss.de"},"repository":{"url":"git+https://github.com/conventional-changelog/commitlint.git","type":"git","directory":"@commitlint/config-angular-type-enum"},"_npmVersion":"lerna/6.4.1/node@v18.16.0+arm64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"@commitlint/utils":"^17.8.1"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_17.8.1_1697803743569_0.30116487395083946","host":"s3://npm-registry-packages"},"readme":"# @commitlint/config-angular-type-enum\n\nShareable `commitlint` config enforcing the angular commit convention types.\nUse with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli).\n\nSee [@commitlint/config-angular](../config-angular) for full angular conventions.\n\n## Getting started\n\n```sh\nnpm install --save-dev @commitlint/config-angular-type-enum @commitlint/cli\necho \"module.exports = {extends: ['@commitlint/config-angular-type-enum']};\" > commitlint.config.js\n```\n\n## Usage\n\n```sh\necho \"foo: bar\" | commitlint # fails\necho \"build: bar\" | commitlint # passes\n```\n\n## Examples\n\n```js\n// commitlint.config.js\nconst types = require(\"@commitlint/config-angular-type-enum\");\n\n// Use as rule creating errors for non-allowed types\nmodule.exports = {\n  rules: {\n    ...types.rules,\n  },\n};\n\n// Warn for non-allowed types\nmodule.exports = {\n  rules: {\n    \"type-enum\": [1, \"always\", types.values()],\n  },\n};\n```\n","publish_time":1697803743719,"_cnpm_publish_time":1697803743719,"dist-tags":{"latest":"21.0.1"}}