From 07d7e50c68419a356d0de49638225e5ab4b8083b Mon Sep 17 00:00:00 2001 From: vinckr Date: Thu, 21 Apr 2022 10:28:06 +0200 Subject: [PATCH] chore: remove vale linter workflow --- .github/workflows/vale.yml | 25 ------------------------- README.md | 18 ------------------ docs/.vale.ini | 9 --------- 3 files changed, 52 deletions(-) delete mode 100644 .github/workflows/vale.yml delete mode 100644 docs/.vale.ini diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml deleted file mode 100644 index b202b2d20..000000000 --- a/.github/workflows/vale.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: 'Lint Markdown with Vale' - -on: - push: - branches: - - master - pull_request: - branches: - - master - -jobs: - lint-vale: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@master - - name: Lint Markdown with Vale - uses: errata-ai/vale-action@master - with: - styles: | - https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip - config: https://raw.githubusercontent.com/ory/docs/${{ github.sha }}/docs/.vale.ini - onlyAnnotateModifiedLines: true - env: - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/README.md b/README.md index 2b1c6c0b6..bd1ab8684 100644 --- a/README.md +++ b/README.md @@ -201,24 +201,6 @@ Locally: 1. Fix all files in the project, `Warning: This writes to your files!` `cd docs` `markdownlint './docs/**/*.+(md|mdx)' --ignore node_modules --fix` -### Vale - -1. Download and install [Vale](https://github.com/errata-ai/vale). - `brew install vale` -1. Check if Vale installed. - `vale -h` -1. Copy the write-good and Microsoft Vale Styles: - -- https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip -- https://github.com/errata-ai/Microsoft/releases/latest/download/Microsoft.zip - -1. Add `.vale.ini` in your root or project folder. - [Reference .vale.ini](https://raw.githubusercontent.com/ory/docs/master/docs/.vale.ini) -1. Check the document: - `vale yourdocument.md` or `vale docs/ecosystem/styleguide/testing.md` - -Check the [documentation](https://docs.errata.ai/) for more advanced features. - ## How-To ### Links to other pages diff --git a/docs/.vale.ini b/docs/.vale.ini deleted file mode 100644 index d9ad097a8..000000000 --- a/docs/.vale.ini +++ /dev/null @@ -1,9 +0,0 @@ -StylesPath = styles - -[*.md] -BasedOnStyles = write-good - -MinAlertLevel = error # suggestion, warning or error - -[formats] -mdx = md