Support globalThis
See original GitHub issueThe version of ESLint you are using. 6.7.2
The problem you want to solve.
globalThis
is now a tc 39 stage 4 proposal. ESLint should now be updated to recognise this.
Your take on the correct solution to problem.
Update the environment list to add globalThis
Are you willing to submit a pull request to implement this change? Yes
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:13 (11 by maintainers)
Top Results From Across the Web
globalThis - JavaScript - MDN Web Docs
The global globalThis property contains the global this value, which is usually akin to the global object.
Read more >"globalThis" | Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >What is globalThis, and why should you start using it?
The globalThis proposal, now in stage 4, aims to consolidate the increasingly fragmented ways of accessing the global object in JavaScript.
Read more >JavaScript globalThis
Summary: in this tutorial, you'll learn how to about the JavaScript globalThis object. Introduction to the JavaScript globalThis object.
Read more >Stop using `this` instead use `globalThis` for global variables
This is why globalThis was introduced into Javascript. You can use it right now it is supported by all major Browsers besides IE11....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
PR #12774
@kaicataldo Ah, that was the missing piece. Thanks a lot!