@babel/eslint-plugin
Advanced tools
Comparing version 7.12.13 to 7.13.0
@@ -21,3 +21,3 @@ "use strict"; | ||
while (node) { | ||
if (node.type === "ClassPrivateMethod" || node.type === "ClassPrivateProperty" || node.type === "ClassProperty") { | ||
if (node.type === "ClassPrivateMethod" || node.type === "ClassPrivateProperty" || node.type === "ClassProperty" || node.type === "PropertyDefinition" || node.type === "MethodDefinition" && node.key.type === "PrivateIdentifier") { | ||
inClassMember = true; | ||
@@ -24,0 +24,0 @@ return; |
@@ -81,3 +81,3 @@ "use strict"; | ||
var _default = _eslintRuleComposer.default.joinReports([rule, context => ({ | ||
"ClassProperty, ClassPrivateProperty"(node) { | ||
"ClassProperty, ClassPrivateProperty, PropertyDefinition"(node) { | ||
const options = context.options[1]; | ||
@@ -84,0 +84,0 @@ const exceptOneLine = options && options.omitLastInOneLineBlock === true; |
{ | ||
"name": "@babel/eslint-plugin", | ||
"version": "7.12.13", | ||
"version": "7.13.0", | ||
"description": "Companion rules for @babel/eslint-parser", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
11667