-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
toString #3
Comments
If it's added to the JSHint or ESLint list I'm happy to add it here, but it's better to do the discussion about it on their issue trackers. Tip: Try the ESLint issue tracker. Make sure to comment with a link to the issue. |
Actually I think they have legit reasons to exclude it, as discussed in the thread I linked. But since it is in use in the wild and is generally valid, I was hoping that you'd agree it makes sense to include here even if they don't. I'm not sure what use cases you had in mind for this repo, but for my use case including |
Why? Some use-cases might convince me otherwise. |
eslint already includes the |
I'm making a transpiler tool that manipulates js identifiers. It needs to avoid messing with globals or anything global-like, otherwise the output scripts will throw errors or otherwise not be functionally equivalent to the input. I'll be open-sourcing it soon, so you'll be able to see exactly what I mean. Want to polish it up a bit more first. I was starting to create my own list of reserved identifiers, then thought it'd make sense to make that its own repo/module, then found this one. |
Ah, thanks @michaelficarra! Definitely will need to do the review to find what else is missing here. But differences like this are the reason I wouldn't hold my breath waiting for jshint and eslint to adopt the same list. |
I'm fine with going with whatever ESLint has. |
jshint/jshint#1827
Even though it isn't technically a global, would you consider adding
toString
to this list?For context, I'm trying to use this module to avoid problems while manipulating identifiers in an AST.
toString
treated like a global is a case where this is failing.The text was updated successfully, but these errors were encountered: