eslint-plugin-modularity 2.0.0 โ 2.0.1
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 +38 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
<a href="https://www.npmjs.com/package/eslint-plugin-modularity" target="_blank"><img src="https://img.shields.io/npm/v/eslint-plugin-modularity.svg" alt="NPM Version" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/eslint-plugin-modularity" target="_blank"><img src="https://img.shields.io/npm/dm/eslint-plugin-modularity.svg" alt="NPM Downloads" /></a>
|
|
12
12
|
<a href="https://opensource.org/licenses/MIT" target="_blank"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="Package License" /></a>
|
|
13
|
+
<a href="https://app.codecov.io/gh/ofri-peretz/eslint/components?components%5B0%5D=modularity" target="_blank"><img src="https://codecov.io/gh/ofri-peretz/eslint/graph/badge.svg?component=modularity" alt="Codecov" /></a>
|
|
14
|
+
<a href="https://github.com/ofri-peretz/eslint" target="_blank"><img src="https://img.shields.io/badge/Since-Dec_2025-blue?logo=rocket&logoColor=white" alt="Since Dec 2025" /></a>
|
|
13
15
|
</p>
|
|
14
16
|
|
|
15
17
|
## Description
|
|
@@ -23,6 +25,11 @@ This plugin enforces Domain-Driven Design (DDD) patterns, module isolation, and
|
|
|
23
25
|
## Getting Started
|
|
24
26
|
|
|
25
27
|
- To check out the [guide](https://eslint.interlace.tools/docs/modularity), visit [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
28
|
+
- ่ฆๆฅ็ไธญๆ [ๆๅ](https://eslint.interlace.tools/docs/modularity), ่ฏท่ฎฟ้ฎ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
29
|
+
- [๊ฐ์ด๋](https://eslint.interlace.tools/docs/modularity) ๋ฌธ์๋ [eslint.interlace.tools](https://eslint.interlace.tools)์์ ํ์ธํ์ค ์ ์์ต๋๋ค. ๐
|
|
30
|
+
- [ใฌใคใ](https://eslint.interlace.tools/docs/modularity)ใฏ [eslint.interlace.tools](https://eslint.interlace.tools)ใงใ็ขบ่ชใใ ใใใ ๐
|
|
31
|
+
- Para ver la [guรญa](https://eslint.interlace.tools/docs/modularity), visita [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
32
|
+
- ููุงุทูุงุน ุนูู [ุงูุฏููู](https://eslint.interlace.tools/docs/modularity)ุ ูู
ุจุฒูุงุฑุฉ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
26
33
|
|
|
27
34
|
```bash
|
|
28
35
|
npm install eslint-plugin-modularity --save-dev
|
|
@@ -56,6 +63,28 @@ export default [
|
|
|
56
63
|
|
|
57
64
|
---
|
|
58
65
|
|
|
66
|
+
## AI-Optimized Messages
|
|
67
|
+
|
|
68
|
+
This plugin is optimized for ESLint's [Model Context Protocol (MCP)](https://eslint.org/docs/latest/use/mcp), enabling AI assistants like **Cursor**, **GitHub Copilot**, and **Claude** to:
|
|
69
|
+
|
|
70
|
+
- Understand the exact issue via structured context
|
|
71
|
+
- Apply the correct fix using guidance
|
|
72
|
+
- Provide educational context to developers
|
|
73
|
+
|
|
74
|
+
```json
|
|
75
|
+
// .cursor/mcp.json
|
|
76
|
+
{
|
|
77
|
+
"mcpServers": {
|
|
78
|
+
"eslint": {
|
|
79
|
+
"command": "npx",
|
|
80
|
+
"args": ["@eslint/mcp@latest"]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
59
88
|
## Rules
|
|
60
89
|
|
|
61
90
|
| Rule | Description | ๐ผ | โ ๏ธ |
|
|
@@ -151,11 +180,16 @@ export function format(data: Data): FormattedData {
|
|
|
151
180
|
|
|
152
181
|
Part of the **Interlace ESLint Ecosystem** โ AI-native quality plugins with LLM-optimized error messages:
|
|
153
182
|
|
|
154
|
-
| Plugin
|
|
155
|
-
|
|
|
156
|
-
| [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next)
|
|
157
|
-
| [
|
|
183
|
+
| Plugin | Downloads | Description |
|
|
184
|
+
| :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------- |
|
|
185
|
+
| [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next) | [](https://www.npmjs.com/package/eslint-plugin-import-next) | Import ordering & dependency architecture |
|
|
186
|
+
| [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | [](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive complexity & code quality |
|
|
187
|
+
| [`eslint-plugin-modernization`](https://www.npmjs.com/package/eslint-plugin-modernization) | [](https://www.npmjs.com/package/eslint-plugin-modernization) | Modernize to ES2022+ syntax |
|
|
158
188
|
|
|
159
189
|
## ๐ License
|
|
160
190
|
|
|
161
191
|
MIT ยฉ [Ofri Peretz](https://github.com/ofri-peretz)
|
|
192
|
+
|
|
193
|
+
<p align="center">
|
|
194
|
+
<a href="https://eslint.interlace.tools/docs/modularity"><img src="https://eslint.interlace.tools/images/og-architecture.png" alt="ESLint Interlace Plugin" width="300" /></a>
|
|
195
|
+
</p>
|
package/package.json
CHANGED