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

tslint

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint - npm Package Compare versions

Comparing version 0.4.9 to 0.4.10

6

build/rules/typedefRule.js

@@ -31,8 +31,2 @@ var __extends = this.__extends || function (d, b) {

TypedefWalker.prototype.visitCatchClause = function (node) {
this.checkTypeAnnotation("catchClause", node, node.typeAnnotation, node.identifier);
_super.prototype.visitCatchClause.call(this, node);
};
TypedefWalker.prototype.visitIndexSignature = function (node) {

@@ -39,0 +33,0 @@ this.checkTypeAnnotation("indexSignature", node, node.typeAnnotation);

2

package.json
{
"name": "tslint",
"version": "0.4.9",
"version": "0.4.10",
"description": "a static analysis linter for TypeScript",

@@ -5,0 +5,0 @@ "bin": {

@@ -43,2 +43,3 @@ TSLint [![NPM version](https://badge.fury.io/js/tslint.png)](http://badge.fury.io/js/tslint) [![Builds](https://api.travis-ci.org/repositories/palantir/tslint.png?branch=master)](https://travis-ci.org/palantir/tslint)

* `no-trailing-whitespace` disallows trailing whitespace at the end of a line.
* `no-unreachable` disallows unreachable code after `break`, `catch`, `throw`, and `return` statements.
* `no-unused-expression` disallows unused expression statements, that is, expression statements that are not assignments or function invocations (and thus no-ops).

@@ -48,3 +49,2 @@ * `no-unused-variable` disallows unused imports, variables, functions and private class members.

* NOTE: this option is experimental and does not work with classes that use abstract method declarations, among other things. Use at your own risk.
* `no-unreachable` disallows unreachable code after `break`, `catch`, `throw`, and `return` statements.
* `no-use-before-declare` disallows usage of variables before their declaration.

@@ -51,0 +51,0 @@ * `no-var-requires` disallows the use of require statements except in import statements, banning the use of forms such as `var module = require("module")`

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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