You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/_data/further_reading_links.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -740,5 +740,12 @@
740
740
"logo": "https://v8.dev/favicon.ico",
741
741
"title": "RegExp v flag with set notation and properties of strings · V8",
742
742
"description": "The new RegExp `v` flag enables `unicodeSets` mode, unlocking support for extended character classes, including Unicode properties of strings, set notation, and improved case-insensitive matching."
743
+
},
744
+
"https://codepoints.net/U+1680": {
745
+
"domain": "codepoints.net",
746
+
"url": "https://codepoints.net/U+1680",
747
+
"logo": "https://codepoints.net/favicon.ico",
748
+
"title": "U+1680 OGHAM SPACE MARK: – Unicode – Codepoints",
749
+
"description": " , codepoint U+1680 OGHAM SPACE MARK in Unicode, is located in the block “Ogham”. It belongs to the Ogham script and is a Space Separator."
@@ -16,11 +17,17 @@ A simple fix for this problem could be to rewrite the offending line from scratc
16
17
17
18
Known issues these spaces cause:
18
19
20
+
* Ogham Space Mark
21
+
* Is a valid token separator, but is rendered as a visible glyph in most typefaces, which may be misleading in source code.
22
+
* Mongolian Vowel Separator
23
+
* Is no longer considered a space separator since Unicode 6.3. It will result in a syntax error in current parsers when used in place of a regular token separator.
24
+
* Line Separator and Paragraph Separator
25
+
* These have always been valid whitespace characters and line terminators, but were considered illegal in string literals prior to ECMAScript 2019.
19
26
* Zero Width Space
20
-
* Is NOT considered a separator for tokens and is often parsed as an `Unexpected token ILLEGAL`
21
-
* Is NOT shown in modern browsers making code repository software expected to resolve the visualization
22
-
* Line Separator
23
-
* Is NOT a valid character within JSON which would cause parse errors
27
+
* Is NOT considered a separator for tokens and is often parsed as an `Unexpected token ILLEGAL`.
28
+
* Is NOT shown in modern browsers making code repository software expected to resolve the visualization.
29
+
30
+
In JSON, none of the characters listed as irregular whitespace by this rule may appear outside of a string.
24
31
25
32
## Rule Details
26
33
@@ -86,7 +93,7 @@ var thing = function /*<NBSP>*/(){
86
93
return'test';
87
94
}
88
95
89
-
varthing=function/*<MVS>*/(){
96
+
varthing=function/*<Ogham Space Mark>*/(){
90
97
return'test';
91
98
}
92
99
@@ -204,7 +211,7 @@ Examples of additional **correct** code for this rule with the `{ "skipJSXText":
204
211
/*eslint-env es6*/
205
212
206
213
functionThing() {
207
-
return<div>text in<NBSP>JSX</div>;
214
+
return<div>text inJSX</div>;// <NBSP> before `JSX`
0 commit comments