From 366748c55978c49317fb77e17e76a98e8b9a2439 Mon Sep 17 00:00:00 2001 From: Joaquin Montes Date: Tue, 16 Jan 2024 15:46:51 -0300 Subject: [PATCH] fix: vale not including nested files --- .vale.ini | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vale.ini b/.vale.ini index 989d0649c5..3ca245e315 100644 --- a/.vale.ini +++ b/.vale.ini @@ -6,7 +6,7 @@ Vocab = word_list [formats] mdx = md -[*] +[*.md] BasedOnStyles = Meilisearch SkippedScopes = script, style, pre, figure, CodeSamples, ImageComp, RouteHighlighter BlockIgnores = (?s)(^---$.*^---$) diff --git a/package.json b/package.json index 83fa0cdc53..1086266c9d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "links-check": "cd .github/actions/validate-docs-links && yarn && yarn local:check", "marklint:fix": "markdownlint '**/*.mdx' --config .markdownlint.jsonc --fix", "marklint": "markdownlint '**/*.mdx' --config .markdownlint.jsonc", - "proselint": "vale **/*.mdx" + "proselint": "vale --glob='!.github/*' ." }, "repository": { "type": "git",