Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 387 Bytes

File metadata and controls

27 lines (17 loc) · 387 Bytes

github/no-implicit-buggy-globals

📝 Disallow implicit global variables.

💼 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