@blumintinc/eslint-plugin-blumint 1.17.3 → 1.18.0
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 +1 -0
- package/lib/index.js +4 -1
- package/package.json +1 -1
- package/release-manifest.json +14 -0
package/README.md
CHANGED
|
@@ -176,6 +176,7 @@ full closed loop is documented in agora's `.claude/skills/eslint-autonomy/SKILL.
|
|
|
176
176
|
| [no-firestore-object-arrays](docs/rules/no-firestore-object-arrays.md) | Disallow arrays of object types in Firestore models. Prefer Record maps keyed by id with an index field, or subcollections/arrays of IDs. | ✅ | | | | | |
|
|
177
177
|
| [no-handler-suffix](docs/rules/no-handler-suffix.md) | Disallow the generic "handler" suffix in callback names so names explain the action they perform | ✅ | | | | | |
|
|
178
178
|
| [no-hungarian](docs/rules/no-hungarian.md) | Disallow Hungarian notation in locally declared variables, types, and classes | ✅ | | | | | |
|
|
179
|
+
| [no-inline-component-prop](docs/rules/no-inline-component-prop.md) | Prevent inline function components defined in render from being passed to component-type props like CatalogWrapper to avoid remounts and UI flashes. | ✅ | | | | | |
|
|
179
180
|
| [no-jsx-in-hooks](docs/rules/no-jsx-in-hooks.md) | Prevent hooks from returning JSX | ✅ | | | | | |
|
|
180
181
|
| [no-jsx-whitespace-literal](docs/rules/no-jsx-whitespace-literal.md) | Disallow the use of {" "} elements in JSX code | ✅ | | | | | |
|
|
181
182
|
| [no-margin-properties](docs/rules/no-margin-properties.md) | Prevent margin properties (margin, marginLeft, marginRight, marginTop, marginBottom, mx, my, etc.) in MUI styling because margins fight container-controlled spacing, double gutters, and misaligned breakpoints; keep spacing centralized with padding, gap, or spacing props instead. | ✅ | | | | | |
|
package/lib/index.js
CHANGED
|
@@ -38,6 +38,7 @@ const no_hungarian_1 = require("./rules/no-hungarian");
|
|
|
38
38
|
const no_misused_switch_case_1 = require("./rules/no-misused-switch-case");
|
|
39
39
|
const no_unpinned_dependencies_1 = require("./rules/no-unpinned-dependencies");
|
|
40
40
|
const no_unused_props_1 = require("./rules/no-unused-props");
|
|
41
|
+
const no_inline_component_prop_1 = require("./rules/no-inline-component-prop");
|
|
41
42
|
const no_useless_fragment_1 = require("./rules/no-useless-fragment");
|
|
42
43
|
const prefer_fragment_shorthand_1 = require("./rules/prefer-fragment-shorthand");
|
|
43
44
|
const prefer_getter_over_parameterless_method_1 = require("./rules/prefer-getter-over-parameterless-method");
|
|
@@ -217,7 +218,7 @@ function noFrontendImportsFromFunctionsPatterns(pattern) {
|
|
|
217
218
|
module.exports = {
|
|
218
219
|
meta: {
|
|
219
220
|
name: '@blumintinc/eslint-plugin-blumint',
|
|
220
|
-
version: '1.
|
|
221
|
+
version: '1.18.0',
|
|
221
222
|
},
|
|
222
223
|
parseOptions: {
|
|
223
224
|
ecmaVersion: 2020,
|
|
@@ -271,6 +272,7 @@ module.exports = {
|
|
|
271
272
|
'@blumintinc/blumint/no-misused-switch-case': 'error',
|
|
272
273
|
'@blumintinc/blumint/no-unpinned-dependencies': 'error',
|
|
273
274
|
'@blumintinc/blumint/no-unused-props': 'error',
|
|
275
|
+
'@blumintinc/blumint/no-inline-component-prop': 'error',
|
|
274
276
|
'@blumintinc/blumint/no-uuidv4-base62-as-key': 'error',
|
|
275
277
|
'@blumintinc/blumint/no-useless-fragment': 'error',
|
|
276
278
|
'@blumintinc/blumint/no-useless-usememo-primitives': 'error',
|
|
@@ -537,6 +539,7 @@ module.exports = {
|
|
|
537
539
|
'no-misused-switch-case': no_misused_switch_case_1.noMisusedSwitchCase,
|
|
538
540
|
'no-unpinned-dependencies': no_unpinned_dependencies_1.noUnpinnedDependencies,
|
|
539
541
|
'no-unused-props': no_unused_props_1.noUnusedProps,
|
|
542
|
+
'no-inline-component-prop': no_inline_component_prop_1.noInlineComponentProp,
|
|
540
543
|
'no-useless-fragment': no_useless_fragment_1.noUselessFragment,
|
|
541
544
|
'no-uuidv4-base62-as-key': no_uuidv4_base62_as_key_1.noUuidv4Base62AsKey,
|
|
542
545
|
'enforce-dynamic-file-naming': enforce_dynamic_file_naming_1.default,
|
package/package.json
CHANGED
package/release-manifest.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "1.18.0",
|
|
4
|
+
"date": "2026-07-02T16:19:34.385Z",
|
|
5
|
+
"rules": [
|
|
6
|
+
{
|
|
7
|
+
"name": "no-inline-component-prop",
|
|
8
|
+
"changeType": "feat",
|
|
9
|
+
"issues": [
|
|
10
|
+
833
|
|
11
|
+
],
|
|
12
|
+
"summary": "register the orphaned rule in the plugin (#1233)"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
"version": "1.17.3",
|
|
4
18
|
"date": "2026-07-02T16:07:25.816Z",
|