shisho icon indicating copy to clipboard operation
shisho copied to clipboard

Configure the search behaviour with a file like `shisho.yaml`

Open lmt-swallow opened this issue 3 years ago • 0 comments

Problem

We added --exclude flag as a workaround for #94. However, this approach needs users to add --exclude flag every time they run Shisho.

Possible Solutions

We can (1) use .gitignore-like configuration files to determine paths to ignore (as Semgrep does), or (2) use another YAML file that includes configurations not only on file exclusion but also on the behaviour of Shisho.

Additional Notes

See https://github.com/flatt-security/shisho/issues/94#issuecomment-932592022 and https://github.com/flatt-security/shisho/issues/94#issuecomment-932696749. @ihrwein -san, thank you for your proposal!

lmt-swallow avatar Oct 08 '21 06:10 lmt-swallow