lint: ignore files ignored by git in mlc

Updating to MLC v0.18.0 includes a new feature which will ignore all
files ignored by git: `--gitignore`.

This helps avoid false-positives flagged by this linter in non-project
files, such as a developer might expect to have in their directory (e.g.
guix-builds, python venvs, etc.)
This commit is contained in:
willcl-ark committed 2024-07-03 09:46:15 +01:00
1 parent 173ab0ccf2
commit 4d942547a8
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -410,6 +410,7 @@ fn lint_markdown() -> LintResult {
"--offline",
"--ignore-path",
md_ignore_path_str.as_str(),
"--gitignore",
"--root-dir",
".",
])