oxlint-plugin-modularity 3.0.3 → 3.0.4

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 +10 -14
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -18,8 +18,6 @@
18
18
  <a href="https://scorecard.dev/viewer/?uri=github.com/ofri-peretz/eslint" target="_blank"><img src="https://api.securityscorecards.dev/projects/github.com/ofri-peretz/eslint/badge" alt="OpenSSF Scorecard" /></a>
19
19
  </p>
20
20
 
21
- > ⭐ If this plugin caught a real bug for you, [**star the repo**](https://github.com/ofri-peretz/eslint) — it's the signal that keeps these rules maintained.
22
-
23
21
  ## Description
24
22
 
25
23
  `oxlint-plugin-modularity` is the [oxlint](https://oxc.rs/docs/guide/usage/linter/js-plugins) and [Vite+](https://viteplus.dev/guide/lint) name for [`eslint-plugin-modularity`](https://www.npmjs.com/package/eslint-plugin-modularity). It carries the same rules under the same IDs (`modularity/<rule>`), always at the same version, because it re-exports that package rather than copying it. Installing it does not install ESLint.
@@ -187,14 +185,14 @@ Install [`eslint-plugin-modularity`](https://www.npmjs.com/package/eslint-plugin
187
185
  | 🟡 | **Type-aware (refining)**: pure-AST primary path; types refine precision. |
188
186
  | 🟠 | **Type-aware (graceful)**: requires TS program; silent without it. |
189
187
 
190
- | Rule | CWE | OWASP | CVSS | Description | 🧠 | 💼 | ⚠️ | 🔧 | 💡 | 🚫 |
191
- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-: | :---: | :--: | :---------------------------------------------------------------------------------------------------------- | :-: | :-: | :-: | :-: | :-: | :-: |
192
- | [ddd-anemic-domain-model](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/ddd-anemic-domain-model?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Detects entities with only getters/setters and no business logic, enforcing the Rich Domain Model over the… | 🟢 | | ⚠️ | | 💡 | |
193
- | [ddd-value-object-immutability](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/ddd-value-object-immutability?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | ESLint Rule: ddd-value-object-immutability with LLM-optimized suggestions and auto-fix capabilities. | 🟢 | 💼 | | | 💡 | |
194
- | [enforce-naming](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/enforce-naming?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Enforce domain-specific naming conventions with business context | 🟢 | | ⚠️ | | 💡 | |
195
- | [enforce-rest-conventions](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/enforce-rest-conventions?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | ESLint Rule: enforce-rest-conventions with LLM-optimized suggestions and auto-fix capabilities. | 🟢 | 💼 | | | 💡 | |
196
- | [no-external-api-calls-in-utils](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/no-external-api-calls-in-utils?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | ESLint Rule: no-external-api-calls-in-utils with LLM-optimized suggestions and auto-fix capabilities. | 🟢 | 💼 | | | 💡 | |
197
- | [no-mutable-exports](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/no-mutable-exports?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Disallow mutable let/var declarations on exported bindings | 🟢 | | ⚠️ | | | |
188
+ | Rule | CWE | OWASP | CVSS | Description | 🧠 | 💼 | ⚠️ | 🔧 | 💡 | 🚫 |
189
+ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-: | :---: | :--: | :----------------------------------------------------------------------------------------------------------- | :-: | :-: | :-: | :-: | :-: | :-: |
190
+ | [ddd-anemic-domain-model](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/ddd-anemic-domain-model?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Detects entities with only getters/setters and no business logic, enforcing the Rich Domain Model over the… | 🟢 | | ⚠️ | | 💡 | |
191
+ | [ddd-value-object-immutability](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/ddd-value-object-immutability?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Report value-object classes whose instance fields can be reassigned after construction. | 🟢 | 💼 | | | 💡 | |
192
+ | [enforce-naming](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/enforce-naming?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Enforce domain-specific naming conventions with business context | 🟢 | | ⚠️ | | 💡 | |
193
+ | [enforce-rest-conventions](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/enforce-rest-conventions?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Report route paths whose first segment is not a plural resource name. | 🟢 | 💼 | | | 💡 | |
194
+ | [no-external-api-calls-in-utils](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/no-external-api-calls-in-utils?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Report network calls inside utility modules, where an HTTP client makes the helper untestable without the n… | 🟢 | 💼 | | | 💡 | |
195
+ | [no-mutable-exports](https://eslint.interlace.tools/docs/quality/plugin-modularity/rules/no-mutable-exports?utm_source=github&utm_medium=referral&utm_campaign=oxlint-plugin-modularity) | | | | Disallow mutable let/var declarations on exported bindings | 🟢 | | ⚠️ | | | |
198
196
 
199
197
  <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:START - Do not edit manually -->
200
198
 
@@ -245,11 +243,9 @@ Part of the **Interlace ESLint ecosystem** — AI-native rules with LLM-optimize
245
243
 
246
244
  <!-- AUTO-GENERATED:ECOSYSTEM_TABLE:END -->
247
245
 
248
- ## ⭐ Support & follow
249
-
250
- If this plugin caught a real bug for you, **[star the repo](https://github.com/ofri-peretz/eslint)** — stars are the signal that keeps the Interlace ESLint ecosystem maintained — and **[follow the writeups on Dev.to](https://dev.to/ofri-peretz)** for the benchmarks and security research behind these rules.
246
+ ## Support
251
247
 
252
- [![GitHub stars](https://img.shields.io/github/stars/ofri-peretz/eslint?style=social)](https://github.com/ofri-peretz/eslint)
248
+ Found a false positive? [Open an issue](https://github.com/ofri-peretz/eslint/issues): that is a bug. If the plugin helped, a star on [ofri-peretz/eslint](https://github.com/ofri-peretz/eslint) helps others find it.
253
249
 
254
250
  ## 📄 License
255
251
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint-plugin-modularity",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Oxlint module boundaries and architecture rules — enforces DDD value objects and anemic-model checks, naming, REST conventions, and utility isolation. Same rules and rule IDs as eslint-plugin-modularity, for oxlint and Vite+.",
5
5
  "type": "commonjs",
6
6
  "sideEffects": false,
@@ -62,6 +62,6 @@
62
62
  "access": "public"
63
63
  },
64
64
  "dependencies": {
65
- "eslint-plugin-modularity": "3.0.3"
65
+ "eslint-plugin-modularity": "3.0.4"
66
66
  }
67
67
  }