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

Show Found Profanity #25

Closed
JonPurvis opened this issue Oct 19, 2024 · 1 comment · Fixed by #26
Closed

Show Found Profanity #25

JonPurvis opened this issue Oct 19, 2024 · 1 comment · Fixed by #26
Labels
good first issue Good for newcomers

Comments

@JonPurvis
Copy link
Owner

It would be great if profanity is found, you can see what the profanity is, without having to go looking for it. At the moment we just return

to not use profanity

and then the line number so you can click through to the line. What would be nice is if instead it said something along the lines of:

to not use profanity: {Profanity}

@JonPurvis JonPurvis added the good first issue Good for newcomers label Oct 19, 2024
spoyntersmith added a commit to spoyntersmith/profanify that referenced this issue Oct 21, 2024
@spoyntersmith
Copy link
Contributor

spoyntersmith commented Oct 21, 2024

@JonPurvis I couldn't find a way of doing this without adding a new Targeted class, I could also style the words to be red (so they pop) and read more like a list if desired like:

Expected File.php to not have profanity, but found: 'x', 'y' and 'z'

Please take a look at the PR and let me know what you think 👍

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

Successfully merging a pull request may close this issue.

2 participants