From 098e40cf21bba843113f60ff542ba3a77bd27ae6 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 27 Apr 2022 18:43:56 +0200 Subject: [PATCH] scripts/check-docs-quality: ignore API reports and changelogs Signed-off-by: Patrik Oldsberg --- scripts/check-docs-quality.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/check-docs-quality.js b/scripts/check-docs-quality.js index a4adfba929..c20733a589 100755 --- a/scripts/check-docs-quality.js +++ b/scripts/check-docs-quality.js @@ -21,7 +21,9 @@ const fs = require('fs').promises; const IGNORED = [ /^ADOPTERS\.md$/, /^OWNERS\.md$/, - /^docs[/\\]releases[/\\]*-changelog\.md$/, + /^.*[/\\]CHANGELOG\.md$/, + /^.*[/\\]api-report\.md$/, + /^docs[/\\]releases[/\\].*-changelog\.md$/, ]; const rootDir = resolvePath(__dirname, '..');