Replies: 6 comments
-
Thank you. This seems to introduce a good amount of details. Would you be interested in contributing it? |
Beta Was this translation helpful? Give feedback.
-
Sure! Just wanted to be sure that it's something you are interested in |
Beta Was this translation helpful? Give feedback.
-
@mightyiam I have created #1509 let me know what you think |
Beta Was this translation helpful? Give feedback.
-
Seems like the original PR was rejected. In my case, I'm not looking for a code mod feature, but somehow VSCode doesn't really provide great visibility for unused imports e.g. As you can see, lower opacity is something not ideal. However, if I however over the the problem, I can see it clearly. TS Language Server also doesn't seem to populate the Problems tab and my TypeScript compilier doesn't even complain about it! So my project will probably be filled with unused code that requires code modding. Not what I expected if we are able to do a lint checker. I also expected TS to not give out false positives... Anyway for alternatives, I suggest: |
Beta Was this translation helpful? Give feedback.
-
@psychobolt doesn't that seem like an IDE issue to you? Does |
Beta Was this translation helpful? Give feedback.
-
Seems like you have to explicitly tell TypeScript to warn about unused variables e.g "noUnusedLocals": true If I turn on this compilerOption, tsc will complain. Anyways there is already a rule Some more info on how the IDE works: microsoft/vscode#219335 |
Beta Was this translation helpful? Give feedback.
-
Hi! Are there any plans to use TypeScript imports resolver in
eslint-plugin-import
? It seems a bit off that this package is designed for TypeScript but doesn't include this by default.P.S. Thank you for all your hard work over the years! Your efforts deserve more recognition!
Beta Was this translation helpful? Give feedback.
All reactions