eslint-plugin-mgw-eslint-rules 2.3.35 → 2.3.36

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/dist/index.js CHANGED
@@ -44204,7 +44204,7 @@ var rule6 = createRule6({
44204
44204
  type: "suggestion",
44205
44205
  fixable: "code",
44206
44206
  docs: {
44207
- description: "Naming convention for reactive variables and properties (name must end with $ and $$ for WritableSignals and Subjects)",
44207
+ description: "Naming convention for array like variables and properties (name must end with `s` and suffix `List` is not allowed)",
44208
44208
  recommended: true,
44209
44209
  requiresTypeChecking: true
44210
44210
  },
@@ -44260,6 +44260,14 @@ var rule6 = createRule6({
44260
44260
  if (!typeNameWithoutGeneric || !listeArraysTypes.includes(typeNameWithoutGeneric)) {
44261
44261
  return;
44262
44262
  }
44263
+ if (name === "testAntoine") {
44264
+ context.report({
44265
+ node,
44266
+ messageId: "noListSuffix",
44267
+ data: { name: typeNameWithoutGeneric }
44268
+ });
44269
+ return;
44270
+ }
44263
44271
  const listSuffixRegexp = /liste?$/i;
44264
44272
  if (listSuffixRegexp.test(name)) {
44265
44273
  context.report({