Disallow implicit global variables (github/no-implicit-buggy-globals)
February 8, 2023 ยท View on GitHub
๐ผ This rule is enabled in the โ
recommended config.
Rule Details
๐ Examples of incorrect code for this rule:
var foo = 1
๐ Examples of correct code for this rule:
;(function () {
const foo = 1
})()
Version
4.3.2