Skip to content

fix: drop obsolete baseUrl and ignoreDeprecations from tsconfig#184

Merged
v-kessler merged 1 commit into
mainfrom
fix/tsconfig-drop-baseurl
May 27, 2026
Merged

fix: drop obsolete baseUrl and ignoreDeprecations from tsconfig#184
v-kessler merged 1 commit into
mainfrom
fix/tsconfig-drop-baseurl

Conversation

@v-kessler
Copy link
Copy Markdown
Contributor

@v-kessler v-kessler commented May 27, 2026

What

Drop the obsolete baseUrl and ignoreDeprecations from tsconfig.json, and make the @/* path tsconfig-relative (*./src/*).

Why

With moduleResolution: "bundler" (TS 5.0+), baseUrl is no longer required for paths — they resolve relative to the tsconfig location. ignoreDeprecations: "6.0" only suppressed errors for legacy options (none of which are used here), so it was a no-op. No behavior change; vue-tsc --noEmit passes clean.

BEGIN_COMMIT_OVERRIDE
fix(ui): drop obsolete baseUrl and ignoreDeprecations from tsconfig
END_COMMIT_OVERRIDE

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated TypeScript module path configuration for improved import resolution.

Review Change Stack

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 27, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8c165b41-f5d6-4555-ac55-d0c5d1917d8d

📥 Commits

Reviewing files that changed from the base of the PR and between 77ceb0e and dd1337e.

📒 Files selected for processing (1)
  • tsconfig.json

Walkthrough

This PR updates the TypeScript compiler path alias configuration in tsconfig.json. The @/* alias now resolves to ./src/* instead of the repository root, ensuring that all @/... imports are correctly mapped to the source directory.

Changes

Module Resolution Alias

Layer / File(s) Summary
Module resolution alias configuration
tsconfig.json
The @/* path alias mapping changes from ["*"] to ["./src/*"], updating module resolution for all imports using the @/ prefix.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

A rabbit adjusts the path with care,
@ now points to src/ over there,
No longer seeking roots afar,
This alias shines like a guiding star! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing obsolete baseUrl and ignoreDeprecations from tsconfig.json, which aligns with the PR objectives and file modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/tsconfig-drop-baseurl

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@v-kessler v-kessler merged commit 3e6fe00 into main May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant