quick-lint / quick-lint-js

quick-lint-js finds bugs in JavaScript programs
https://quick-lint-js.com
GNU General Public License v3.0
1.52k stars 191 forks source link

Permissive Unicode #542

Open strager opened 2 years ago

strager commented 2 years ago

Unicode 14 allows more code points in JavaScript identifiers. (See #538 for discovery.)

We should audit Unicode versions to see if any version restricted identifiers. quick-lint-js should allow code which worked in older browsers.

Further, we could have an option to report code points which might not be compatible with some browsers. I.e. we could have two is-identifier tables: allowed in any standard, and allowed in all standards.

strager commented 2 years ago

Example of a character which was valid in ES5 but is no longer valid: https://github.com/evanw/esbuild/issues/1599