From a359b3130470e57cec832192c43a35851462efb0 Mon Sep 17 00:00:00 2001 From: sayantikabanik Date: Fri, 22 May 2026 15:00:02 +0700 Subject: [PATCH] vale custom styles for DJ --- .github/styles/.gitkeep | 0 .github/styles/DataJourney/Style.yml | 25 +++++++++++++++++++++++++ .github/workflows/review.yml | 2 ++ .vale.ini | 4 ++-- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .github/styles/.gitkeep create mode 100644 .github/styles/DataJourney/Style.yml diff --git a/.github/styles/.gitkeep b/.github/styles/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/.github/styles/DataJourney/Style.yml b/.github/styles/DataJourney/Style.yml new file mode 100644 index 000000000..bd473f621 --- /dev/null +++ b/.github/styles/DataJourney/Style.yml @@ -0,0 +1,25 @@ +extends: substitution +message: "Use DataJourney docs style: replace '%s' with '%s'." +level: suggestion +ignorecase: false +swap: + Datajourney: DataJourney + Data Journey: DataJourney + Github: GitHub + Github Actions: GitHub Actions + FastHtml: FastHTML + fastHTML: FastHTML + chromadb: ChromaDB + ChromaDb: ChromaDB + langchain: LangChain + dagster: Dagster + pixi: Pixi + revolutionary: specific + game-changing: useful + cutting-edge: current + world-class: high-quality + best-in-class: high-quality + supercharge: improve + simply: "" + obviously: "" + basically: "" diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 956d08b4c..fbb8fa20a 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -1,6 +1,8 @@ name: Lint prose permissions: contents: read + checks: write + pull-requests: read on: pull_request: diff --git a/.vale.ini b/.vale.ini index 9c2149758..5900b50a1 100644 --- a/.vale.ini +++ b/.vale.ini @@ -1,11 +1,11 @@ -StylesPath = vale-styles +StylesPath = .github/styles MinAlertLevel = suggestion Packages = Google [*.md] -BasedOnStyles = Vale +BasedOnStyles = Vale, DataJourney Google.Contractions = YES Google.FirstPerson = YES