@tsconfig/node16-strictest.combined

A base TSConfig for working with Node 16 + Strictest.

Usage no npm install needed!

<script type="module">
  import tsconfigNode16StrictestCombined from 'https://cdn.skypack.dev/@tsconfig/node16-strictest.combined';
</script>

README

A base TSConfig for working with Node 16 + Strictest.

Add the package to your "devDependencies":

npm install --save-dev @tsconfig/node16-strictest.combined
yarn add --dev @tsconfig/node16-strictest.combined

Add to your tsconfig.json:

"extends": "@tsconfig/node16-strictest.combined/tsconfig.json"

The tsconfig.json:

// This file was autogenerated by a script
// Equivalent to a config of: strictest extends node16
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Node 16 + Strictest",
  "compilerOptions": {
    "lib": [
      "es2021"
    ],
    "module": "commonjs",
    "target": "es2021",
    "strict": true,
    "esModuleInterop": true,
    "skipLibCheck": true,
    "forceConsistentCasingInFileNames": true,
    "alwaysStrict": true,
    "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.