Skip to content

Commit f67f1df

Browse files
authored
docs: replaces πŸ³οΈβ€πŸŒˆ emoji with πŸ΄β€β˜ οΈ emoji (#687)
1 parent e4b495f commit f67f1df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

β€Ž.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"css.validate": false,
1616
"typescript.tsdk": "./node_modules/typescript/lib",
1717
"editor.codeActionsOnSave": {
18-
"source.fixAll.eslint": true,
19-
"source.fixAll.stylelint": true
18+
"source.fixAll.eslint": "explicit",
19+
"source.fixAll.stylelint": "explicit"
2020
},
2121
"stylelint.validate": [
2222
"css",

β€Ždocs/rules/no-misleading-unicode-character.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ since: "v1.2.0"
1919

2020
This rule reports misleading Unicode characters.
2121

22-
Some Unicode characters like '❇️', 'πŸ³οΈβ€πŸŒˆ', and 'πŸ‘¨β€πŸ‘©β€πŸ‘¦' consist of multiple code points. This causes problems in character classes and around quantifiers. E.g.
22+
Some Unicode characters like '❇️', 'πŸ΄β€β˜ οΈ', and 'πŸ‘¨β€πŸ‘©β€πŸ‘¦' consist of multiple code points. This causes problems in character classes and around quantifiers. E.g.
2323

2424
```js
25-
> /^[β‡οΈπŸ³οΈβ€πŸŒˆ]$/.test("πŸ³οΈβ€πŸŒˆ")
25+
> /^[β‡οΈπŸ΄β€β˜ οΈ]$/.test("πŸ΄β€β˜ οΈ")
2626
false
2727
> /^πŸ‘¨β€πŸ‘©β€πŸ‘¦{2,4}$/.test("πŸ‘¨β€πŸ‘©β€πŸ‘¦πŸ‘¨β€πŸ‘©β€πŸ‘¦")
2828
false
@@ -41,7 +41,7 @@ var foo = /πŸ‘¨β€πŸ‘©β€πŸ‘¦/;
4141

4242
/* βœ— BAD */
4343
var foo = /πŸ‘+/;
44-
var foo = /[β‡οΈπŸ³οΈβ€πŸŒˆπŸ‘¨β€πŸ‘©β€πŸ‘¦]❀️/;
44+
var foo = /[β‡οΈπŸ΄β€β˜ οΈπŸ‘¨β€πŸ‘©β€πŸ‘¦]❀️/;
4545
```
4646

4747
</eslint-code-block>

0 commit comments

Comments
Β (0)