Skip to content

.gitignore support#71

Description

@j0nas

Hi, was linked this utility and it looks great! 馃ぉ

One feature I'd really love is to be able to ignore files based on my .gitignore. Currently, these files pollute the output of this utility and there's no simple way to ignore them.

I tried e.g. npx deadfile ./src/App.tsx --exclude $(cat .gitignore) but that fails due to my .gitignore containing wildcards. Maybe e.g. parse-gitignore could be a simple way of acheving this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions