@babel/eslint-plugin
Advanced tools
Comparing version 7.11.3 to 7.11.5
@@ -17,8 +17,8 @@ "use strict"; | ||
var _default = _eslintRuleComposer.default.filterReports(noInvalidThisRule, problem => { | ||
let inClassProperty = false; | ||
let inClassMember = false; | ||
let node = problem.node; | ||
while (node) { | ||
if (node.type === "ClassProperty" || node.type === "ClassPrivateProperty") { | ||
inClassProperty = true; | ||
if (node.type === "ClassPrivateMethod" || node.type === "ClassPrivateProperty" || node.type === "ClassProperty") { | ||
inClassMember = true; | ||
return; | ||
@@ -30,5 +30,5 @@ } | ||
return !inClassProperty; | ||
return !inClassMember; | ||
}); | ||
exports.default = _default; |
{ | ||
"name": "@babel/eslint-plugin", | ||
"version": "7.11.3", | ||
"version": "7.11.5", | ||
"description": "Companion rules for @babel/eslint-parser", | ||
@@ -46,3 +46,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "57b658c4d83db6874dd3d72a5a653c5b2cec6e78" | ||
} | ||
"gitHead": "af64ccb2b00bc7574943674996c2f0507cdbfb6f" | ||
} |
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
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
10901