This package contains the shared TypeScript configuration for the Commit Generator project.
To use the TypeScript configuration in your project, install the package as a development dependency:
pnpm install --save-dev @commit-generator/typescript-config
After installation, add the tsconfig.json
configuration file from the package to your project.
- Extend the TypeScript configuration
{
"extends": "@commit-generator/typescript-config"
}
- Customizing the Configuration
To customize the configuration, create your own tsconfig.json and extend the default settings:
{
"extends": "@commit-generator/typescript-config",
"compilerOptions": {
"strict": true, // Enables strict TypeScript checks
"noUnusedLocals": true // Excludes unused variables
}
}
This package is licensed under the MIT License.