This package has been deprecated

Author message:

TypeScript 5.0 supports combining TSConfigs using array syntax in extends

@tsconfig/node18-strictest

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i @tsconfig/node18-strictest

Weekly Downloads

24,619

Version

1.0.0

License

MIT

Unpacked Size

3.55 kB

Total Files

4

Last publish

Collaborators

  • orta
  • typescript-deploys