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
2024-07-02 21:16:03 +01:00
parent 173ab0ccf2
commit 4d942547a8
2 changed files with 2 additions and 1 deletions

View File

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