Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Lombiq.NodeJs.Extensions/Docs/Markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Lombiq.NodeJs.Extensions/scripts/lint-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Loading