Skip to content

Exclude .wokeignore file in scans #243

Open
@jcraigk

Description

If there is a file/path that includes a sensitive term in .wokeignore file, it will produce a warning. It seems like the intent of the file itself is to be ignored. For example, with the following .wokeignore content:

blacklist.jpg

Running woke produces the following output:

.wokeignore:1:0-9: `blacklist` may be insensitive, use `denylist`, `blocklist`, `exclusion list` instead (warning)
blacklist.jpg

To actually ignore these filenames, one must place .wokeignore itself in the .wokeignore file:

.wokeignore
blacklist.jpg

This is surprising behavior. Is it intended?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions