@cvr/linear 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsconfig.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2022",
4
- "module": "NodeNext",
5
- "moduleResolution": "NodeNext",
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "bundler",
6
6
  "moduleDetection": "force",
7
7
  "verbatimModuleSyntax": true,
8
8
  "esModuleInterop": true,
9
+ "resolveJsonModule": true,
9
10
  "strict": true,
10
- "exactOptionalPropertyTypes": true,
11
+ "noUncheckedIndexedAccess": true,
12
+ "noFallthroughCasesInSwitch": true,
13
+ "noPropertyAccessFromIndexSignature": true,
11
14
  "noUnusedLocals": true,
12
15
  "noImplicitOverride": true,
13
16
  "skipLibCheck": true,
@@ -15,14 +18,70 @@
15
18
  "declarationMap": true,
16
19
  "sourceMap": true,
17
20
  "outDir": "dist",
18
- "rootDir": "src",
19
- "types": ["bun-types"],
21
+ "rootDir": ".",
22
+ "types": ["bun"],
20
23
  "plugins": [
21
24
  {
22
- "name": "@effect/language-service"
25
+ "name": "@effect/language-service",
26
+ "diagnostics": true,
27
+ "diagnosticsName": true,
28
+ "includeSuggestionsInTsc": true,
29
+ "ignoreEffectSuggestionsInTscExitCode": false,
30
+ "ignoreEffectWarningsInTscExitCode": false,
31
+ "ignoreEffectErrorsInTscExitCode": false,
32
+ "diagnosticSeverity": {
33
+ "anyUnknownInErrorContext": "error",
34
+ "deterministicKeys": "error",
35
+ "importFromBarrel": "warning",
36
+ "instanceOfSchema": "warning",
37
+ "missedPipeableOpportunity": "suggestion",
38
+ "missingEffectServiceDependency": "warning",
39
+ "schemaUnionOfLiterals": "warning",
40
+ "strictBooleanExpressions": "warning",
41
+ "strictEffectProvide": "warning",
42
+ "catchAllToMapError": "warning",
43
+ "catchUnfailableEffect": "warning",
44
+ "effectFnOpportunity": "warning",
45
+ "effectMapVoid": "warning",
46
+ "effectSucceedWithVoid": "warning",
47
+ "leakingRequirements": "warning",
48
+ "preferSchemaOverJson": "warning",
49
+ "redundantSchemaTagIdentifier": "warning",
50
+ "returnEffectInGen": "warning",
51
+ "runEffectInsideEffect": "error",
52
+ "schemaStructWithTag": "warning",
53
+ "schemaSyncInEffect": "warning",
54
+ "tryCatchInEffectGen": "warning",
55
+ "unnecessaryEffectGen": "warning",
56
+ "unnecessaryFailYieldableError": "warning",
57
+ "unnecessaryPipe": "warning",
58
+ "unnecessaryPipeChain": "warning"
59
+ },
60
+ "keyPatterns": [
61
+ {
62
+ "target": "service",
63
+ "pattern": "default",
64
+ "skipLeadingPath": ["src/"]
65
+ },
66
+ {
67
+ "target": "error",
68
+ "pattern": "default",
69
+ "skipLeadingPath": ["src/"]
70
+ }
71
+ ],
72
+ "overrides": [
73
+ {
74
+ "include": ["**/tests/**/*.ts", "**/*.test.ts"],
75
+ "options": {
76
+ "diagnosticSeverity": {
77
+ "strictEffectProvide": "off"
78
+ }
79
+ }
80
+ }
81
+ ]
23
82
  }
24
83
  ]
25
84
  },
26
- "include": ["src/**/*"],
85
+ "include": ["src/**/*", "tests/**/*", "vitest.config.ts"],
27
86
  "exclude": ["node_modules", "dist", "bin"]
28
87
  }