{"name":"@commitlint/config-angular-type-enum","version":"14.0.0","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular-type-enum@14.0.0","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":"29f05fc212b4320e11b1a6bf538d68bba7178464","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-14.0.0.tgz","fileCount":5,"integrity":"sha512-c4MX+h4+8TmqELehb6IJfGQ7v/Wp07OfJQpnSnUPksHskjCkojrVnX3JI9Z5BtK7KQHCzJlI6j1CcvehnLSzWw==","signatures":[{"sig":"MEUCIQCcAvrmVpOkLBJr10AUnQw87b9Wk4WLQQSWO2wGJ9VMYgIgfUJYSoOJQ4hFL1/dnoeoAWzN2Zz2ilAPNJgv27aqlvE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10190,"size":2875,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-14.0.0.tgz"},"engines":{"node":">=v12"},"gitHead":"0bb3487f8ca0cd8e67977c089f65037ea2c7788b","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/4.0.0/node@v12.22.7+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"12.22.7","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@commitlint/utils":"^14.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_14.0.0_1635224156760_0.7396805772534389","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":1635224156906,"_cnpm_publish_time":1635224156906,"dist-tags":{"latest":"21.0.1"}}