@sabzidev/eslint-rules 1.0.1 → 1.0.4

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
@@ -7,10 +7,10 @@ A collection of custom ESLint rules for improving code quality, consistency, and
7
7
  ## 👀 Overview
8
8
 
9
9
  <div align="center">
10
- <img src="https://img.shields.io/npm/dm/@sabzidev/eslint-rules?style=flat-square&&color=16A34A&label=DOWNLOADS" alt="DOWNLOADS"/>
11
- <img src="https://img.shields.io/npm/v/@sabzidev/eslint-rules?style=flat-square&color=16A34A&label=VERSION" alt="VERSION"/>
10
+ <img src="https://img.shields.io/npm/dm/@sabzidev/eslint-rules?style=flat-square&&color=16A34A&label=DOWNLOADS" alt="DOWNLOADS" />
11
+ <img src="https://img.shields.io/npm/v/@sabzidev/eslint-rules?style=flat-square&color=16A34A&label=VERSION" alt="VERSION" />
12
12
  <br />
13
- <img src="./docs/images/logo.webp" alt="SabziDev logo" height="300" width="70%"/>
13
+ <img src="./docs/images/logo.webp" alt="SabziDev logo" height="300" width="70%" />
14
14
 
15
15
  [GITHUB](https://github.com/SabziDev/eslint-rules) | [NPM](https://npmjs.com/package/@sabzidev/eslint-rules)
16
16
  </div>
@@ -29,18 +29,18 @@ A collection of custom ESLint rules for improving code quality, consistency, and
29
29
  Install the package as a development dependency:
30
30
 
31
31
  ```bash
32
- p i -D @sabzidev/eslint-rules
32
+ pnpm i -D @sabzidev/eslint-rules
33
33
  ```
34
34
 
35
35
  ---
36
36
 
37
37
  ## 🚀 Usage
38
38
 
39
- Choose **one** of the following configuration methods.
39
+ Choose **one** of the following configuration methods for your existing `eslint.config.js` file:
40
40
 
41
41
  ### ● Recommended Configuration
42
42
 
43
- Add the recommended configuration to your existing `eslint.config.js` file:
43
+ Add the recommended configuration:
44
44
 
45
45
  ```js
46
46
  import sabzidev from "@sabzidev/eslint-rules";
@@ -56,7 +56,7 @@ This enables all rules included in the recommended configuration with their pred
56
56
 
57
57
  ### ● Custom Configuration
58
58
 
59
- Alternatively, register the plugin and configure each rule individually in your existing `eslint.config.js` file:
59
+ Alternatively, register the plugin and configure each rule individually:
60
60
 
61
61
  ```js
62
62
  import sabzidev from "@sabzidev/eslint-rules";
@@ -90,6 +90,8 @@ For a more comprehensive linting setup, combine `@sabzidev/eslint-rules` with [`
90
90
 
91
91
  This combination brings together code-quality rules, bug detection, maintainability checks, and custom linting rules.
92
92
 
93
+ **Configuration for `eslint.config.js`:**
94
+
93
95
  ```js
94
96
  import { defineConfig } from "@fullstacksjs/eslint-config";
95
97
  import sabzidev from "@sabzidev/eslint-rules";
@@ -160,5 +162,5 @@ export default config;
160
162
 
161
163
  Developed by **Abolfazl Sabzmohammadi**.
162
164
 
163
- - GitHub: [SabziDev](https://github.com/SabziDev)
165
+ - GitHub: [github.com/SabziDev](https://github.com/SabziDev)
164
166
  - Website: [Sabzi.Dev](https://Sabzi.Dev)
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ var e = {
17
17
  "developer-tools"
18
18
  ],
19
19
  author: "Abolfazl Sabzmohammadi <SabziDev@gmail.com> (https://Sabzi.Dev)",
20
- version: "1.0.1",
20
+ version: "1.0.4",
21
21
  type: "module",
22
22
  main: "./dist/index.js",
23
23
  exports: "./dist/index.js",
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "developer-tools"
18
18
  ],
19
19
  "author": "Abolfazl Sabzmohammadi <SabziDev@gmail.com> (https://Sabzi.Dev)",
20
- "version": "1.0.1",
20
+ "version": "1.0.4",
21
21
  "type": "module",
22
22
  "main": "./dist/index.js",
23
23
  "exports": "./dist/index.js",