Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude .wokeignore file in scans #243

Open
jcraigk opened this issue Nov 6, 2022 · 1 comment
Open

Exclude .wokeignore file in scans #243

jcraigk opened this issue Nov 6, 2022 · 1 comment

Comments

@jcraigk
Copy link

jcraigk commented Nov 6, 2022

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?

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2022

👋 Thanks for submitting your first issue!

Please be sure to read and follow our Code of Conduct and Contributing guide.

⭐️ Is your org or open source project using woke? If so, we'd love for you to be included in the 'Who uses woke' list at https://github.com/get-woke/woke/blob/main/docs/about.md#who-uses-woke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant