1.0.0 • Published 1 year ago

@kevinwolfcr/tsconfig-react v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kevinwolfcr/tsconfig-react

Kevin Wolf's opinionated TypeScript config optimized for React projects.

Features

  • Specifically tailored for projects enhancing development experience with React's JSX syntax and features.
  • Extends @kevinwolfcr/tsconfig-browser to inherit browser-specific settings and ensure consistent coding standards and best practices.

When to Use

This configuration is designed for TypeScript projects using React. It's perfect for single-page applications (SPAs), static sites generated with React, or any web project that benefits from React's component-based architecture. Use this configuration to align your TypeScript setup with React's ecosystem and typing requirements.

Installation

With bun:

bun add -D @kevinwolfcr/tsconfig-react

With npm:

npm install --save-dev @kevinwolfcr/tsconfig-react

With pnpm:

pnpm add -D @kevinwolfcr/tsconfig-react

With yarn:

yarn add --dev @kevinwolfcr/tsconfig-react

Usage

To use this configuration, extend it in your tsconfig.json:

{
  "extends": "@kevinwolfcr/tsconfig-react"
}

Contributing

Contributions are welcome! If you wish to contribute to this project, please read the Contributing Guidelines first.

License

This project is licensed under the MIT license - see the license file for details.