@dineroregnskab/eslint-plugin-custom-rules 2.1.2 → 2.1.4
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/package.json
CHANGED
|
@@ -54,7 +54,7 @@ module.exports = {
|
|
|
54
54
|
context.report({
|
|
55
55
|
node,
|
|
56
56
|
message:
|
|
57
|
-
"Using `take(1)` requires `filter()` to be used in the same pipe to avoid `null` or `undefined` values which will trigger an error. Example
|
|
57
|
+
"Using `take(1)` requires `filter()` to be used in the same pipe to avoid `null` or `undefined` values which will trigger an error. Example `filter((value) => Boolean(value ?? false)),`",
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
}
|