eslint-plugin-n
Advanced tools
Comparing version 16.6.1 to 16.6.2
@@ -65,3 +65,4 @@ /** | ||
return true // possibly an error object. | ||
case "Literal": | ||
return node.value == null | ||
case "AssignmentExpression": | ||
@@ -80,6 +81,5 @@ return couldBeError(node.right) | ||
return couldBeError(node.consequent) || couldBeError(node.alternate) | ||
default: | ||
return node.value === null | ||
return true // assuming unknown nodes can be error objects. | ||
} | ||
} |
{ | ||
"name": "eslint-plugin-n", | ||
"version": "16.6.1", | ||
"version": "16.6.2", | ||
"description": "Additional ESLint's rules for Node.js", | ||
@@ -34,6 +34,6 @@ "engines": { | ||
"esbuild": "^0.18.7", | ||
"eslint": "^8.53.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-doc-generator": "^1.6.1", | ||
"eslint-plugin-eslint-plugin": "^5.1.0", | ||
"eslint-plugin-eslint-plugin": "^5.2.1", | ||
"eslint-plugin-n": "file:.", | ||
@@ -40,0 +40,0 @@ "fast-glob": "^3.2.12", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
347710
9687