MelvinVermeer / eslint-plugin-no-relative-import-paths

90 stars 22 forks source link

Please support complete tsconfig specification #25

Closed jamietre closed 1 year ago

jamietre commented 1 year ago

This plugin worked great to help me refactor a project from using relative to aliased root paths. However, I had to create a temporary configuration to get through the process, and can't use it going forward, because it doesn't work with nontrivial tsconfig files. It looks from the source code that the nearest tsconfig is loaded and trivially parsed using JSON.parse.

Consider using something like load-tsconfig to load the tsconfig.json file instead which would support "extends" and comments.