From c97a5cafd812ac8b7de21978ed009e90e3572439 Mon Sep 17 00:00:00 2001 From: Lenny Chen <55669665+lennessyy@users.noreply.github.com> Date: Wed, 24 Jan 2024 10:46:56 -0800 Subject: [PATCH 1/2] chore: add vale rule to avoid master and slave (#2076) * add vale rule to avoid master and slave * Update vale/styles/spectrocloud/inclusive.yml Co-authored-by: caroldelwing * Update vale/styles/spectrocloud/inclusive.yml Co-authored-by: Karl Cardenas --------- Co-authored-by: Lenny Chen Co-authored-by: caroldelwing Co-authored-by: Karl Cardenas --- vale/styles/spectrocloud/inclusive.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vale/styles/spectrocloud/inclusive.yml diff --git a/vale/styles/spectrocloud/inclusive.yml b/vale/styles/spectrocloud/inclusive.yml new file mode 100644 index 0000000000..9c6b5cb131 --- /dev/null +++ b/vale/styles/spectrocloud/inclusive.yml @@ -0,0 +1,11 @@ +extends: existence +message: "Consider avoiding '%s' in favor of more inclusive language." +link: "http://example.com/inclusivity-guidelines" +ignorecase: true +level: error +tokens: + - master + - slave +nonword: true +exceptions: + - master branch From fa4172f19dae865c14d4fa3ac51a06a158e9b6b3 Mon Sep 17 00:00:00 2001 From: Lenny Chen <55669665+lennessyy@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:07:34 -0800 Subject: [PATCH 2/2] Revert "chore: add vale rule to avoid master and slave" (#2099) --- vale/styles/spectrocloud/inclusive.yml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 vale/styles/spectrocloud/inclusive.yml diff --git a/vale/styles/spectrocloud/inclusive.yml b/vale/styles/spectrocloud/inclusive.yml deleted file mode 100644 index 9c6b5cb131..0000000000 --- a/vale/styles/spectrocloud/inclusive.yml +++ /dev/null @@ -1,11 +0,0 @@ -extends: existence -message: "Consider avoiding '%s' in favor of more inclusive language." -link: "http://example.com/inclusivity-guidelines" -ignorecase: true -level: error -tokens: - - master - - slave -nonword: true -exceptions: - - master branch