{"name":"@commitlint/config-angular-type-enum","version":"10.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@10.0.0","maintainers":[{"name":"bycedric","email":"me@bycedric.com"},{"name":"escapedcat","email":"npm@htmlcss.de"},{"name":"marionebl","email":"hello@mario-nebl.de"},{"name":"martinhelmut","email":"info@martin-fieber.de"}],"homepage":"https://github.com/conventional-changelog/commitlint#readme","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"dist":{"shasum":"a7b27471594012e55064387c0336a33091c481b5","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-10.0.0.tgz","fileCount":5,"integrity":"sha512-X5a49ILf5Kxhz5ME0/VsQwh7RY+i1p47ajE11u61eC4D6VmFckth330dW+IRYnhdc9SOJByJi3aLTHBDQxYnQg==","signatures":[{"sig":"MEUCIQC6b56/03NdMpOiw7kCdXlAg3CAQP7pj31kOzMjc1lPQgIgFv1pEf1D9Q+W35XT1t+I8ri/9uk4/sESEalYLrctxiE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfONPWCRA9TVsSAnZWagAAPoQP/3geiQNEM2YbfnNEUefu\nlJwE38SCm158J2JZ2UuTrn4OIcqjMr8i8bXyUmuU53HEnoyTNh/yhZJJTzxX\nr0aORi+m53Yl7YbN2dvkCGhfgaPV4VOhAcwcUoJ7EY8OzPfH87zc31mpH1Jw\nJvQN0tsUGMg7+mQa+yUBLMflYO2tHqDdATAz5jlLfHjwVBMJx/R2Y3BBmrGw\nFrMGEp1EVsNeTA9KD7twSCuHA1SngeacINWnLrbpnLdZchnq5QQn2naiu6fQ\nCOpvyg7pqR6d0QX8icPIyeqSwr8kuII1BzRTpXXj4VpGC6PVTBukfJVm8y1j\nfrsaLFX06h0Sbi2f+mu/cFX7oxcnSPgGmwIuhEqGCySTB5mE8xuHwjvalLVO\nY9PaXQdmkFA+uvn+mo/tF2xB8aA8/uioobYBAXwvDczO8b9qyay13rojq8Mn\n2ptsiXTNUg4geRXhgpm16XBmfbamyGBeWe73nH9Pn81yr2Oc3lAB+qilU/Mr\nY2svf/H/ys6ggGysV/XfhfL5dSdyIaF3Cd+k02+AEb8F5oUPbWBVs/paCfR/\nTmylxNhr7I0FzCM8WJ4ShLm4678jCTFVY2gJvEmDUPcMMCl4uTv6CxxH9ieO\nVP/WdWsVRJLTEwIqamOOOc+P9Q9sDRUZHCk7Sr4+4WB3C7hY8+fPG/otZ62T\nnHBP\r\n=Vq9V\r\n-----END PGP SIGNATURE-----\r\n","size":2645,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-10.0.0.tgz"},"engines":{"node":">=v10.22.0"},"gitHead":"3982e5a6bf0c28e4b1109e8516d7fdcfad411eac","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"},"_npmVersion":"lerna/3.22.1/node@v12.18.3+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"12.18.3","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@commitlint/utils":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_10.0.0_1597559766404_0.8778550704347516","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":1597559766521,"_cnpm_publish_time":1597559766521,"dist-tags":{"latest":"21.0.1"}}