-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingconfigurationProject setup and configuration filesProject setup and configuration files
Milestone
Description
fix(jsconfig): resolve deprecated baseUrl option warning
| ⏱️ Estimate | 📊 Priority | 📏 Size | 📅 Start | 📅 End |
|---|---|---|---|---|
| 1h | P0 | XS | 25-01-2026 | 25-01-2026 |
📸 Screenshots
| Current | Expected |
|---|---|
| N/A — This change has no visual impact. | N/A — This change has no visual impact. |
📝 Summary
- IDE shows deprecation warning for
baseUrloption injsconfig.json - The
jsconfig.jsonschema is validated against TypeScript compiler options
💡 Why this bug?
- Warning message appears in IDE:
Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0.
Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
baseUrlwas originally designed for AMD module loaders in the browser, a use case that is no longer relevant- Since TypeScript 4.1,
pathsworks withoutbaseUrlas long as paths use relative prefixes (e.g.,"./*") - TypeScript 7.0 is being rewritten in Go and will not reimplement
baseUrl
Timeline
| Version | Status |
|---|---|
| TypeScript 5.x/6.x | baseUrl works but shows deprecation warning |
| TypeScript 7.0 | baseUrl will be removed |
✅ Expected behavior
- IDE shows no deprecation warnings
- Remove
baseUrloption since it is no longer required when usingpaths - The current paths already use relative prefixes (
"./*") so they work withoutbaseUrl
📋 Steps
Phase 1: Remove deprecated option
- Remove
"baseUrl": "."fromcompilerOptionsinjsconfig.json:
{
"compilerOptions": {
- "baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
}
}
}🧪 Tests
- IDE shows no deprecation warnings
- Path aliases still work correctly
🔗 References
Files to modify
jsconfig.json
Documentation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconfigurationProject setup and configuration filesProject setup and configuration files