eslint-plugin-reliability 3.0.0 โ 3.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-reliability" target="_blank"><img src="https://img.shields.io/npm/v/eslint-plugin-reliability.svg" alt="NPM Version" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/eslint-plugin-reliability" target="_blank"><img src="https://img.shields.io/npm/dm/eslint-plugin-reliability.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=reliability" target="_blank"><img src="https://codecov.io/gh/ofri-peretz/eslint/graph/badge.svg?component=reliability" 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 reliable code patterns by detecting unhandled promises, sil
|
|
|
23
25
|
## Getting Started
|
|
24
26
|
|
|
25
27
|
- To check out the [guide](https://eslint.interlace.tools/docs/reliability), visit [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
28
|
+
- ่ฆๆฅ็ไธญๆ [ๆๅ](https://eslint.interlace.tools/docs/reliability), ่ฏท่ฎฟ้ฎ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
29
|
+
- [๊ฐ์ด๋](https://eslint.interlace.tools/docs/reliability) ๋ฌธ์๋ [eslint.interlace.tools](https://eslint.interlace.tools)์์ ํ์ธํ์ค ์ ์์ต๋๋ค. ๐
|
|
30
|
+
- [ใฌใคใ](https://eslint.interlace.tools/docs/reliability)ใฏ [eslint.interlace.tools](https://eslint.interlace.tools)ใงใ็ขบ่ชใใ ใใใ ๐
|
|
31
|
+
- Para ver la [guรญa](https://eslint.interlace.tools/docs/reliability), visita [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
32
|
+
- ููุงุทูุงุน ุนูู [ุงูุฏููู](https://eslint.interlace.tools/docs/reliability)ุ ูู
ุจุฒูุงุฑุฉ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
26
33
|
|
|
27
34
|
```bash
|
|
28
35
|
npm install eslint-plugin-reliability --save-dev
|
|
@@ -47,6 +54,28 @@ export default [reliability.configs.recommended];
|
|
|
47
54
|
|
|
48
55
|
---
|
|
49
56
|
|
|
57
|
+
## AI-Optimized Messages
|
|
58
|
+
|
|
59
|
+
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:
|
|
60
|
+
|
|
61
|
+
- Understand the exact issue via structured context
|
|
62
|
+
- Apply the correct fix using guidance
|
|
63
|
+
- Provide educational context to developers
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
// .cursor/mcp.json
|
|
67
|
+
{
|
|
68
|
+
"mcpServers": {
|
|
69
|
+
"eslint": {
|
|
70
|
+
"command": "npx",
|
|
71
|
+
"args": ["@eslint/mcp@latest"]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
50
79
|
## Rules
|
|
51
80
|
|
|
52
81
|
### Error Handling
|
|
@@ -149,11 +178,16 @@ const results = await Promise.all(userIds.map((id) => fetchUser(id)));
|
|
|
149
178
|
|
|
150
179
|
Part of the **Interlace ESLint Ecosystem** โ AI-native quality plugins with LLM-optimized error messages:
|
|
151
180
|
|
|
152
|
-
| Plugin | Description |
|
|
153
|
-
| :--------------------------------------------------------------------------------------------- | :---------------------------------- |
|
|
154
|
-
| [`eslint-plugin-operability`](https://www.npmjs.com/package/eslint-plugin-operability) | Production readiness & debug code |
|
|
155
|
-
| [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive complexity & code quality |
|
|
181
|
+
| Plugin | Downloads | Description |
|
|
182
|
+
| :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------- |
|
|
183
|
+
| [`eslint-plugin-operability`](https://www.npmjs.com/package/eslint-plugin-operability) | [](https://www.npmjs.com/package/eslint-plugin-operability) | Production readiness & debug code |
|
|
184
|
+
| [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | [](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive complexity & code quality |
|
|
185
|
+
| [`eslint-plugin-secure-coding`](https://www.npmjs.com/package/eslint-plugin-secure-coding) | [](https://www.npmjs.com/package/eslint-plugin-secure-coding) | Security best practices & OWASP |
|
|
156
186
|
|
|
157
187
|
## ๐ License
|
|
158
188
|
|
|
159
189
|
MIT ยฉ [Ofri Peretz](https://github.com/ofri-peretz)
|
|
190
|
+
|
|
191
|
+
<p align="center">
|
|
192
|
+
<a href="https://eslint.interlace.tools/docs/reliability"><img src="https://eslint.interlace.tools/images/og-quality.png" alt="ESLint Interlace Plugin" width="300" /></a>
|
|
193
|
+
</p>
|