1.0.4 • Published 8 months ago

@skimhugo/tsconfig v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

tsconfig

Shared TypeScript config for my projects

feature

  • almost open every type check
  • use latest typescript feature
  • do not use anything javascript do not support(best compatible for esbuild)
  • do not have any emit options

Install

npm install --save-dev @skimhugo/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "@skimhugo/tsconfig",
	"compilerOptions": {
		"outDir": "dist"
	}
}

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

{
	"extends": "@skimhugo/tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2021"
	}
}