New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tslint-eslint-rules

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tslint-eslint-rules - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

dist/rules/noControlRegexRule.js

1

dist/rules/noInnerDeclarationsRule.js

@@ -32,3 +32,2 @@ /// <reference path='helper.d.ts' />

if (this.hasOption('both') && node.declarationList.getFirstToken().kind === 100) {
debugger;
this.validateInnerDeclaration(node);

@@ -35,0 +34,0 @@ }

@@ -43,3 +43,3 @@ /// <reference path='helper.d.ts' />

catch (e) {
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), e.message.slice(0, 1).toLowerCase() + e.message.slice(1)));
this.addFailure(this.createFailure(node.getStart(), node.getWidth(), e.message));
}

@@ -46,0 +46,0 @@ }

{
"name": "tslint-eslint-rules",
"version": "0.2.5",
"version": "0.2.6",
"description": "Improve your TSLint with the missing ESLint Rules",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -183,3 +183,3 @@ [![Build Status](https://travis-ci.org/buzinas/tslint-eslint-rules.svg)](https://travis-ci.org/buzinas/tslint-eslint-rules)

* [no-control-regex](http://eslint.org/docs/rules/no-control-regex) => no-control-regex (tslint-eslint-rules) [TODO](https://github.com/buzinas/tslint-eslint-rules/issues/5)
* [no-control-regex](http://eslint.org/docs/rules/no-control-regex) => no-control-regex (tslint-eslint-rules)
* Description: disallow control characters in regular expressions (recommended)

@@ -219,3 +219,3 @@ * Usage

* [no-empty-character-class](http://eslint.org/docs/rules/no-empty-character-class) => no-empty-character-class (tslint-eslint-rules) [TODO](https://github.com/buzinas/tslint-eslint-rules/issues/8)
* [no-empty-character-class](http://eslint.org/docs/rules/no-empty-character-class) => no-empty-character-class (tslint-eslint-rules)
* Description: disallow the use of empty character classes in regular expressions (recommended)

@@ -321,3 +321,3 @@ * Usage

* [no-regex-spaces](http://eslint.org/docs/rules/no-regex-spaces) => no-regex-spaces (tslint-eslint-rules) [TODO](https://github.com/buzinas/tslint-eslint-rules/issues/17)
* [no-regex-spaces](http://eslint.org/docs/rules/no-regex-spaces) => no-regex-spaces (tslint-eslint-rules)
* Description: disallow multiple spaces in a regular expression literal (recommended)

@@ -324,0 +324,0 @@ * Usage

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