@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
@@ -223,7 +223,7 @@ function noFrontendImportsFromFunctionsPatterns(pattern) {
223
223
  module.exports = {
224
224
  meta: {
225
225
  name: '@blumintinc/eslint-plugin-blumint',
226
- version: '1.20.158',
226
+ version: '1.20.159',
227
227
  },
228
228
  parseOptions: {
229
229
  ecmaVersion: 2020,
@@ -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
- const entryPoints = new Set(options.entryPoints?.length ? options.entryPoints : DEFAULT_ENTRY_POINTS);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blumintinc/eslint-plugin-blumint",
3
- "version": "1.20.158",
3
+ "version": "1.20.159",
4
4
  "description": "Custom eslint rules for use within BluMint",
5
5
  "author": {
6
6
  "name": "Brodie McGuire",
@@ -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",