Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
60 lines (60 loc) · 2.11 KB
/
Copy pathtsconfig.json
File metadata and controls
60 lines (60 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2023", "DOM"],
"types": ["node"],
"strict": true,
"exactOptionalPropertyTypes": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"verbatimModuleSyntax": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"skipLibCheck": true,
"jsx": "react-jsx",
"resolveJsonModule": true,
"plugins": [
{
"name": "@effect/language-service",
// Errors fail the typecheck. Warnings are reported; suggestions stay in the editor.
"includeSuggestionsInTsc": false,
"ignoreEffectWarningsInTscExitCode": true,
"diagnosticSeverity": {
"missingEffectContext": "error",
"missingEffectError": "error",
"missingLayerContext": "error",
"leakingRequirements": "error",
// Warning until author and Promise boundaries get typed errors: 313 and 21 sites.
"anyUnknownInErrorContext": "warning",
"unknownInEffectCatch": "warning",
"floatingEffect": "error",
"floatingEffectInVitest": "error",
"missingReturnYieldStar": "error",
"globalFetchInEffect": "error",
"globalConsoleInEffect": "error",
// Warning until Effect code reads time through Clock/DateTime: 92 sites.
"globalDateInEffect": "warning",
// Warning until imports move behind platform services or edges: 247 sites, 214 in e2e.
"nodeBuiltinImport": "warning",
// The framework is built on Effect's unstable HTTP, SQL, CLI, AI and reactivity
// modules by design. Upgrades are reviewed against the release notes instead.
"unstableApiUsage": "off",
"experimentalApiUsage": "off"
}
}
]
},
"exclude": [
"apps/local/web",
"apps/hosted/web",
"apps/hosted/cloud/web",
"apps/hosted/self-host/web",
"apps/marketing",
"apps/docs",
"**/dist",
"**/.blume"
],
"include": ["packages", "apps", "playground", "scripts/oxlint-plugin.ts"]
}