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:
2 files changed
+2
-1
No files matched your search
@@ -410,6 +410,7 @@ fn lint_markdown() -> LintResult {
|
||||
"--offline",
|
||||
"--ignore-path",
|
||||
md_ignore_path_str.as_str(),
|
||||
"--gitignore",
|
||||
"--root-dir",
|
||||
".",
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user