{"name":"@commitlint/config-angular","version":"12.0.1","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@12.0.1","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://github.com/conventional-changelog/commitlint#readme","bugs":{"url":"https://github.com/conventional-changelog/commitlint/issues"},"dist":{"shasum":"080d96db84752f17ffed06bd81c46bb4bf7e3188","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-12.0.1.tgz","fileCount":5,"integrity":"sha512-LuhglC8lh+5zdl+hjNunhH1b4Uj70w/TbdWna6CTvpuR59WSZSFZhIxutN2Fjuf1jlHGkx2bC9ZiOQW01YQNTA==","signatures":[{"sig":"MEUCIQD77IUrIF/zcNQgceSYunBo+MV1V3Iq01NGfZsguThUWgIgQK2RfR5IFO2o1gA2OJegD45/RNlBf3iWRB6xKyeplsM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12669,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgNGVOCRA9TVsSAnZWagAAXIUQAKFTp3ky1aspF+4Pzcry\nMndM/OcFIjOevOaCJgBKGAFpbUmHDSXJ57NvkJnBhQY9RvGXOBedmSjPHcrH\n21mLR4U6MnJ9i4xDi+LEgjW/h5UV42irVl/33ytLUnYl/hJVaZGeWJCWBu9h\nFxtDLzrW5BP9d2jDFxrxnOmZie5SHGt86Nfrmd52sQRKGfgcgD4Cq6KPvmf4\nCF4J1UNOFBgBRo23HtBS8ozBxozoKHFqjsHHGww3WrCxcJFpeb039Z52b1Bs\n9HCdcr3MC9tB79lWXs/xarRmMoOx9rN58d2sPMd9SW0P+XwepbKpXjl23NkC\nvBQuFk17E8clv8TNjPFg7FgxZ/EIuqJqCPxUC6J+aYFE4M/KIjouUyJaPx4w\n/qG7PAJIn2kx5tEpgY5ZO4REaJJoc11dk82jWLSc1ciIDg1vVlv9V4SINaUI\nb3dZqw0OU3n7O2Byo89hDlZsMr2dNtogYIN0AxPE0J6kvkItJHEf7uegoi7/\nliCJ2SYxECgIOr//PCASqwWiB6qnCW47/OkFtCqFDkKgbs3s2l/xCvoo6PTS\nB/E28COFNhKldiD/R65MMnmFosEhrGiLdaWsMv0vJ6uvR8DF3BRCTPerGYb1\nv8i/1BCbYNuGAff2lyxuijbunJTbOIZAz4nUbjcC0u8pHB56nIlojNZhAJMj\nrO7m\r\n=HhE7\r\n-----END PGP SIGNATURE-----\r\n","size":3517,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-12.0.1.tgz"},"engines":{"node":">=v10"},"gitHead":"610d2911bea066c87700155de3bf5bbecf266a8d","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@v14.15.5+x64 (darwin)","description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"_nodeVersion":"14.15.5","dependencies":{"@commitlint/config-angular-type-enum":"^12.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@commitlint/utils":"^12.0.1"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_12.0.1_1614046541758_0.12419450794735876","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":1614046541984,"_cnpm_publish_time":1614046541984,"dist-tags":{"latest":"21.2.4"}}