This package has been deprecated

Author message:

TypeScript 5.0 supports combining TSConfigs using array syntax in extends

@tsconfig/next-strictest

1.0.1 • Public • Published

A base TSConfig for working with Next.js + Strictest.

Add the package to your "devDependencies":

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

Add to your tsconfig.json:

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

The tsconfig.json:

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "display": "Next.js + Strictest",
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "allowUnusedLabels": false,
    "allowUnreachableCode": false,
    "exactOptionalPropertyTypes": true,
    "noFallthroughCasesInSwitch": true,
    "noImplicitOverride": true,
    "noImplicitReturns": true,
    "noPropertyAccessFromIndexSignature": true,
    "noUncheckedIndexedAccess": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "importsNotUsedAsValues": "error",
    "forceConsistentCasingInFileNames": true,
    "noEmit": true,
    "incremental": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve"
  }
}

You can find the code here.

Package Sidebar

Install

npm i @tsconfig/next-strictest

Weekly Downloads

876

Version

1.0.1

License

MIT

Unpacked Size

3.67 kB

Total Files

4

Last publish

Collaborators

  • orta
  • typescript-deploys