Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissive Unicode #542

Open
strager opened this issue Nov 26, 2021 · 1 comment
Open

Permissive Unicode #542

strager opened this issue Nov 26, 2021 · 1 comment
Labels
false positive Severe bug: quick-lint-js rejects valid code

Comments

@strager
Copy link
Collaborator

strager commented Nov 26, 2021

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 strager added the false positive Severe bug: quick-lint-js rejects valid code label Nov 26, 2021
@strager
Copy link
Collaborator Author

strager commented Dec 2, 2021

Example of a character which was valid in ES5 but is no longer valid: evanw/esbuild#1599

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
false positive Severe bug: quick-lint-js rejects valid code
Projects
None yet
Development

No branches or pull requests

1 participant