Skip to content

Commit

Permalink
Add /b to bad-text rule so 'mastercard' is allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus authored and zepumph committed Oct 22, 2024
1 parent 9a9d634 commit 999d8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eslint/rules/bad-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module.exports = function( context ) {
// PhET team member
{
id: 'words matter',
regex: /(slave|black-?list|white-?list|(?<!\/)\bmaster)/i
regex: /(slave|black-?list|white-?list|(?<!\/)\bmaster\b)/i
},

// Any instances of youtube.com should enforce that we use youtube-nocookie.com
Expand Down

0 comments on commit 999d8df

Please sign in to comment.