@blumintinc/eslint-plugin-blumint 1.20.86 → 1.20.88
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/lib/index.js +1 -1
- package/lib/rules/enforce-assert-safe-object-key.js +7 -9
- package/lib/rules/enforce-memoize-async.js +8 -16
- package/lib/rules/enforce-memoize-getters.js +12 -16
- package/lib/rules/enforce-microdiff.js +14 -1
- package/lib/rules/enforce-querykey-ts.js +23 -7
- package/lib/rules/enforce-safe-stringify.js +7 -3
- package/lib/rules/enforce-snapshot-state-narrowing.js +24 -7
- package/lib/rules/enforce-stable-hash-spread-props.js +14 -3
- package/lib/rules/logical-top-to-bottom-grouping.js +70 -0
- package/lib/rules/no-array-length-in-deps.js +13 -1
- package/lib/rules/no-empty-dependency-use-callbacks.js +36 -0
- package/lib/rules/no-explicit-return-type.js +47 -59
- package/lib/rules/prefer-fragment-component.js +9 -27
- package/lib/rules/prefer-global-router-state-key.js +18 -24
- package/lib/rules/prefer-use-deep-compare-memo.js +14 -18
- package/lib/rules/react-memoize-literals.js +8 -7
- package/lib/rules/require-memo.js +10 -7
- package/lib/rules/require-memoize-jsx-returners.js +8 -13
- package/lib/rules/use-latest-callback.js +65 -0
- package/lib/utils/importInsertion.d.ts +52 -0
- package/lib/utils/importInsertion.js +121 -0
- package/lib/utils/importRemoval.d.ts +57 -0
- package/lib/utils/importRemoval.js +397 -0
- package/package.json +1 -1
- package/release-manifest.json +164 -0
package/release-manifest.json
CHANGED
|
@@ -1,4 +1,168 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "1.20.88",
|
|
4
|
+
"date": "2026-08-03T09:05:50.265Z",
|
|
5
|
+
"rules": [
|
|
6
|
+
{
|
|
7
|
+
"name": "use-latest-callback",
|
|
8
|
+
"changeType": "fix",
|
|
9
|
+
"issues": [
|
|
10
|
+
1652
|
|
11
|
+
],
|
|
12
|
+
"summary": "decline the fix when dropping the deps array orphans a local binding (closes #1652)"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"version": "1.20.87",
|
|
18
|
+
"date": "2026-08-03T08:16:33.082Z",
|
|
19
|
+
"rules": [
|
|
20
|
+
{
|
|
21
|
+
"name": "enforce-assert-safe-object-key",
|
|
22
|
+
"changeType": "fix",
|
|
23
|
+
"issues": [
|
|
24
|
+
1648
|
|
25
|
+
],
|
|
26
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "enforce-memoize-async",
|
|
30
|
+
"changeType": "fix",
|
|
31
|
+
"issues": [
|
|
32
|
+
1648
|
|
33
|
+
],
|
|
34
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "enforce-memoize-getters",
|
|
38
|
+
"changeType": "fix",
|
|
39
|
+
"issues": [
|
|
40
|
+
1648
|
|
41
|
+
],
|
|
42
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "enforce-microdiff",
|
|
46
|
+
"changeType": "fix",
|
|
47
|
+
"issues": [
|
|
48
|
+
1648
|
|
49
|
+
],
|
|
50
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "enforce-querykey-ts",
|
|
54
|
+
"changeType": "fix",
|
|
55
|
+
"issues": [
|
|
56
|
+
1648
|
|
57
|
+
],
|
|
58
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "enforce-safe-stringify",
|
|
62
|
+
"changeType": "fix",
|
|
63
|
+
"issues": [
|
|
64
|
+
1648
|
|
65
|
+
],
|
|
66
|
+
"summary": "keep the suggestion's added import below the file prologue (#1648)"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "enforce-snapshot-state-narrowing",
|
|
70
|
+
"changeType": "fix",
|
|
71
|
+
"issues": [
|
|
72
|
+
1648
|
|
73
|
+
],
|
|
74
|
+
"summary": "keep the suggestion's added import below the file prologue (#1648)"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "enforce-stable-hash-spread-props",
|
|
78
|
+
"changeType": "fix",
|
|
79
|
+
"issues": [
|
|
80
|
+
1648
|
|
81
|
+
],
|
|
82
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "logical-top-to-bottom-grouping",
|
|
86
|
+
"changeType": "fix",
|
|
87
|
+
"issues": [
|
|
88
|
+
1651
|
|
89
|
+
],
|
|
90
|
+
"summary": "never reorder across a sequential-await run parallelize-async-operations owns (closes #1651)"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "no-array-length-in-deps",
|
|
94
|
+
"changeType": "fix",
|
|
95
|
+
"issues": [
|
|
96
|
+
1648
|
|
97
|
+
],
|
|
98
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "no-empty-dependency-use-callbacks",
|
|
102
|
+
"changeType": "fix",
|
|
103
|
+
"issues": [
|
|
104
|
+
1650
|
|
105
|
+
],
|
|
106
|
+
"summary": "unbind the hook import the hoist empties (closes #1650)"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "no-explicit-return-type",
|
|
110
|
+
"changeType": "fix",
|
|
111
|
+
"issues": [
|
|
112
|
+
1649
|
|
113
|
+
],
|
|
114
|
+
"summary": "drop the import the stripped annotation solely consumed (closes #1649)"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "prefer-fragment-component",
|
|
118
|
+
"changeType": "fix",
|
|
119
|
+
"issues": [
|
|
120
|
+
1648
|
|
121
|
+
],
|
|
122
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "prefer-global-router-state-key",
|
|
126
|
+
"changeType": "fix",
|
|
127
|
+
"issues": [
|
|
128
|
+
1648
|
|
129
|
+
],
|
|
130
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "prefer-use-deep-compare-memo",
|
|
134
|
+
"changeType": "fix",
|
|
135
|
+
"issues": [
|
|
136
|
+
1648
|
|
137
|
+
],
|
|
138
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "react-memoize-literals",
|
|
142
|
+
"changeType": "fix",
|
|
143
|
+
"issues": [
|
|
144
|
+
1648
|
|
145
|
+
],
|
|
146
|
+
"summary": "keep the suggestion's added import below the file prologue (#1648)"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "require-memo",
|
|
150
|
+
"changeType": "fix",
|
|
151
|
+
"issues": [
|
|
152
|
+
1648
|
|
153
|
+
],
|
|
154
|
+
"summary": "keep the autofix's added import below the file prologue (#1648)"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "require-memoize-jsx-returners",
|
|
158
|
+
"changeType": "fix",
|
|
159
|
+
"issues": [
|
|
160
|
+
1648
|
|
161
|
+
],
|
|
162
|
+
"summary": "keep the autofix's added import below the file prologue (closes #1648)"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
},
|
|
2
166
|
{
|
|
3
167
|
"version": "1.20.86",
|
|
4
168
|
"date": "2026-08-03T03:52:41.277Z",
|