{"name":"@commitlint/config-angular","version":"9.1.0","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@9.1.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":"5c1f9f9db13cf3dad2c1a68cbf5e7e004a7a0be3","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-9.1.0.tgz","fileCount":5,"integrity":"sha512-Uz/vbfSfbhRr/+J6nmZTZWXHwZfjvaQmhVpSej3t7XgEkSAoMrsqPPHx4v1dPp5xajmVW69fZFtP1gGBnI/ziw==","signatures":[{"sig":"MEUCIDfVf//sRv81mFcY5RFu9ToviG/lrH2wAPl1IDnZ/KG5AiEAvUr8MaNMrZk70iuhc2mLPmN5ccQ7qkILXv1E4el1RwI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7w4LCRA9TVsSAnZWagAA2BcP/jgMYTyOPwpK8HMVciVC\nViDU2x9oBoNKdOuVICasZXakT2IMZbKmVFc8CLg/dsOJVxVHw2QCaCfzREHY\nwutaH7Inx7I8vtWVLjk99nAHHdEMsmc/pQmsJxwpEbfwSB6D6hguZek08MF0\naGgisqapUgtkdmlaq4xdy7gNWO//B5YEiQ0p/ryWIxzfbYBXD8UJ0Ak1qOHG\npwAXqlDKiI3reaySYIV4813MVy5IFR8/Q777OBTeKbQ4GGwM0u4Q3cVnBkg6\nN+aEZTgPmEp9Trr5Fsn7619EXeY//u6QrQBp9NC3OLgvSCHxpZuiwng+gaj7\nu5RBfWHTxM3yGlPtuAO1Q4Fsy+WVEwE53Ry3Oai072nhGpJQv/vVI+y5qyRw\nedVdjgvby4V/BHd0tu4FofKaj4Wduo502ptL01OE9yki+9b7GZ68gqR0z7sq\nrReL8z2pyfuPqNaT6q6fDytzlEFeQRXfDed6ItFv0LbkxCFOBLAn+qCNB5pH\nLK9XCs+CiT37zVnKtLzRWBcWqIvrJr0F2ZIMfGA/orHhth7FmuOr+AAZyd6F\nTYYz/mhYMmObbuYHYWu6qXmb55wzBWqXhFHdMzXmAmHIlbalm7rpqaGiv2ua\nguvHpF8aGSolZkHHVdxlbTFZV4uciVrgYaHSbo+Gfz7+T2sruvu5r8qvCEmg\ngU/l\r\n=c9cT\r\n-----END PGP SIGNATURE-----\r\n","size":3204,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-9.1.0.tgz"},"engines":{"node":">=8"},"gitHead":"c9f5c5cb3f995362c760308f114b6319c0e55ce3","scripts":{"pkg":"pkg-check --skip-import","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.0+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"12.18.0","dependencies":{"@commitlint/config-angular-type-enum":"^9.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@commitlint/utils":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_9.1.0_1592725002934_0.5036887547944275","host":"s3://npm-registry-packages"},"readme":"# @commitlint/config-angular\n\nLint your commits, angular-style\n\nShareable `commitlint` config enforcing the [Angular commit convention](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit).\nUse with [@commitlint/cli](../cli) and [@commitlint/prompt-cli](../prompt-cli).\n\n## Getting started\n\n```sh\nnpm install --save-dev @commitlint/config-angular @commitlint/cli\necho \"export default {extends: ['@commitlint/config-angular']};\" > commitlint.config.js\n```\n\n## Rules\n\n### Problems\n\nThe following rules are considered problems for `@commitlint/config-angular` and will yield a non-zero exit code when not met.\nConsult [Rules reference](https://commitlint.js.org/reference/rules) for a list of available rules.\n\n#### type-enum\n\n- **condition**: `type` is found in value\n- **rule**: `always`\n- **value**\n\n  ```\n  [\n    'build',\n    'ci',\n    'docs',\n    'feat',\n    'fix',\n    'perf',\n    'refactor',\n    'revert',\n    'style',\n    'test'\n  ]\n  ```\n\n```sh\necho \"foo: some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### type-case\n\n- **description**: `type` is in case `value`\n- **rule**: `always`\n- **value**\n  ```\n  'lowerCase'\n  ```\n\n```sh\necho \"FIX: some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### type-empty\n\n- **condition**: `type` is empty\n- **rule**: `never`\n\n```sh\necho \": some message\" # fails\necho \"fix: some message\" # passes\n```\n\n#### scope-case\n\n- **condition**: `scope` is in case `value`\n- **rule**: `always`\n\n```\n'lowerCase'\n```\n\n```sh\necho \"fix(SCOPE): some message\" # fails\necho \"fix(scope): some message\" # passes\n```\n\n#### subject-case\n\n- **condition**: `subject` is in one of the cases `['sentence-case', 'start-case', 'pascal-case', 'upper-case']`\n- **rule**: `never`\n\n```sh\necho \"fix(SCOPE): Some message\" # fails\necho \"fix(SCOPE): Some Message\" # fails\necho \"fix(SCOPE): SomeMessage\" # fails\necho \"fix(SCOPE): SOMEMESSAGE\" # fails\necho \"fix(scope): some message\" # passes\necho \"fix(scope): some Message\" # passes\n```\n\n#### subject-empty\n\n- **condition**: `subject` is empty\n- **rule**: `never`\n\n```sh\necho \"fix:\" # fails\necho \"fix: some message\" # passes\n```\n\n#### subject-full-stop\n\n- **condition**: `subject` ends with `value`\n- **rule**: `never`\n- **value**\n\n```\n'.'\n```\n\n```sh\necho \"fix: some message.\" # fails\necho \"fix: some message\" # passes\n```\n\n#### subject-exclamation-mark\n\n- **condition**: `subject` must not have a `!` before the `:` marker\n- **rule**: `never`\n\nThe [angular commit\nconvention](hhttps://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit)\ndoes not use a `!` to define a breaking change in the commit subject. If you\nwant to use this feature please consider using the [conventional commit\nconfig](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional#commitlintconfig-conventional).\n\n#### header-max-length\n\n- **condition**: `header` has `value` or less characters\n- **rule**: `always`\n- **value**\n\n```\n72\n```\n\n```sh\necho \"fix: some message that is way too long and breaks the line max-length by several characters\" # fails\necho \"fix: some message\" # passes\n```\n\n### Warnings\n\nThe following rules are considered warnings for `@commitlint/config-angular` and will print warning messages when not met.\n\n#### body-leading-blank\n\n- **condition**: Body begins with blank line\n- **rule**: `always`\n","publish_time":1592725003029,"_cnpm_publish_time":1592725003029,"dist-tags":{"latest":"21.2.4"}}