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.
Files changed (2) hide show
  1. package/README.md +38 -4
  2. 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 | Description |
155
- | :------------------------------------------------------------------------------------------------------------------- | :---------------------------------------- |
156
- | [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next) | Import ordering & dependency architecture |
157
- | [`@interlace/eslint-plugin-maintainability`](https://www.npmjs.com/package/@interlace/eslint-plugin-maintainability) | Cognitive complexity & code quality |
183
+ | Plugin | Downloads | Description |
184
+ | :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------- |
185
+ | [`eslint-plugin-import-next`](https://www.npmjs.com/package/eslint-plugin-import-next) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-import-next.svg?style=flat-square)](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) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-maintainability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive complexity & code quality |
187
+ | [`eslint-plugin-modernization`](https://www.npmjs.com/package/eslint-plugin-modernization) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-modernization.svg?style=flat-square)](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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-modularity",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "ESLint rules for architecture, DDD patterns, and module isolation with AI-parseable guidance.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",