Skip to content

add more tolerated words and fix account for capitalisation #9

Merged
JonPurvis merged 2 commits intomasterfrom
add-more-tolerated-words
Aug 7, 2024
Merged

add more tolerated words and fix account for capitalisation #9
JonPurvis merged 2 commits intomasterfrom
add-more-tolerated-words

Conversation

@JonPurvis
Copy link
Copy Markdown
Collaborator

@JonPurvis JonPurvis commented Aug 7, 2024

This PR adds a few more tolerated words based on the testing in one of my applications:

Word Profanity
assume ass
start tart
object bj
parse arse
assign ass
pass ass

I also discovered that if you use the capitalised version of a tolerated word, it still gets flagged, so this PR fixes that. E.g. usages of stdClass. When we're looping through the tolerated words, we now also check the capitalised version.

@faissaloux Just so you're aware of this change 😄

@JonPurvis JonPurvis force-pushed the add-more-tolerated-words branch from 65a7f75 to 0c94515 Compare August 7, 2024 20:26
@JonPurvis JonPurvis merged commit 6d2c691 into master Aug 7, 2024
@JonPurvis JonPurvis deleted the add-more-tolerated-words branch August 7, 2024 23:50
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

Successfully merging this pull request may close these issues.

1 participant