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.
Files changed (2) hide show
  1. package/README.md +39 -5
  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-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
- '@interlace/operability/operability/no-console-log': 'error',
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 | Description |
135
- | :----------------------------------------------------------------------------------------- | :------------------------------ |
136
- | [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | Error handling & null safety |
137
- | [`eslint-plugin-secure-coding`](https://www.npmjs.com/package/eslint-plugin-secure-coding) | Security best practices & OWASP |
163
+ | Plugin | Downloads | Description |
164
+ | :--------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------- |
165
+ | [`eslint-plugin-reliability`](https://www.npmjs.com/package/eslint-plugin-reliability) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-reliability.svg?style=flat-square)](https://www.npmjs.com/package/eslint-plugin-reliability) | Error handling & null safety |
166
+ | [`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 |
167
+ | [`eslint-plugin-secure-coding`](https://www.npmjs.com/package/eslint-plugin-secure-coding) | [![downloads](https://img.shields.io/npm/dt/eslint-plugin-secure-coding.svg?style=flat-square)](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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-operability",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "ESLint rules for production behavior, resource hygiene, and log quality.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/index.js",