This package provides Evaneos's tsconfig for typescript front projects.
-
.tsconfig
as an extensible shared config
This setup configures your TypeScript code based on Evaneos' practices. Feel free to override the rules that make sense for you.
-
In your project folder, run:
npm i @evaneos/typescript-config npx install-peerdeps @evaneos/typescript-config
You will see several dependencies were installed.
-
Create (or update) a
.tsconfig
file with the following content:{ "extends": "@evaneos/typescript-config/tsconfig.json", "compilerOptions": {}, "include": ["./src"] }
You can also set/override any
compilerOptions
you want, as well as change theinclude
or any other entry.