@qwezey/typescript 0.0.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,26 @@
1
- # typescript
1
+ # QweZey's TypeScript Configuration
2
+
3
+ This project provides an opinionated and strict ESLint, Prettier, and TypeScript configuration. It's designed for the latest LTS version of Node.js (currently 22.x.x) and comes with a simple setup command to get you started quickly.
4
+
5
+ ## Features
6
+
7
+ - **Strict TypeScript Configuration**: Enforces modern and strict TypeScript rules for better code quality and fewer runtime errors.
8
+ - **Prettier Code Formatting**: Includes a Prettier configuration to ensure consistent code style across your project.
9
+ - **Comprehensive ESLint Rules**: Comes with a thorough ESLint configuration that integrates with TypeScript and Prettier to catch common issues and enforce best practices.
10
+ - **Easy Initialization**: A single command sets up your project with all the necessary configurations and dependencies.
11
+
12
+ ## Getting Started
13
+
14
+ To set up your TypeScript project with this configuration, run the following command in your terminal:
15
+
16
+ ```bash
17
+ npx -y @qwezey/typescript@latest init
18
+ ```
19
+
20
+ This command will perform the following actions:
21
+
22
+ 1. Create a `package.json` file with `"type": "module"`.
23
+ 2. Create an `eslint.config.ts` file that extends the shared ESLint configuration.
24
+ 3. Create a `prettier.config.ts` file that extends the shared Prettier configuration.
25
+ 4. Create a `tsconfig.json` file that extends the shared TypeScript configuration.
26
+ 5. Install `@qwezey/typescript` as a dev dependency.