eslint-plugin-mpx 0.2.12 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -106,6 +106,9 @@ module.exports = {
|
|
|
106
106
|
|
|
107
107
|
const globalScope = context.getSourceCode().scopeManager.globalScope
|
|
108
108
|
if (globalScope) {
|
|
109
|
+
for (const variable of globalScope.variables) {
|
|
110
|
+
exposeSet.add(variable.name)
|
|
111
|
+
}
|
|
109
112
|
const moduleScope = globalScope.childScopes.find(
|
|
110
113
|
(scope) => scope.type === 'module'
|
|
111
114
|
)
|