{"name":"@commitlint/config-angular-type-enum","version":"16.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@16.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":"a1e136fa380499fb39ca64be138fc41d6e54dbbd","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular-type-enum/download/@commitlint/config-angular-type-enum-16.0.0.tgz","fileCount":5,"integrity":"sha512-6Gn/Wh7tFiVHUK+bxiVMUZg6X7N6ArJLgaH39/23qK3/PkC0Y4FSJZf63YIS+EA/n5USHaBgBV88iduSTJU9rQ==","signatures":[{"sig":"MEUCIDdYmeKpT590OIjRo8kzC2jLXDTVjr1eIDXeYtYgR5kJAiEAl14gvMurAbGwg2KKuQRak4lCV0yPDwgZ8g4avHHggV8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyBHwCRA9TVsSAnZWagAAQ40P+wWGarExXPLQ0FyiIayZ\n+HoNWX8Xqpi6jVsM2hoSlk9OZnFEp27JfOZFfSkpg5XWldaMdlAfQkMaQCLj\n34QT2cmyFxNFyw4DO4DcygHwC/ONiyb9VOSaO9FGOq5tsIX5TqFKnXdQV5DM\n+Q6MKSowpaRl9rsH9Nty9r7vz7vBR6vCoGGckleYSeMUoceyewsLhBTvMMGY\nWhSaF6eVw4BXgkgZQyPr4Ak2siHl1gZC5sCuQCsmjdCfZCAJNcYe/aEze+WK\nd7nwYl2dP2e5OYIJLDY7j58rsXEW5UoOm/YL96j/UxT45k43W0zW+dq4aoNn\nk0QHZpoAD+zKGDimXsvSIk+X6ki0jgxVyr4jwR6U8iffI0ISAh9XZIC2VHx5\nSE2KxXwbi3F/mH5PO64CUq4ewmo42seLkw9jRBKitGceqXd+flEww/F2nVsa\nAMIh7efnihV+MJcnyvl1kw574hPmBWVBjarjnhWt5AoqdE1OlVwO74GnTIGk\nJxncroZA+4AD2qkRI80fvYf/MPFDf8O25jIJZisl409/fPmkTdIVCFjJFBhS\nFtHo/FwqOTmXbz0ynI6XAIVfCkmmrKKGfvoxQCPjAwldRkOufzZBkO2d30mA\nY+SKHVW0YXkeyWAE9DbAeyjnd0CWD1GE43jDCNYxB219YcFAjAlbEVoodZ9M\nhpBZ\r\n=zgn2\r\n-----END PGP SIGNATURE-----\r\n","size":2910,"noattachment":false,"key":"/@commitlint/config-angular-type-enum/-/@commitlint/config-angular-type-enum-16.0.0.tgz"},"engines":{"node":">=v12"},"gitHead":"a6bacf60d7dccf969677cdef48fd22f8a92b5f08","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@v14.15.0+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention types","directories":{},"_nodeVersion":"14.15.0","_hasShrinkwrap":false,"devDependencies":{"@commitlint/utils":"^16.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular-type-enum_16.0.0_1640501744323_0.2838761820820406","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":1640501744499,"_cnpm_publish_time":1640501744499,"dist-tags":{"latest":"21.0.1"}}