Skip to content

Shared TypeScript config for my projects

License

Notifications You must be signed in to change notification settings

sindresorhus/tsconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @sindresorhus/tsconfig

This config requires TypeScript 5.5 or later.

Usage

tsconfig.json

{
	"extends": "@sindresorhus/tsconfig"
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
	"extends": "@sindresorhus/tsconfig",
	"compilerOptions": {
		"target": "ES2023"
	}
}