Hacker News new | ask | show | jobs
by sbaildon 1041 days ago
>> Grouped aliases/imports/requires are a mis-feature in my view. They save a few characters when typing but they complicate searching for module uses and refactoring.

> Totally agree with this. I prefer to not use aliases most of the time, or to explicitly list out each module path separately if they are too long to fit inline. All preferences though.

recode[0] has a formatter plugin that reformats grouped alias/import/requires

[0] https://github.com/hrzndhrn/recode