From 939cb8c4944ba355b818364fa022a879fed651f3 Mon Sep 17 00:00:00 2001 From: ppansare <75503669+ppansare@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:49:41 -0700 Subject: [PATCH 1/3] Create .vale.ini --- .vale.ini | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .vale.ini diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 00000000000..e7dc8d6ea7d --- /dev/null +++ b/.vale.ini @@ -0,0 +1,13 @@ +StylesPath = vale/styles +MinAlertLevel = suggestion +Vocab = Blog + + +[*.{md,rst}] + + +BasedOnStyles = Vale, RTD + + +Vale.Spelling = YES +Vale.Repetition = YES From 89b320e8e019fcae834d0d1480316748fc4774b9 Mon Sep 17 00:00:00 2001 From: ppansare <75503669+ppansare@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:51:07 -0700 Subject: [PATCH 2/3] Create Swap.yml --- Swap.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Swap.yml diff --git a/Swap.yml b/Swap.yml new file mode 100644 index 00000000000..68efb503d95 --- /dev/null +++ b/Swap.yml @@ -0,0 +1,6 @@ +extends: substitution +message: Use '%s' instead of '%s' +level: error +swap: + Read The Docs: Read the Docs + RTD: Read the Docs From 9e4c801eacbbff2e734992c4abf77c600b8a7c21 Mon Sep 17 00:00:00 2001 From: ppansare <75503669+ppansare@users.noreply.github.com> Date: Thu, 18 Aug 2022 14:52:24 -0700 Subject: [PATCH 3/3] Create vale-linter.yml --- vale-linter.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vale-linter.yml diff --git a/vale-linter.yml b/vale-linter.yml new file mode 100644 index 00000000000..25799d3ff6f --- /dev/null +++ b/vale-linter.yml @@ -0,0 +1,26 @@ +# Configuration of the Vale Linter ProBot tool + +Vale: + + # If this feature is enabled or disabled + Enabled: true + #Remove comment if needed to enable the bot. + #Enabled: false + + Paths: + # Path to the vale configuration file + Configuration: ".vale.ini" + + # Path to the folder of Vale docstyles to use/copy + # NOTE: If you update the styles path in _vale.ini remember to update this path too + Styles: "vale/styles/" + + Success: + Header: "PASSED" + Message: "The Vale Docs linter did not find any issues." + + + Error: + Header: "FAILED" + Message: "Try again" +