Support to ignore files by pattern similar to .gitignore

Hi,

I want to be able to ignore files/directories using patterns, similar to .gitignore Git - gitignore Documentation

I hope this makes sense :slight_smile: