@azat-io/typescript-config
Version:
TypeScript shareable config
52 lines (36 loc) • 1.55 kB
Markdown
# TypeScript Config
<img
src="https://raw.githubusercontent.com/azat-io/typescript-config/main/assets/logo.svg"
alt="TypeScript Config Logo"
align="right"
width="160"
height="160"
/>
[](https://npmjs.com/package/@azat-io/typescript-config)
[](https://github.com/azat-io/typescript-config/blob/main/license.md)
A comprehensive and strict TypeScript configuration that enforces modern, type-safe development practices. Seamlessly implement robust typing standards across projects by utilizing cutting-edge TypeScript features and safety checks.
This config delivers a future-ready TypeScript setup through a single, optimized configuration, ensuring maximum type safety and compatibility with modern JavaScript runtimes including Node.js native TypeScript support.
## Installation
1. Install package:
```sh
pnpm add --save-dev typescript @azat-io/typescript-config
```
2. Create TypeScript configuration file `tsconfig.json` in the root of your project:
```json
{
"extends": "@azat-io/typescript-config"
}
```
3. Add script for package.json:
```js
{
"scripts": {
"test:types": "tsc --noEmit --pretty"
}
}
```
## See also
- [`@azat-io/eslint-config`](https://github.com/azat-io/eslint-config)
- [`@azat-io/stylelint-config`](https://github.com/azat-io/stylelint-config)
## License
MIT © [Azat S.](https://azat.io)