From b11b3dc7562c14308d5c0169a99cf8945b6d4acc Mon Sep 17 00:00:00 2001 From: Arifulislam5577 Date: Sun, 31 Dec 2023 18:02:06 +0600 Subject: [PATCH 1/2] Updated: Update conduct email & Commit rule. --- CODE_OF_CONDUCT.md | 2 +- Contribute.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index aa7fdf36..855a86fc 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -35,7 +35,7 @@ If a community member engages in unacceptable behavior, we may take any action w ## Reporting Violations -If you are subject to or witness unacceptable behavior, or have any other concerns, please notify us immediately. You can report violations by contacting the project maintainers at [INSERT EMAIL ADDRESS]. All reports will be kept confidential. +If you are subject to or witness unacceptable behavior, or have any other concerns, please notify us immediately. You can report violations by contacting the project maintainers at hello@staticmania.com. All reports will be kept confidential. ## Attribution diff --git a/Contribute.md b/Contribute.md index 8aa80f47..2f92236a 100644 --- a/Contribute.md +++ b/Contribute.md @@ -16,6 +16,8 @@ If you're a developer, you can contribute to Keep React by submitting code chang - **Make Changes:** Make your code changes or additions. +- **Proper Commit Message:** Commit your changes and commit message must be starts with Capital letter and ends with period sign like dot(.). Commit message will be minimum 14 characters long. + - **Test Your Changes:** Ensure that your changes don't introduce new issues. - **Submit a Pull Request:** Push your changes to your forked repository and submit a pull request to the main Keep React repository. From e2515d91efd7db23737508d33f9520664cb2554d Mon Sep 17 00:00:00 2001 From: Arifulislam5577 Date: Sun, 31 Dec 2023 18:54:02 +0600 Subject: [PATCH 2/2] Added: New commit lint config. --- commitlint.config.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commitlint.config.cjs b/commitlint.config.cjs index fa399bf8..64fee549 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -1,4 +1,5 @@ module.exports = { + // extends: ['@commitlint/config-conventional'], extends: [], rules: { 'header-min-length': [2, 'always', 14], @@ -12,7 +13,7 @@ module.exports = { return [/^[A-Z]/.test(raw), 'Commit message must start with a capital letter'] }, 'header-end-period': ({ header }) => { - return [/\.$/.test(header), 'Commit message must end with a period'] + return [/\.$/.test(header), 'Commit message must end with a dot(.).'] }, }, },