Skip to content

Commit

Permalink
Reword to "main gain node", see phetsims/special-ops#221
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 8, 2023
1 parent c515f6c commit bb7ba75
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 @@ -76,7 +76,7 @@ module.exports = function( context ) {
// see https://thenewstack.io/words-matter-finally-tech-looks-at-removing-exclusionary-language/ and https://github.com/phetsims/special-ops/issues/221
{
id: 'words matter',
regex: /\b(slave|blacklist|whitelist)\b|\bmaster\b(?!( gain node\b|\/|\.)|(?<!\/)master\b)/i
regex: /\b(slave|blacklist|whitelist)\b|\bmaster\b(?!([/.])|(?<!\/)master\b)/i
},

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

0 comments on commit bb7ba75

Please sign in to comment.