eBayClassifiedsGroup / update-ts-references

Helper for multi-package repository with TypeScript
MIT License
46 stars 6 forks source link

feat: replace trailing whitespace with a newline #6

Closed justinmayhew closed 3 years ago

justinmayhew commented 3 years ago

This replaces some trailing whitespace with a newline, making Git happy. :-)

Here's a diff showing the current (probably undesired) behaviour on the last two lines:

diff --git a/path/tsconfig.json b/path/tsconfig.json
index f4d712c..a8fae12 100644
--- a/path/tsconfig.json
+++ b/path/tsconfig.json
@@ -4,9 +4,16 @@
     "outDir": "dist",
     "rootDir": "src"
   },
-  "include": ["src"],
+  "include": [
+    "src"
+  ],
   "references": [
-    { "path": "../../lib/math/tsconfig.json" },
-    { "path": "../../lib/string/tsconfig.json" }
+    {
+      "path": "../../lib/math"
+    },
+    {
+      "path": "../../lib/string"
+    }
   ]
 }
+  
\ No newline at end of file

Thanks for the awesome tool!