eslint-plugin-no-relative-import-paths
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -7,3 +7,7 @@ const path = require("path"); | ||
return relativeFilePath.startsWith("../") && (rootDir === '' || absoluteFilePath.startsWith(absoluteRootPath)); | ||
return relativeFilePath.startsWith("../") && ( | ||
rootDir === '' || | ||
(absoluteFilePath.startsWith(absoluteRootPath) && | ||
context.getFilename().startsWith(absoluteRootPath)) | ||
); | ||
} | ||
@@ -10,0 +14,0 @@ |
{ | ||
"name": "eslint-plugin-no-relative-import-paths", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6119
65