astoilkov/use-local-storage-state

View on GitHub
tsconfig.json

Summary

Maintainability
Test Coverage
{
    "compilerOptions": {
        "target": "ES2020",
        "module": "NodeNext",
        "jsx": "react",
        "esModuleInterop": true,
        "declaration": true,
        "moduleResolution": "nodenext",

        // strict options ensuring more stable code
        "strict": true,
        "noUnusedLocals": true,
        "noUnusedParameters": true,
        "allowUnreachableCode": false,
        "noUncheckedIndexedAccess": true,
        "noFallthroughCasesInSwitch": true,
        "forceConsistentCasingInFileNames": true,

        "types": ["node"],

        // - ℹī¸ https://www.typescriptlang.org/tsconfig#isolatedModules
        // - 😃 Deno requires "isolatedModules" to be set to `true`
        // - 😃 the stricter version - I always prefer the stricter version
        // - 😃 probably the future
        "isolatedModules": true
    },
    "include": ["index.ts"]
}