@tsconfig/strictest

2.0.5 • Public • Published

A base TSConfig for working with Strictest.

Add the package to your "devDependencies":

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

Add to your tsconfig.json:

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

The tsconfig.json:

{
  "compilerOptions": {
    "strict": true,
    "allowUnusedLabels": false,
    "allowUnreachableCode": false,
    "exactOptionalPropertyTypes": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitOverride": true,
    "noImplicitReturns": true,
    "noPropertyAccessFromIndexSignature": true,
    "noUncheckedIndexedAccess": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,

    "isolatedModules": true,

    "checkJs": true,

    "esModuleInterop": true,
    "skipLibCheck": true
  },
  "$schema": "https://json.schemastore.org/tsconfig",
  "_version": "2.0.0"
}

You can find the code here.

Readme

Keywords

Package Sidebar

Install

npm i @tsconfig/strictest

Weekly Downloads

129,902

Version

2.0.5

License

MIT

Unpacked Size

2.98 kB

Total Files

4

Last publish

Collaborators

  • orta
  • typescript-deploys