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
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-mpx",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "Official ESLint plugin for Mpx.js",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {