@stylistic/eslint-plugin-js
Advanced tools
Comparing version 2.3.0 to 2.6.0-beta.0
@@ -246,4 +246,3 @@ 'use strict'; | ||
if (hasExcessParensWithPrecedence(callee, precedence(node))) { | ||
if (hasDoubleExcessParens(callee) || !(isIIFE(node) || // @ts-expect-error comment above | ||
callee.type === "NewExpression" && !isNewExpressionWithParens(callee) && !(node.type === "NewExpression" && !isNewExpressionWithParens(node)) || node.type === "NewExpression" && callee.type === "MemberExpression" && doesMemberExpressionContainCallExpression(callee) || (!("optional" in node) || !node.optional) && callee.type === "ChainExpression")) { | ||
if (hasDoubleExcessParens(callee) || !(isIIFE(node) || callee.type === "NewExpression" && !isNewExpressionWithParens(callee) && !(node.type === "NewExpression" && !isNewExpressionWithParens(node)) || node.type === "NewExpression" && callee.type === "MemberExpression" && doesMemberExpressionContainCallExpression(callee) || (!("optional" in node) || !node.optional) && callee.type === "ChainExpression")) { | ||
report(node.callee); | ||
@@ -250,0 +249,0 @@ } |
{ | ||
"name": "@stylistic/eslint-plugin-js", | ||
"version": "2.3.0", | ||
"version": "2.6.0-beta.0", | ||
"author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
@@ -113,9 +113,9 @@ "license": "MIT", | ||
"@types/eslint": "^8.56.10", | ||
"acorn": "^8.11.3", | ||
"acorn": "^8.12.0", | ||
"eslint-visitor-keys": "^4.0.0", | ||
"espree": "^10.0.1" | ||
"espree": "^10.1.0" | ||
}, | ||
"devDependencies": { | ||
"@eslint-community/eslint-utils": "^4.4.0", | ||
"@typescript-eslint/parser": "^7.12.0", | ||
"@typescript-eslint/parser": "^8.0.0-alpha.34", | ||
"escape-string-regexp": "^5.0.0" | ||
@@ -122,0 +122,0 @@ }, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
527998
14412
1
Updatedacorn@^8.12.0
Updatedespree@^10.1.0