this post was submitted on 10 Apr 2024
11 points (100.0% liked)
Cool GitHub Projects
1245 readers
1 users here now
Wormhole
Icon base by Caro Asercion under CC BY 3.0 with modifications to add a gradient
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sorry, maybe I'm not being clear - I'm not talking about sorting. I'm talking about an ESLint rule that flags alias imports that can be expressed as relative subdirectory imports, but flags other imports that could have been alias imports. Does that make sense?
Examples: