ignore target folders

when you try to edit a crate inside the compiler tree using rls, it
generates it's assets under target/rls, then tidy is trying to validate
line lenghts for C headers, etc
This commit is contained in:
Douglas Campos 2018-10-19 19:26:43 +00:00
parent 74ff7dcb13
commit cf90f72f55

View file

@ -78,6 +78,7 @@ fn filter_dirs(path: &Path) -> bool {
"src/tools/lldb",
"src/target",
"src/stdsimd",
"target",
];
skip.iter().any(|p| path.ends_with(p))
}