Enable ESLint no-useless-escape (#23311)
This commit is contained in:
parent
4da5f77d92
commit
db2c58d47a
12 changed files with 11 additions and 12 deletions
|
@ -73,7 +73,7 @@ const stringFromCodePoint = _String.fromCodePoint || function () {
|
|||
|
||||
const _JSON = JSON;
|
||||
|
||||
const COLONS_REGEX = /^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/;
|
||||
const COLONS_REGEX = /^(?::([^:]+):)(?::skin-tone-(\d):)?$/;
|
||||
const SKINS = [
|
||||
'1F3FA', '1F3FB', '1F3FC',
|
||||
'1F3FD', '1F3FE', '1F3FF',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue