eslint-plugin-path-checker-relative 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -51,6 +51,10 @@ module.exports = {
51
51
  fix: (fixer) => {
52
52
  const normalizedPath = getNormalizedCurrentFIlePath(fromFilename);
53
53
  let relativePath = path.relative(normalizedPath, `/${importTo}`);
54
+ console.log('relativePath', relativePath);
55
+ console.log('normalizedPath', normalizedPath);
56
+ console.log('importTo', importTo);
57
+
54
58
  if (!relativePath.startsWith(".")) {
55
59
  relativePath = "./" + relativePath;
56
60
  }
@@ -74,7 +78,6 @@ const layers = {
74
78
  function getNormalizedCurrentFIlePath(currentFilePath) {
75
79
  const normalizedPath = path.toNamespacedPath(currentFilePath);
76
80
  const projectFrom = normalizedPath.split("src")[1];
77
- console.log('======>', projectFrom)
78
81
  return projectFrom;
79
82
  }
80
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-path-checker-relative",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "plugin for production project",
5
5
  "keywords": [
6
6
  "eslint",