Remove unnecessary dollar signs replacement
Remove unnecessary dollar signs replacement

The function form of String.prototype.replace does not apply the special replacement patterns such as $$, $&, etc. Thus, it makes the $-prefixed regex replacement unnecessary in this case.

airbnb/polyglot.js