eslint-plugin-operability 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 +39 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
<a href="https://www.npmjs.com/package/eslint-plugin-operability" target="_blank"><img src="https://img.shields.io/npm/v/eslint-plugin-operability.svg" alt="NPM Version" /></a>
|
|
11
11
|
<a href="https://www.npmjs.com/package/eslint-plugin-operability" target="_blank"><img src="https://img.shields.io/npm/dm/eslint-plugin-operability.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=operability" target="_blank"><img src="https://codecov.io/gh/ofri-peretz/eslint/graph/badge.svg?component=operability" 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 production-ready code practices by detecting debug statemen
|
|
|
23
25
|
## Getting Started
|
|
24
26
|
|
|
25
27
|
- To check out the [guide](https://eslint.interlace.tools/docs/operability), visit [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
28
|
+
- ่ฆๆฅ็ไธญๆ [ๆๅ](https://eslint.interlace.tools/docs/operability), ่ฏท่ฎฟ้ฎ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
29
|
+
- [๊ฐ์ด๋](https://eslint.interlace.tools/docs/operability) ๋ฌธ์๋ [eslint.interlace.tools](https://eslint.interlace.tools)์์ ํ์ธํ์ค ์ ์์ต๋๋ค. ๐
|
|
30
|
+
- [ใฌใคใ](https://eslint.interlace.tools/docs/operability)ใฏ [eslint.interlace.tools](https://eslint.interlace.tools)ใงใ็ขบ่ชใใ ใใใ ๐
|
|
31
|
+
- Para ver la [guรญa](https://eslint.interlace.tools/docs/operability), visita [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
32
|
+
- ููุงุทูุงุน ุนูู [ุงูุฏููู](https://eslint.interlace.tools/docs/operability)ุ ูู
ุจุฒูุงุฑุฉ [eslint.interlace.tools](https://eslint.interlace.tools). ๐
|
|
26
33
|
|
|
27
34
|
```bash
|
|
28
35
|
npm install eslint-plugin-operability --save-dev
|
|
@@ -50,7 +57,7 @@ export default [
|
|
|
50
57
|
files: ['src/**/*.ts'],
|
|
51
58
|
ignores: ['**/*.test.ts', '**/*.spec.ts'],
|
|
52
59
|
rules: {
|
|
53
|
-
'
|
|
60
|
+
'operability/no-console-log': 'error',
|
|
54
61
|
},
|
|
55
62
|
},
|
|
56
63
|
];
|
|
@@ -58,6 +65,28 @@ export default [
|
|
|
58
65
|
|
|
59
66
|
---
|
|
60
67
|
|
|
68
|
+
## AI-Optimized Messages
|
|
69
|
+
|
|
70
|
+
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:
|
|
71
|
+
|
|
72
|
+
- Understand the exact issue via structured context
|
|
73
|
+
- Apply the correct fix using guidance
|
|
74
|
+
- Provide educational context to developers
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
// .cursor/mcp.json
|
|
78
|
+
{
|
|
79
|
+
"mcpServers": {
|
|
80
|
+
"eslint": {
|
|
81
|
+
"command": "npx",
|
|
82
|
+
"args": ["@eslint/mcp@latest"]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
61
90
|
## Rules
|
|
62
91
|
|
|
63
92
|
| Rule | Description | ๐ผ | โ ๏ธ |
|
|
@@ -131,11 +160,16 @@ throw new Error('Service temporarily unavailable');
|
|
|
131
160
|
|
|
132
161
|
Part of the **Interlace ESLint Ecosystem** โ AI-native quality plugins with LLM-optimized error messages:
|
|
133
162
|
|
|
134
|
-
| Plugin
|
|
135
|
-
|
|
|
136
|
-
| [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | Error handling & null safety
|
|
137
|
-
| [`eslint-plugin-
|
|
163
|
+
| Plugin | Downloads | Description |
|
|
164
|
+
| :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------- |
|
|
165
|
+
| [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | [](https://www.npmjs.com/package/eslint-plugin-reliability) | Error handling & null safety |
|
|
166
|
+
| [`eslint-plugin-maintainability`](https://www.npmjs.com/package/eslint-plugin-maintainability) | [](https://www.npmjs.com/package/eslint-plugin-maintainability) | Cognitive complexity & code quality |
|
|
167
|
+
| [`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 |
|
|
138
168
|
|
|
139
169
|
## ๐ License
|
|
140
170
|
|
|
141
171
|
MIT ยฉ [Ofri Peretz](https://github.com/ofri-peretz)
|
|
172
|
+
|
|
173
|
+
<p align="center">
|
|
174
|
+
<a href="https://eslint.interlace.tools/docs/operability"><img src="https://eslint.interlace.tools/images/og-quality.png" alt="ESLint Interlace Plugin" width="300" /></a>
|
|
175
|
+
</p>
|