@typescript-eslint/eslint-plugin
Advanced tools
Comparing version 1.1.2-alpha.6 to 1.1.2-alpha.7
@@ -71,3 +71,6 @@ /** | ||
if (allowEmpty) return; | ||
context.report({ node: id, messageId: 'empty' }); | ||
context.report({ | ||
node: id || node.parent, | ||
messageId: 'empty' | ||
}); | ||
return; | ||
@@ -101,3 +104,3 @@ } | ||
context.report({ | ||
node: id, | ||
node: id || node.parent, | ||
messageId: 'onlyConstructor' | ||
@@ -109,3 +112,6 @@ }); | ||
if (onlyStatic && !allowStaticOnly) { | ||
context.report({ node: id, messageId: 'onlyStatic' }); | ||
context.report({ | ||
node: id || node.parent, | ||
messageId: 'onlyStatic' | ||
}); | ||
} | ||
@@ -112,0 +118,0 @@ } |
{ | ||
"name": "@typescript-eslint/eslint-plugin", | ||
"version": "1.1.2-alpha.6+1f868ce", | ||
"version": "1.1.2-alpha.7+b1dbb64", | ||
"description": "TypeScript plugin for ESLint", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@typescript-eslint/parser": "1.1.2-alpha.6+1f868ce", | ||
"@typescript-eslint/parser": "1.1.2-alpha.7+b1dbb64", | ||
"requireindex": "^1.2.0", | ||
@@ -40,3 +40,3 @@ "tsutils": "^3.7.0" | ||
}, | ||
"gitHead": "1f868cec3d6279beb24094f77c8e72626ce6fb9f" | ||
"gitHead": "b1dbb648e529d43bfcc2b6581348420af5eb8736" | ||
} |
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
260024
4277