diff --git a/Lombiq.NodeJs.Extensions/Docs/Markdown.md b/Lombiq.NodeJs.Extensions/Docs/Markdown.md index 2a81370e..a00c27b9 100644 --- a/Lombiq.NodeJs.Extensions/Docs/Markdown.md +++ b/Lombiq.NodeJs.Extensions/Docs/Markdown.md @@ -14,6 +14,9 @@ By default, the markdown pipeline is disabled. You need to provide a valid `sour } ``` +> [!NOTE] +> Files in some special folders aren't linted. See the current configuration [here](https://github.com/Lombiq/NodeJs-Extensions/blob/dev/Lombiq.NodeJs.Extensions/scripts/lint-markdown.js#L47). + ### Linting the solution directory You can use the special value `_solution_` as the source to lint every _md_ file in your solution directory. The solution directory is considered to be the first parent directory of your project that contains a _sln_ file. diff --git a/Lombiq.NodeJs.Extensions/scripts/lint-markdown.js b/Lombiq.NodeJs.Extensions/scripts/lint-markdown.js index 71bb8cfc..6b364b8f 100644 --- a/Lombiq.NodeJs.Extensions/scripts/lint-markdown.js +++ b/Lombiq.NodeJs.Extensions/scripts/lint-markdown.js @@ -44,7 +44,7 @@ function getMarkdownPaths() { return findRecursively( rootDirectory, [/\.md$/i], - [/^node_modules$/, /^\.git$/, /^\.vs$/, /^\.vscode$/, /^\.idea$/, /^obj$/, /^bin$/, /^wwwroot$/]); + [/^node_modules$/, /^\.git$/, /^\.vs$/, /^\.vscode$/, /^\.idea$/, /^obj$/, /^bin$/, /^wwwroot$/, /^ThirdParty$/]); // codespell:ignore } function handleError(error) {