|
4 | 4 | "declaration": true, |
5 | 5 | "declarationMap": true, |
6 | 6 | "skipLibCheck": true, |
7 | | - "baseUrl": "." |
| 7 | + "baseUrl": ".", |
| 8 | + "plugins": [ |
| 9 | + { |
| 10 | + "name": "@effect/language-service", |
| 11 | + // Controls Effect refactors. (default: true) |
| 12 | + "refactors": true, |
| 13 | + // Controls Effect diagnostics. (default: true) |
| 14 | + "diagnostics": true, |
| 15 | + // When false, suggestion-level Effect diagnostics are omitted from tsc CLI output. (default: true) |
| 16 | + "includeSuggestionsInTsc": true, |
| 17 | + // Controls Effect quickinfo. (default: true) |
| 18 | + "quickinfo": true, |
| 19 | + // Controls Effect completions. (default: true) |
| 20 | + "completions": true, |
| 21 | + // Enables additional debug-only Effect language service output. (default: false) |
| 22 | + "debug": false, |
| 23 | + // Controls Effect goto references support. (default: true) |
| 24 | + "goto": true, |
| 25 | + // Controls Effect rename helpers. (default: true) |
| 26 | + "renames": true, |
| 27 | + // When true, suggestion diagnostics do not affect the tsc exit code. (default: true) |
| 28 | + "ignoreEffectSuggestionsInTscExitCode": true, |
| 29 | + // When true, warning diagnostics do not affect the tsc exit code. (default: false) |
| 30 | + "ignoreEffectWarningsInTscExitCode": false, |
| 31 | + // When true, error diagnostics do not affect the tsc exit code. (default: false) |
| 32 | + "ignoreEffectErrorsInTscExitCode": false, |
| 33 | + // When true, disabled diagnostics are still processed so directives can re-enable them. (default: false) |
| 34 | + "skipDisabledOptimization": false, |
| 35 | + // Mermaid rendering service for layer graph links. Accepts mermaid.live, mermaid.com, or a custom URL. (default: "mermaid.live") |
| 36 | + "mermaidProvider": "mermaid.live", |
| 37 | + // When true, suppresses external Mermaid links in hover output. (default: false) |
| 38 | + "noExternal": false, |
| 39 | + // How many levels deep the layer graph extraction follows symbol references. (default: 0) |
| 40 | + "layerGraphFollowDepth": 0, |
| 41 | + // When true, suppresses redundant return-type inlay hints on supported Effect generator functions. (default: false) |
| 42 | + "inlays": false, |
| 43 | + // Package names that should prefer namespace imports. (default: []) |
| 44 | + "namespaceImportPackages": [], |
| 45 | + // Package names that should prefer barrel named imports. (default: []) |
| 46 | + "barrelImportPackages": [], |
| 47 | + // Package-level import aliases keyed by package name. (default: {}) |
| 48 | + "importAliases": {}, |
| 49 | + // Controls whether named reexports are followed at package top-level. (default: "ignore") |
| 50 | + "topLevelNamedReexports": "ignore", |
| 51 | + // Configures key pattern formulas for the deterministicKeys rule. (default: [{"target":"service","pattern":"default","skipLeadingPath":["src/"]},{"target":"custom","pattern":"default","skipLeadingPath":["src/"]}]) |
| 52 | + "keyPatterns": [ |
| 53 | + { |
| 54 | + "target": "service", |
| 55 | + "pattern": "default", |
| 56 | + "skipLeadingPath": ["src/"] |
| 57 | + }, |
| 58 | + { |
| 59 | + "target": "custom", |
| 60 | + "pattern": "default", |
| 61 | + "skipLeadingPath": ["src/"] |
| 62 | + } |
| 63 | + ], |
| 64 | + // Enables matching constructors with @effect-identifier annotations. (default: false) |
| 65 | + "extendedKeyDetection": false, |
| 66 | + // Minimum number of contiguous pipeable transformations to trigger missedPipeableOpportunity. (default: 2) |
| 67 | + "pipeableMinArgCount": 2, |
| 68 | + // Package names allowed to have multiple versions without triggering duplicatePackage. (default: []) |
| 69 | + "allowedDuplicatedPackages": [], |
| 70 | + // Controls which effectFnOpportunity quickfix variants are offered. (default: ["span"]) |
| 71 | + "effectFn": ["span"], |
| 72 | + // Maps rule names to severity levels. Use {} to enable diagnostics with rule defaults. (default: {}) |
| 73 | + "diagnosticSeverity": {}, |
| 74 | + // Ordered per-file diagnostic option overrides. (default: [{"include":["src/**/*.ts"],"options":{"diagnosticSeverity":{"floatingEffect":"error"}}}]) |
| 75 | + "overrides": [ |
| 76 | + { |
| 77 | + "include": ["src/**/*.ts"], |
| 78 | + "options": { |
| 79 | + "diagnosticSeverity": { |
| 80 | + "floatingEffect": "error" |
| 81 | + } |
| 82 | + } |
| 83 | + } |
| 84 | + ] |
| 85 | + } |
| 86 | + ] |
8 | 87 | } |
9 | 88 | } |
0 commit comments