From 980b3bfc32b351818170513b5813059c36dc447b Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 29 Jan 2025 18:18:25 +0100 Subject: [PATCH] chore: validate redirects without --strict option --- .github/workflows/pr-check_scripts.yml | 2 +- .lintstagedrc.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-check_scripts.yml b/.github/workflows/pr-check_scripts.yml index 470473e9f3f2ec9..7206cb87c44f745 100644 --- a/.github/workflows/pr-check_scripts.yml +++ b/.github/workflows/pr-check_scripts.yml @@ -113,7 +113,7 @@ jobs: - run: yarn content fix-redirects en-US - - run: yarn content validate-redirects en-us --strict + - run: yarn content validate-redirects en-us build: runs-on: ubuntu-latest diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 838a8de976078ac..2394f48d6ab285a 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,7 +1,7 @@ export default { "files/en-us/_redirects.txt": (filenames) => [ `yarn content fix-redirects en-US`, - `yarn content validate-redirects en-us --strict`, + `yarn content validate-redirects en-us`, ], "!*.md": (filenames) => [ `prettier --ignore-unknown --write ${filenames.join(" ")}`,