@blumintinc/eslint-plugin-blumint 1.20.158 → 1.20.159
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
CHANGED
|
@@ -204,7 +204,15 @@ exports.enforceFExtensionForEntryPoints = (0, createRule_1.createRule)({
|
|
|
204
204
|
const filePath = context.filename ??
|
|
205
205
|
context.getFilename();
|
|
206
206
|
const fileName = path_1.default.basename(filePath);
|
|
207
|
-
|
|
207
|
+
// Configured names EXTEND the defaults rather than replacing them. A
|
|
208
|
+
// default only matches when it is actually imported from firebase-functions
|
|
209
|
+
// or the internal wrappers, so carrying an unused one costs nothing, while
|
|
210
|
+
// dropping one silently stops enforcing the convention for that wrapper —
|
|
211
|
+
// which is what registering a single custom trigger used to do.
|
|
212
|
+
const entryPoints = new Set([
|
|
213
|
+
...DEFAULT_ENTRY_POINTS,
|
|
214
|
+
...(options.entryPoints ?? []),
|
|
215
|
+
]);
|
|
208
216
|
// Only apply to files under functions/src/
|
|
209
217
|
const normalizedPath = filePath.replace(/\\/g, '/');
|
|
210
218
|
if (!normalizedPath.includes('/functions/src/') &&
|
package/package.json
CHANGED
package/release-manifest.json
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "1.20.159",
|
|
4
|
+
"date": "2026-08-17T02:05:07.694Z",
|
|
5
|
+
"rules": [
|
|
6
|
+
{
|
|
7
|
+
"name": "enforce-f-extension-for-entry-points",
|
|
8
|
+
"changeType": "fix",
|
|
9
|
+
"issues": [
|
|
10
|
+
2027
|
|
11
|
+
],
|
|
12
|
+
"summary": "extend the default entry points rather than replacing them (closes #2027)"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
"version": "1.20.158",
|
|
4
18
|
"date": "2026-08-16T14:52:13.506Z",
|