@typescript-eslint/eslint-plugin
Advanced tools
Comparing version 1.3.1-alpha.24 to 1.3.1-alpha.25
@@ -75,4 +75,2 @@ "use strict"; | ||
const tsName = esTreeNodeToTSNodeMap.get(name); | ||
if (!(tsQualifier && tsName)) | ||
return false; // TODO: throw error? | ||
const namespaceSymbol = checker.getSymbolAtLocation(tsQualifier); | ||
@@ -110,11 +108,6 @@ if (typeof namespaceSymbol === 'undefined' || | ||
function enterDeclaration(node) { | ||
const tsDeclaration = esTreeNodeToTSNodeMap.get(node); | ||
if (tsDeclaration) { | ||
namespacesInScope.push(tsDeclaration); | ||
} | ||
namespacesInScope.push(esTreeNodeToTSNodeMap.get(node)); | ||
} | ||
function exitDeclaration(node) { | ||
if (esTreeNodeToTSNodeMap.has(node)) { | ||
namespacesInScope.pop(); | ||
} | ||
function exitDeclaration() { | ||
namespacesInScope.pop(); | ||
} | ||
@@ -121,0 +114,0 @@ function resetCurrentNamespaceExpression(node) { |
{ | ||
"name": "@typescript-eslint/eslint-plugin", | ||
"version": "1.3.1-alpha.24+9f1d314", | ||
"version": "1.3.1-alpha.25+fa0b032", | ||
"description": "TypeScript plugin for ESLint", | ||
@@ -38,4 +38,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@typescript-eslint/parser": "1.3.1-alpha.24+9f1d314", | ||
"@typescript-eslint/typescript-estree": "1.3.1-alpha.24+9f1d314", | ||
"@typescript-eslint/parser": "1.3.1-alpha.25+fa0b032", | ||
"@typescript-eslint/typescript-estree": "1.3.1-alpha.25+fa0b032", | ||
"requireindex": "^1.2.0", | ||
@@ -52,3 +52,3 @@ "tsutils": "^3.7.0" | ||
}, | ||
"gitHead": "9f1d314c039a5e789be52cae732ce3a3ea17b587" | ||
"gitHead": "fa0b032340e25b251a0cce1fac89184b1c677e25" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
440110
4955