{"name":"@commitlint/config-angular-type-enum","version":"7.1.1","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular-type-enum@7.1.1","maintainers":[{"name":"marionebl","email":"hello@mario-nebl.de"}],"homepage":"https://github.com/marionebl/commitlint#readme","bugs":{"url":"https://github.com/marionebl/commitlint/issues"},"xo":false,"dist":{"shasum":"971be030aac7bb9566c205e68e8c6f5275493d76","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-7.1.1.tgz","fileCount":5,"integrity":"sha512-8FEEdsBsOW/MbGV+Qf8HQePP3TlE8TfrsSemufJNtdNNpPhEHjpToIxa77V4LrwwSKm7GJ3X2gMmsYAQYuO7iA==","signatures":[{"sig":"MEUCIEqPXnRn1zgaGXS6+btwRFIX7nVTCKzCehb71FziDbSfAiEAw+1kS5WXz7FsgbSh3dy6DpkBsQDm1X9clsmLxEH9zQk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhpsACRA9TVsSAnZWagAA2pEQAI9S2SOWpCNIaBB08Mta\nltvAY8mfC7iC1WoBpTq9PVofqB6g2iFUk5JzgAU/WR4WzCVGQR2t5+sntyXu\noEphF4XwXUaLkawADDdO0kvu0DRbjmnJigMgOxTWjQKpOtm0N31wkiU72XTv\nL52nI/aYq6JpdkKX3nEz8KYbiy5JATOfHBNKB66Th4rqimF1dQMb7FGC0fEN\nSpvVbQpd6XiWDXOoYdP9YtzijDFj1aoYEnuvXpNahQyZwAivX98JlYWsWUUu\nvGJm/0mqxRasjxDQ+v3jmgAHAJTSSBbH5sgaMxc07vAXn/XLB0Xvb4a9jGxQ\nSUDYgkwsWAmEi54R7LODMkPl3QM+I1Q27KBDlZE8pC2gs1Hmw0rcfV2nSVS+\nkY+zrFOrGitb4KVGOPBA3ocNOY0l/ETYiDnWpkwlTyz194/rO1IVIl4hWm8W\n7OT2ZNuYxzWVparAQ0VPiYRkMN6GH2OKlrmou+TWEMLFRrmrVwtm96haLEyJ\nxYeJ/dZzX8mj5DEsY9FAdTBQAhbkU4TcjczwSLYnIYTpAidvhw6Gk4BhRKCY\nZ/d/GqbXKXlLTS+7M1gO4zqP6epqZ5L8e0+2id6r82UH7cFKc8TDLvEroOQF\nISGEO5pM+XbjrHieO/m9rFgbbDdp3/ZeuAPQs+ThYRhRBgabypJVkdX4jPut\nH+mo\r\n=R7+T\r\n-----END PGP SIGNATURE-----\r\n","size":1421,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-7.1.1.tgz"},"scripts":{"pkg":"pkg-check","deps":"dep-check","lint":"xo","test":"exit 0","clean":"exit 0","start":"exit 0"},"_npmUser":{"name":"marionebl","email":"hello@mario-nebl.de"},"repository":{"url":"git+https://github.com/marionebl/commitlint.git","type":"git"},"description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_hasShrinkwrap":false,"devDependencies":{"xo":"0.20.3","@commitlint/utils":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_7.1.1_1535548160115_0.6096259106807433","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":1535548160288,"_cnpm_publish_time":1535548160288,"dist-tags":{"latest":"21.0.1"}}