Skip to content

Commit

Permalink
Update some phrases
Browse files Browse the repository at this point in the history
  • Loading branch information
HatScripts authored Jan 8, 2024
1 parent 756f88c commit 6303c3d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/preset/english.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ export const englishRecommendedTransformers: Pick<
* ```
*/
export const englishDataset = new DataSet<{ originalWord: EnglishProfaneWord }>()
.addPhrase((phrase) =>
phrase
.setMetadata({ originalWord: 'abbo' })
.addPattern(pattern`abbo`)
.addWhitelistedTerm('abbot'),
)
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'abo' }).addPattern(pattern`|ab[b]o[s]|`))
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'abeed' }).addPattern(pattern`ab[b]eed`))
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'africoon' }).addPattern(pattern`africoon`))
.addPhrase((phrase) =>
Expand Down Expand Up @@ -185,7 +180,7 @@ export const englishDataset = new DataSet<{ originalWord: EnglishProfaneWord }>(
.addWhitelistedTerm('assu'),
)
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'bastard' }).addPattern(pattern`bas[s]tard`))
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'bestiality' }).addPattern(pattern`be[e]s[s]tial`))
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'bestiality' }).addPattern(pattern`be[e][a]s[s]tial`))
.addPhrase((phrase) =>
phrase
.setMetadata({ originalWord: 'bitch' })
Expand Down Expand Up @@ -235,7 +230,12 @@ export const englishDataset = new DataSet<{ originalWord: EnglishProfaneWord }>(
.addWhitelistedTerm('cumu')
.addWhitelistedTerm('cumb'),
)
.addPhrase((phrase) => phrase.setMetadata({ originalWord: 'cunt' }).addPattern(pattern`|cunt`))
.addPhrase((phrase) =>
phrase
.setMetadata({ originalWord: 'cunt' })
.addPattern(pattern`|cunt`)
.addPattern(pattern`cunt|`),
)
.addPhrase((phrase) =>
phrase
.setMetadata({ originalWord: 'deepthroat' })
Expand Down Expand Up @@ -418,7 +418,7 @@ export const englishDataset = new DataSet<{ originalWord: EnglishProfaneWord }>(
* All the profane words that are included in the [[englishDataset | english dataset]] by default.
*/
export type EnglishProfaneWord =
| 'abbo'
| 'abo'

Check failure on line 421 in src/preset/english.ts

View workflow job for this annotation

GitHub Actions / Run ESLint

Union type EnglishProfaneWord members must be sorted
| 'abeed'
| 'africoon'
| 'anal'
Expand Down

0 comments on commit 6303c3d

Please sign in to comment.