-
Notifications
You must be signed in to change notification settings - Fork 174
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
New lint: prefer-ascii
for Deno's internal JS
#832
Comments
I'd love to work on it |
I believe this rule may also be of use to regular code, as you don't usually find yourself using chars outside of ASCII and if you do it might be a mistake(accidentally copy pasting a minus unicode character instead of |
Once denoland/deno#11776 lands it will be possible to enable this rule, but I don't think it should be part of "recommended" set |
I agree @bartlomieju |
I thought what @grian32 said made a lot of sense and tried to deal with characters outside of ASCII in JavaScript syntax, like the case where |
Optimization around deno_core is being made now in denoland/deno#9713. This optimization requires that all the JS code that is eventually bundled in Deno is fully written only in ASCII i.e. one-byte characters. So it would be great to have a new lint rule that makes sure of that.
Similar to
prefer-primordials
, the new lint will be dedicated to the internal of Deno. Not intended to be used by Deno users.CC @AaronO @bartlomieju
The text was updated successfully, but these errors were encountered: