A collection of TypeScript preset configurations that follow best practices, designed to help you quickly set up your TypeScript projects.
- Best Practices: Ensures accurate and reliable type checking.
- Strict Configurations: Keeps your code quality at a high standard.
- Flexible Setup: Adapts to various project needs.
- Regular Updates: Stays up-to-date with the latest features and versions.
- Version >= 5.0.0
npm install @m1rn/tsconfig --save-dev
-
Suitable for all TypeScript projects; serves as foundation for other presets
-
Suitable for projects that require strict type checking.
-
Suitable for browser environment projects.
-
Suitable for Node.js projects.
-
Suitable for React projects.
-
Suitable for Vue projects.
Just extend
the preset configurations you need in your tsconfig.json
file:
{
"extends": "@m1rn/tsconfig/base"
}
{
"extends": ["@m1rn/tsconfig/node", "@m1rn/tsconfig/strict"]
}