Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magicspace/tslint-rules

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magicspace/tslint-rules - npm Package Compare versions

Comparing version 0.1.26 to 0.1.29

bld/rules/test.js

2

bld/rules/emptyLineAroundBlocksRule.js

@@ -25,2 +25,4 @@ "use strict";

tsutils_1.isConstructorDeclaration,
tsutils_1.isGetAccessorDeclaration,
tsutils_1.isSetAccessorDeclaration,
tsutils_1.isMethodDeclaration,

@@ -27,0 +29,0 @@ tsutils_1.isInterfaceDeclaration,

3

bld/rules/explicitReturnTypeRule.js

@@ -78,3 +78,4 @@ "use strict";

}
let returnType = nodeType.getCallSignatures()[0].getReturnType();
let callSignatures = nodeType.getCallSignatures()[0];
let returnType = callSignatures ? callSignatures.getReturnType() : nodeType;
let returnTypeString = this.typeChecker.typeToString(returnType);

@@ -81,0 +82,0 @@ let primitiveReturnType = returnTypeString;

{
"name": "@magicspace/tslint-rules",
"version": "0.1.26",
"version": "0.1.29",
"description": "Custom TSLint rules for MagicSpace.",

@@ -5,0 +5,0 @@ "repository": "https://github.com/makeflow/magicspace.git",

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