Big fan of using ESLint to impose restrictions on module/file imports, especially in today's landscape of mixing server/client/infrastructure code: https://github.com/import-js/eslint-plugin-import Helps keep everything clean, and ensures new (and old!) dev's don't foot-gun themselves.
0 likes 0 replies
?