trailofbits / dylint

Run Rust lints from dynamic libraries

Home Page:https://blog.trailofbits.com/2021/11/09/write-rust-lints-without-forking-clippy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`pattern` can traverse the entire filesystem

shepmaster opened this issue · comments

I included a leading / in my pattern field:

[workspace.metadata.dylint]
libraries = [
    { git = "https://github.com/shepmaster/snafu-lints", pattern = "/*/*" },
]

This attempted to access my actual root directory and files within. I'd have expected the file walking to be constrained to the git checkout.