{"name":"@commitlint/config-angular","version":"7.0.0","keywords":["conventional-changelog","commitlint","commitlint-config","angular"],"author":{"name":"Mario Nebl","email":"hello@herebecode.com"},"license":"MIT","_id":"@commitlint/config-angular@7.0.0","maintainers":[{"name":"marionebl","email":"root@mario-nebl.de"}],"homepage":"https://github.com/marionebl/commitlint#readme","bugs":{"url":"https://github.com/marionebl/commitlint/issues"},"xo":false,"dist":{"shasum":"9e31cd57b11d880eb9aa052c95ba5936eff8f644","tarball":"http://registry-npm.ywwl.com/@commitlint/config-angular/download/@commitlint/config-angular-7.0.0.tgz","fileCount":5,"integrity":"sha512-If1+Up0xf1GhFKQb9etbsdrKxBaVeppCFDT2zhTwyX9R89lBp5iSJnmqpwftNWwvtrOM80eEn0q8TDidTLwaqQ==","signatures":[{"sig":"MEQCIBUuvRoUHWsE+3FqJ4sC9MkQmqW3t0z7Djr1fnSURO/9AiA8bQByLT2ZWHFZuyAoICwneqAFzYy2ZkkTjzP0tXRK7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7403,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEpDrCRA9TVsSAnZWagAAtI0P/iHy8Yo1pYIW0xFhe3Rm\nfWYKCpNg0deXzkkmPNydqt72qjtCi8gNyHBwJoUIiSM3TtVJ/rElkl/XrnoY\ntuL0+VxrynKn5BvqZZv+jtztdtKDhQ0PFmSCmXpWIzalmcC4MGjkybWiUET2\nQqUsxTcAl6TX0/VQHzyKf3TOPeh5RF0wfgu4wke07pax8iuISTC0iQ9NsjyQ\njVAEj84L7UbcA0t8H7Zb9wYVZWW4M5VIavvxiUJmP9lP6g5LFCahm8gsqWum\nxUdyl7F2tonR5b766wnraQ6XU85FA9ORTuR1xhYdAQlRtX4o0OHLtpCo2tFt\nBGBNT22y30RV93ZLVlRguH4z3kkSXpHR1OqanbUuerwvzzI93OhqXPALgkxz\nXDXbzc08aLmjJfaFpC7mE1yW9Ej/STyixGwuYguxqje5/agASUqWtZ1+ZKxg\npH9/ak8XZgpqiE2EUaN783wO/B0O9+stE6+f6OgJkHjXbpV/+Ectpg+g6tdE\nCPewpoq0Gkq43FCPSbi5h0NeTkU/C0ir8yhO2sRQTXLKurAqtFZcWfB7Ec9i\n+6cWon+SkDKz6p1tsEXR2svZSNkdHernYYGcrkiw9EmB4Y4I7UlGJDBIpQcq\nRF6UB+w8KQhp78v8KFYFSGSSWhBZ6OV2q2joF8bytWNRm2CNWfuqsgBNTLwn\nAMWB\r\n=lbvo\r\n-----END PGP SIGNATURE-----\r\n","size":2371,"noattachment":false,"key":"/@commitlint/config-angular/-/@commitlint/config-angular-7.0.0.tgz"},"files":["index.js"],"scripts":{"pkg":"pkg-check --skip-import","deps":"dep-check","lint":"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"},"description":"Shareable commitlint config enforcing the angular commit convention","directories":{},"dependencies":{"@commitlint/config-angular-type-enum":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@commitlint/utils":"^7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/config-angular_7.0.0_1527943403176_0.528667456177597","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":1527943403272,"_cnpm_publish_time":1527943403272,"dist-tags":{"latest":"21.2.4"}}