@qwezey/typescript
v2.0.1
Published
An opinionated and strict ESLint, Prettier, and TypeScript configuration with a simple setup command to get you started quickly.
Maintainers
Readme
QweZey's TypeScript Configuration
This project provides an opinionated and strict ESLint, Prettier, and TypeScript configuration. It's designed for the Node.js 24 and comes with a simple setup command to get you started quickly.
Features
- Strict TypeScript Configuration: Enforces modern and strict TypeScript rules for better code quality and fewer runtime errors.
- Prettier Code Formatting: Includes a Prettier configuration to ensure consistent code style across your project.
- Comprehensive ESLint Rules: Comes with a thorough ESLint configuration that integrates with TypeScript and Prettier to catch common issues and enforce best practices.
- Easy Initialization: A single command sets up your project with all the necessary configurations and dependencies.
Getting Started
To set up your TypeScript project with this configuration, run the following command in your terminal:
npx -y @qwezey/typescript@latest initThis command will perform the following actions:
- Create a
package.jsonfile with"type": "module". - Create an
eslint.config.tsfile that extends the shared ESLint configuration. - Create a
prettier.config.tsfile that extends the shared Prettier configuration. - Create a
tsconfig.jsonfile that extends the shared TypeScript configuration. - Install
@qwezey/typescriptas a dev dependency.
