I am currently using ESLint for TypeScript linting. I want to set up ESLint in a way that requires imports to be either all on separate lines or all on a single line.
Example of what is not allowed:
import {
a, b,
c,
d
} from "letters";
Allowed formats:
import { a, b, c, d } from "letters";
Or:
import {
a,
b,
c,
d
} from "letters";
Is it possible to configure ESLint this way, and if so, how can it be done?