eslint-plugin-effector 0.10.2 → 0.10.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-effector",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Enforcing best practices for Effector",
5
5
  "keywords": [
6
6
  "eslint",
@@ -150,7 +150,7 @@ module.exports = {
150
150
  ]);
151
151
 
152
152
  const resultSavedInVariable =
153
- parentNode.type === "VariableDeclarator";
153
+ parentNode?.type === "VariableDeclarator";
154
154
  if (!resultSavedInVariable) {
155
155
  return;
156
156
  }