{"_id":"@analisedevalor/config-conventional","name":"@analisedevalor/config-conventional","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@analisedevalor/config-conventional","version":"1.0.0","description":"Shareable commitlint config enforcing conventional commits","scripts":{"deps":"dep-check","pkg":"pkg-check"},"publishConfig":{"access":"public"},"keywords":["conventional-changelog","commitlint","commitlint-config","analisedevalor"],"author":{"name":"Analise de valor","email":"contato@analisedevalor.com.br"},"license":"MIT","engines":{"node":">=v14"},"devDependencies":{"@commitlint/lint":"^17.3.0","@commitlint/utils":"^17.0.0"},"dependencies":{"conventional-changelog-conventionalcommits":"^5.0.0"},"gitHead":"618aee50a953ab06e736d985009f7182bd1a8ae1","licenseText":"The MIT License (MIT)\n\nCopyright (c) 2016 - present Mario Nebl\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@analisedevalor/config-conventional@1.0.0","dist":{"shasum":"1cd57d65745d57b5d8f85ca68cf3fdacc727fae4","integrity":"sha512-j6Da4juHLamIRP4MjkMkfZzXz/ewHZJOyx7jppcGpFEywxPt/lfQsvvo2lh25GUycUr9eb75k5dq5lKVtXgDRw==","tarball":"https://registry.npmjs.org/@analisedevalor/config-conventional/-/config-conventional-1.0.0.tgz","fileCount":5,"unpackedSize":10072,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0969PwtuKNXmoEoEg8g3HsdNNkVVRU6+BWRfVMeMwnAiEAk0vuAuGTlgB/YnNyXVFfJLGwXc1Mp1vquRdeNVC0aMM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjnzVoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrLVg/+K8FenYtjThlH2Z02zrwRf+ZO+Lz3rQRalLdDsNCnkLQfG+pR\r\n+IOltAWmv71b5zgWz/dBmsKl/6NB1/mR4yTjY7KT0v2SM1WfFcrGnqfjvd02\r\nKxMSBKY1IRDEPWL5caxmceqfrOA48O0B3IvyKG9PJ+PK1V51job6SbGIB5RA\r\nj+cYNurF1UYdFmuIP11pgm83j4pzkyOoKxknb6SwuYAFr79thvfe7ksMojuJ\r\n+Hhtkm8ZICjKzFn9v3vixB7A1jbMQ16OGmQJNGmEMpLKEuuUlkTHAwD24P04\r\nehc9ULB9eTOoCy3JqJQim8/BQxJwA4QyKnHIE3Do1zaN74CcPAW8vzntFda7\r\n6hz6z0orwhMrBB+jhyfs/yyorGL5FhAo2wjjLCgrWGEpktlzK7fZZoZdervt\r\nlp4rRYrrnAprYzM53JgJ4I7gC88a9ERnFbysWM0yWOLlCnyqiPMZKhAr0uqp\r\ngxgd1W+v8gT0YT78uOnWTltkepQMTjMBdplxKc+SLhI4WmSputQ2kUQTN7Dk\r\nCVu+7cOvfbqPWLUCNfwHRGiQN7B5J8BmXvFp8nvJ8DGkkci1tk1g3VlYOFQr\r\nbGCEdDVaJIZZGMjHajCu0EVQQBSU2rIZyBFATHmB49DD23IXDcuiuPBbtG3s\r\nBR9skdvD5DSjFUmEHPayQT/eL6NyvqBtAZo=\r\n=6uiQ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"analisedevalor","email":"administrativo@analisedevalor.com"},"directories":{},"maintainers":[{"name":"analisedevalor","email":"administrativo@analisedevalor.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/config-conventional_1.0.0_1671378280796_0.12582720279617376"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-18T15:44:40.721Z","1.0.0":"2022-12-18T15:44:40.962Z","modified":"2022-12-18T15:44:41.099Z"},"maintainers":[{"name":"analisedevalor","email":"administrativo@analisedevalor.com"}],"description":"Shareable commitlint config enforcing conventional commits","keywords":["conventional-changelog","commitlint","commitlint-config","analisedevalor"],"author":{"name":"Analise de valor","email":"contato@analisedevalor.com.br"},"license":"MIT","readme":"> Lint your conventional commits\n\n# @commitlint/config-conventional\n\nShareable `commitlint` config enforcing [conventional commits](https://conventionalcommits.org/).\nUse with [@commitlint/cli](https://npm.im/@commitlint/cli) and [@commitlint/prompt-cli](https://npm.im/@commitlint/prompt-cli).\n\n## Getting started\n\n```sh\nnpm install --save-dev @commitlint/config-conventional @commitlint/cli\necho \"module.exports = {extends: ['@commitlint/config-conventional']};\" > commitlint.config.js\n```\n\n## Rules\n\n### Problems\n\nThe following rules are considered problems for `@commitlint/config-conventional` and will yield a non-zero exit code when not met.\n\nConsult [docs/rules](https://conventional-changelog.github.io/commitlint/#/reference-rules) for a list of available rules.\n\n#### type-enum\n\n- **condition**: `type` is found in value\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n  ```\n  [\n    'build',\n    'chore',\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- **level**: `error`\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- **level**: `error`\n\n```sh\necho \": some message\" # fails\necho \"fix: 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- **level**: `error`\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- **level**: `error`\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- **level**: `error`\n- **value**\n\n```\n'.'\n```\n\n```sh\necho \"fix: some message.\" # fails\necho \"fix: some message\" # passes\n```\n\n#### header-max-length\n\n- **condition**: `header` has `value` or less characters\n- **rule**: `always`\n- **level**: `error`\n- **value**\n\n```\n100\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#### footer-leading-blank\n\n- **condition**: `footer` should have a leading blank line\n- **rule**: `always`\n- level: `warning`\n\n```sh\necho \"fix: some message\nBREAKING CHANGE: It will be significant\" # warning\n\necho \"fix: some message\n\nBREAKING CHANGE: It will be significant\" # passes\n```\n\n#### footer-max-line-length\n\n- **condition**: `footer` each line has `value` or less characters\n- **rule**: `always`\n- level: `error`\n- **value**\n\n```\n100\n```\n\n```sh\necho \"fix: some message\n\nBREAKING CHANGE: footer with multiple lines\nhas a message that is way too long and will break the line rule 'line-max-length' by several characters\" # fails\n\necho \"fix: some message\n\nBREAKING CHANGE: footer with multiple lines\nbut still no line is too long\" # passes\n```\n\n#### body-leading-blank\n\n- **condition**: `body` should have a leading blank line\n- **rule**: `always`\n- level: `warning`\n\n```sh\necho \"fix: some message\nbody\" # warning\n\necho \"fix: some message\n\nbody\" # passes\n```\n\n#### body-max-line-length\n\n- **condition**: `body` each line has `value` or less characters\n- **rule**: `always`\n- level: `error`\n- **value**\n\n```\n100\n```\n\n```sh\necho \"fix: some message\n\nbody with multiple lines\nhas a message that is way too long and will break the line rule 'line-max-length' by several characters\" # fails\n\necho \"fix: some message\n\nbody with multiple lines\nbut still no line is too long\" # passes\n```\n","readmeFilename":"README.md"}