diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..64a67fd4 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,14 @@ +## Description + +## GitHub issue + +Fixes # + +## How to test this? + +## Checklist + +- [ ] My code follows the guidelines of this project +- [ ] I have performed a self-review of my code +- [ ] I have commented my code, particularly in hard-to-understand areas +- [ ] I have made corresponding changes to the documentation diff --git a/.gitmessage b/.gitmessage new file mode 100644 index 00000000..7805bd2b --- /dev/null +++ b/.gitmessage @@ -0,0 +1,5 @@ +feat|fix: + +<body> + +Signed-off-by: <your_name> <your_email> \ No newline at end of file diff --git a/package.json b/package.json index 6eb04af6..974c77bd 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "start": "next start", "lint": "next lint", "format:fix": "yarn prettier . --write", - "format:check": "yarn prettier . --check" + "format:check": "yarn prettier . --check", + "postinstall": "git config commit.template .gitmessage" }, "dependencies": { "@carbon/react": "^1.66.0",