eslint-plugin-factorial
Advanced tools
Comparing version 2.0.11 to 2.0.12
{ | ||
"name": "eslint-plugin-factorial", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -21,3 +21,3 @@ const path = require('path') | ||
const declaredDepenency = (fileName, matchNode, package) => { | ||
const declaredDepenency = (fileName, moduleNode, package) => { | ||
if (!fs.existsSync(package)) { | ||
@@ -36,3 +36,3 @@ console.warn( | ||
return dependencies.includes(matchNode) | ||
return dependencies.includes(moduleNode) | ||
} catch (error) { | ||
@@ -101,3 +101,3 @@ console.error(error) | ||
// Check if is a declared dependency in the package.yml | ||
if (!declaredDepenency(fileName, matchNode, package)) { | ||
if (!declaredDepenency(fileName, moduleNode, package)) { | ||
context.report({ | ||
@@ -104,0 +104,0 @@ node, |
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
14336