Skip to content

Commit

Permalink
fix: adds parser preset in commitlint config
Browse files Browse the repository at this point in the history
  • Loading branch information
moeen-mahmud committed Oct 6, 2024
1 parent f1f4374 commit c530032
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
token: ${{ secrets.RELEASE_KEY }}
release-type: "node"
- name: Publish package
if: ${{steps.release.outputs.release_created}}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_KEY}}
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
extends: ["@commitlint/config-conventional"],
parserPreset: "conventional-changelog-atom",
formatter: "@commitlint/format",
rules: {
"header-max-length": [0, "always", 150],
Expand Down
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@commitlint/cz-commitlint": "^19.5.0",
"@commitlint/prompt-cli": "^19.5.0",
"@types/react": "^18.0.25",
"conventional-changelog-atom": "^5.0.0",
"expo-module-scripts": "^3.5.2",
"expo-modules-core": "^1.12.24",
"husky": "^9.1.6"
Expand Down

0 comments on commit c530032

Please sign in to comment.