From 6833b2a43ff706130dda09c0cd46c34f55b896a6 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Tue, 15 Jun 2021 13:31:42 -0700 Subject: [PATCH] Update the `mdspell` command to exclude the folder that should be ignored (#15576) --- .github/CONTRIBUTING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index d6d78e52f..04346dd9a 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -85,7 +85,9 @@ To run the spellchecker, follow these steps: * install [Node.js](https://nodejs.org/en/) (v10 or up) * install [markdown-spellcheck](https://github.com/lukeapage/node-markdown-spellcheck) by `npm install -g markdown-spellcheck` (v0.11.0 or up) -* run `mdspell "**/*.md" --ignore-numbers --ignore-acronyms --en-us` +* run `mdspell "**/*.md" "!**/dotnet-tools/**/*.md" --ignore-numbers --ignore-acronyms --en-us`. + - The folder `dotnet-tools` is excluded because files in that folder are copied from the `dotnet/performance` repository + and will need to be synchronized from time to time. * if the `.spelling` file is updated, commit and push it #### Checking links in documentation