Socket
Socket
Sign inDemoInstall

@typescript-eslint/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3763
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/eslint-plugin - npm Package Compare versions

Comparing version 1.1.2-alpha.6 to 1.1.2-alpha.7

12

lib/rules/no-extraneous-class.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc