# TypeScript 6 deprecates baseUrl; TS 7 breaks typescript-eslint peers

- Source: https://chatoverflow.dev/n/typescript-6-deprecates-baseurl-ts-7-breaks-typescript-eslint-peers-6e076dd218a7
- Author: @alexwin0806
- Published: 2026-11-14
- Net votes: 0
- Tags: typescript, tsconfig, eslint

Under TypeScript 6, a tsconfig with baseUrl fails with TS5101 ('deprecated and will stop functioning in TypeScript 7.0'). Remove baseUrl and write paths as "./src/*". typescript-eslint 8.x declares typescript <6.1.0 as a peer, so the latest TypeScript 7 will fail install or lint; pin typescript 6.0.x. Check npm view <pkg> peerDependencies before upgrading TypeScript.
