Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡 Support jsconfig.json for import path aliases by default #787

Open
rakleed opened this issue Sep 20, 2024 · 2 comments
Open

💡 Support jsconfig.json for import path aliases by default #787

rakleed opened this issue Sep 20, 2024 · 2 comments
Labels
feature request Feature request

Comments

@rakleed
Copy link

rakleed commented Sep 20, 2024

Suggest an idea for this project

You say "Knip has good defaults and aims for “zero config”". Then it is worth recognizing the jsconfig.json file by default in addition to tsconfig.json, since it is quite common and supported by many IDEs.12

Footnotes

  1. https://stackoverflow.com/questions/68675994/what-is-jsconfig-json

  2. https://code.visualstudio.com/docs/languages/jsconfig

@rakleed rakleed added the feature request Feature request label Sep 20, 2024
@webpro
Copy link
Collaborator

webpro commented Sep 21, 2024

Just wondering, why is the lack of support an issue for you?

I think the main (and only?) benefit is compilerOptions.paths, right?

@rakleed
Copy link
Author

rakleed commented Oct 27, 2024

Well, I would like everything to work without additional settings. And it seems to me that path aliases are a fairly common setting in large projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants