This package has been deprecated

Author message:

TypeScript 5.0 supports combining TSConfigs using array syntax in extends

@tsconfig/node18-strictest-esm

1.0.1 • Public • Published

A base TSConfig for working with Node 18 + ESM + Strictest.

Add the package to your "devDependencies":

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

Add to your tsconfig.json:

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

The tsconfig.json:

// This file was autogenerated by a script
// Equivalent to a config of: strictest extends esm extends node18
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 18 + ESM + Strictest",
  "compilerOptions": {
    "lib": [
      "es2022"
    ],
    "module": "es2022",
    "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-esm

Weekly Downloads

1,894

Version

1.0.1

License

MIT

Unpacked Size

3.67 kB

Total Files

4

Last publish

Collaborators

  • orta
  • typescript-deploys