{"name":"@commitlint/config-angular-type-enum","version":"5.0.2","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular-type-enum@5.0.2","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":"331020f9435d1f981d757b5bc5a1ccf6755792c7","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-5.0.2.tgz","integrity":"sha512-Jk/o4M42WeP58wsj15t7SdjQxv1R/JSGBlYfuS8k7c7bQWw5BytblYy0pbxiDpGU0nL/+Lc+6eHzG/GHH/foBg==","signatures":[{"sig":"MEYCIQCjw+nW6OmiIaXE1L4aogy5XTLroVAocPTcKRzpDhbGMAIhAMpchkB2sz0Trpzp+PjbtTeq9XFzP37NpnydrswgC74s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":2429,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-5.0.2.tgz"},"_from":".","_shasum":"331020f9435d1f981d757b5bc5a1ccf6755792c7","scripts":{"deps":"dep-check","lint":"npx 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"},"_npmVersion":"3.10.10","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"6.12.0","devDependencies":{"xo":"0.18.2","@commitlint/utils":"^5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum-5.0.2.tgz_1511474000837_0.002137274481356144","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":1511474001837,"_cnpm_publish_time":1511474001837,"dist-tags":{"latest":"21.0.1"}}