From 917553fb10060ad866cab6c97e39601a2ba38315 Mon Sep 17 00:00:00 2001 From: detj Date: Tue, 7 Jan 2025 10:08:16 +0530 Subject: [PATCH 1/2] chore(backend): add new scopes to commitlint - add `flutter` as valid commitlint scope - add `react-native` as valid commitlint scope - add `deps` as valid commitlint scope fixes #1702 Signed-off-by: detj --- .commitlintrc.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.commitlintrc.js b/.commitlintrc.js index f3fe4823f..b9e23fc12 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.js @@ -3,14 +3,14 @@ export default { rules: { /** * allowed scopes when committing - * + * * e.g. - * + * * - fix(android): consumes less energy now * - feat(backend): attachments is now available - * + * */ - "scope-enum": [2, "always", ["android", "ios", "backend", "frontend"]], + "scope-enum": [2, "always", ["android", "ios", "flutter", "react-native", "backend", "frontend", "deps"]], /** * reduce header max length violation to a warning */ From 1a86294a38a8dcba7bfde758d11671945d248e7c Mon Sep 17 00:00:00 2001 From: detj Date: Tue, 7 Jan 2025 11:12:32 +0530 Subject: [PATCH 2/2] chore(backend): rename `react-native` to `rn` Signed-off-by: detj --- .commitlintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.commitlintrc.js b/.commitlintrc.js index b9e23fc12..46b8f7aa4 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.js @@ -10,7 +10,7 @@ export default { * - feat(backend): attachments is now available * */ - "scope-enum": [2, "always", ["android", "ios", "flutter", "react-native", "backend", "frontend", "deps"]], + "scope-enum": [2, "always", ["android", "ios", "flutter", "rn", "backend", "frontend", "deps"]], /** * reduce header max length violation to a warning */