{"name":"@commitlint/config-angular-type-enum","version":"7.6.0","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular-type-enum@7.6.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":"9c3ffff18037b375a078eb704d118c7929968a49","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-7.6.0.tgz","fileCount":5,"integrity":"sha512-oWGBo6P7gN07qNczMeviq2dxenq1LOnJcXlF4EFj3ifje3EoQMvZicM2gJaqBAZ3K7ZMHrG5l/njL61wKyyikg==","signatures":[{"sig":"MEQCIA2D7ymhHOPOU1mwQwB/ky4xV3hZFbwNLHLq75f7cBALAiBTtP1/BdjzZ2boV3y+D5PW/EJuwHj4ZIOiBhiUgPU4Ew==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0MMMCRA9TVsSAnZWagAAd+MP/i7EshcZxH2orkU2DaWY\n3D3ik6A7iPB0qK98Y0Emva55o3pBH2VR3yVHrpDS2gCEZMJQkd3W2RtL42zH\nWoSxVHshqwoGv9RYXoh+f1EaUNG0nFZnhngzmAOPJAXr6KJC+TjIBA60TlFG\ngzoBvhf2QtfHiCQaNlsx3CUXrU6ixjIhdXAmMkCXnoZT+3K8aM9+AIYjFLFf\na+2HygWd4ZTaA7Bx/ualCdMUdmJ7AHFi8p7/NQgCNPex1PlIwZu8nq67liTd\nA9WnD6e7qdRtVi2HatEc7e0mVMubdkjK1kMwoCsBXpAATphgrrrebSeaZ+nY\nZQMad+Ub45UdrVg87kfo8qUFKV3nrsAq74+CpzIW8Uaj2Z8rfzaQ62QvTPYl\nUN+sv0vVGQpgJtXGs+QLHVLadtzP+LEWaUAW6JRYRhrnNJ1vc7GPvmBlK1Pb\n3Qs8sEDmc/MKDoL5k+O+cNDawo/uNtbVtM8WRBdrO41pR3IV961EVXSz0SQc\npPhtcmDhKyirTG6F1lTBtBGpNZshpkA3jwC0HxihLysmM2p4OKt8Wg4jSpO9\n/tkxnjEkKuBMkWmIHbydfGtzsIN7pc2lRoQMsVSnybfkW98gspXYqw3vb1un\n5Dcux6q3ev84wOeDLdcMaH2QSSPk6xQUCO55pr+y2ZcdPK7yaFCBjwHLpP8w\n5qHi\r\n=x6ZF\r\n-----END PGP SIGNATURE-----\r\n","size":2207,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-7.6.0.tgz"},"scripts":{"pkg":"pkg-check","deps":"dep-check","test":"exit 0","clean":"exit 0","start":"exit 0"},"_npmUser":{"name":"marionebl","email":"hello@mario-nebl.de"},"repository":{"url":"git+https://github.com/conventional-changelog/commitlint.git","type":"git"},"_npmVersion":"5.8.0","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"8.11.4","_hasShrinkwrap":false,"devDependencies":{"@commitlint/utils":"^7.6.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_7.6.0_1557185291793_0.44086469559032726","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":1557185291929,"_cnpm_publish_time":1557185291929,"dist-tags":{"latest":"21.0.1"}}