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

ts-ide-overrides

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-ide-overrides - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

package.json
{
"name": "ts-ide-overrides",
"version": "0.1.1",
"version": "0.1.2",
"main": "./dist",

@@ -14,2 +14,5 @@ "repository": "https://github.com/ashsearle/ts-ide-overrides.git",

},
"peerDependencies": {
"typescript": ">=4.0.0"
},
"devDependencies": {

@@ -16,0 +19,0 @@ "typescript": "^4.7.4"

34

README.md
# ts-ide-overrides
This plugin allows you to override a subset of TypeScript `compilerOptions` when editing files in an IDE. (Specifically `strict` and its 8 associated options: `alwaysStrict`, `strictNullChecks`, `strictBindCallApply`, `strictFunctionTypes`, `strictPropertyInitialization`, `noImplicitAny`, `noImplicitThis`, `useUnknownInCatchVariables`.)
TypeScript language service plugin to override _strict mode family_ options within an editor.
The purpose of the plugin is to support gradual adoption of strict rules, without breaking pre-existing build and validation processes.
The plugin helps raise visibility of strict mode issues without breaking your build process.
The _strict mode family_ options are `strict` and the 8 related options: `alwaysStrict`, `strictNullChecks`, `strictBindCallApply`, `strictFunctionTypes`, `strictPropertyInitialization`, `noImplicitAny`, `noImplicitThis`, and `useUnknownInCatchVariables`.
## Install
Install as a dev-dependency using a package manager:
```bash
npm install --save-dev ts-ide-overrides
```
```bash
yarn add --save-dev ts-ide-overrides
```
```bash
pnpm add --save-dev ts-ide-overrides
```
```bash
bun add --development ts-ide-overrides
```
## Configuration

@@ -20,4 +42,5 @@

// just an example...
"strictNullChecks": true,
"noImplicitAny": true
"strict": true,
"noImplicitAny": false,
"useUnknownInCatchVariables": false
}

@@ -35,4 +58,3 @@ }

```ts
// @ts-ide-disable-strict-null-checks
/* @ts-ide-enable-no-implicit-this */
// @ts-ide-disable-strict @ts-ide-enable-strict-null-checks
```
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