eslint-plugin-factorial
Advanced tools
Comparing version 2.0.18 to 2.0.19
{ | ||
"name": "eslint-plugin-factorial", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -6,3 +6,5 @@ module.exports = { | ||
const allEqual = node.members.reduce((memo, item) => { | ||
if (!item.initializer) return true | ||
if (!item.initializer.type.includes('Literal')) return false | ||
if (item.id.type !== 'Identifier') return false | ||
@@ -9,0 +11,0 @@ return memo && item.id.name.toLowerCase() === item.initializer.value.toLowerCase() |
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
14402
362