Given a code like this
import foo from 'foo';
import bar from 'bar';
Does anyone know a way of configuring either Prettier or ESLint to remove the space between imports with auto-formatting?
Thank you
The eslint-plugin-import
package supports this.
The rule import/order
has an option newlines-between: 'never'
that achieves just that!