Socket
Socket
Sign inDemoInstall

@tsconfig/node18-strictest

Package Overview
Dependencies
0
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tsconfig/node18-strictest

A base TSConfig for working with Node 18 + Strictest.


Version published
Weekly downloads
20K
decreased by-8.93%
Maintainers
2
Install size
3.46 kB
Created
Weekly downloads
 

Readme

Source

A base TSConfig for working with Node 18 + Strictest.

Add the package to your "devDependencies":

npm install --save-dev @tsconfig/node18-strictest
yarn add --dev @tsconfig/node18-strictest

Add to your tsconfig.json:

"extends": "@tsconfig/node18-strictest/tsconfig.json"

The tsconfig.json:

// This file was autogenerated by a script
// Equivalent to a config of: strictest extends node18
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 18 + Strictest",
  "compilerOptions": {
    "lib": [
      "es2022"
    ],
    "module": "commonjs",
    "target": "es2022",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "moduleResolution": "node",
    "allowUnusedLabels": false,
    "allowUnreachableCode": false,
    "exactOptionalPropertyTypes": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitOverride": true,
    "noImplicitReturns": true,
    "noPropertyAccessFromIndexSignature": true,
    "noUncheckedIndexedAccess": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "importsNotUsedAsValues": "error",
    "checkJs": true
  }
}

You can find the code here.

Keywords

FAQs

Last updated on 22 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc