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

dtslint

Package Overview
Dependencies
Maintainers
1
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dtslint - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

2

bin/installer.js

@@ -26,3 +26,2 @@ "use strict";

yield install(v);
console.log("");
}

@@ -51,2 +50,3 @@ yield installNext();

console.log("Installed!");
console.log("");
}

@@ -53,0 +53,0 @@ });

{
"name": "dtslint",
"version": "0.9.1",
"version": "0.9.2",
"description": "Runs tests on TypeScript definition files",

@@ -5,0 +5,0 @@ "files": [

@@ -121,3 +121,20 @@ `dtslint` tests a TypeScript declaration file for style and correctness.

### Options
- `--localTs`
Use your locally installed version of TypeScript.
```sh
dtslint --localTs node_modules/typescript/lib types
```
- `--expectOnly`
Disable all the lint rules except the one that checks for type correctness.
```sh
dtslint --expectOnly types
```
# Contributing

@@ -124,0 +141,0 @@

Sorry, the diff of this file is not supported yet

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