eslint-scope
Advanced tools
Comparing version 7.1.1 to 7.2.0
@@ -412,3 +412,3 @@ /* | ||
if (this.scopeManager.__isNodejsScope()) { | ||
if (this.scopeManager.isGlobalReturn()) { | ||
@@ -415,0 +415,0 @@ // Force strictness of GlobalScope to false when using node.js scope. |
@@ -68,3 +68,3 @@ /* | ||
__isNodejsScope() { | ||
isGlobalReturn() { | ||
return this.__options.nodejsScope || this.__options.sourceType === "commonjs"; | ||
@@ -71,0 +71,0 @@ } |
@@ -1,3 +0,3 @@ | ||
const version = "7.1.1"; | ||
const version = "7.2.0"; | ||
export default version; |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "7.1.1", | ||
"version": "7.2.0", | ||
"engines": { | ||
@@ -20,2 +20,3 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" | ||
"repository": "eslint/eslint-scope", | ||
"funding": "https://opencollective.com/eslint", | ||
"bugs": { | ||
@@ -22,0 +23,0 @@ "url": "https://github.com/eslint/eslint-scope/issues" |
@@ -0,1 +1,5 @@ | ||
[![npm version](https://img.shields.io/npm/v/eslint-scope.svg)](https://www.npmjs.com/package/eslint-scope) | ||
[![Downloads](https://img.shields.io/npm/dm/eslint-scope.svg)](https://www.npmjs.com/package/eslint-scope) | ||
[![Build Status](https://github.com/eslint/eslint-scope/workflows/CI/badge.svg)](https://github.com/eslint/eslint-scope/actions) | ||
# ESLint Scope | ||
@@ -2,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
146333
71