It would be really awesome, if there was an option to "disable arrays" for Prettier completely.
You can think of it as before every line with array there would be // prettier-ignore.
Reasoning
I'm using Prettier with ESLint (I'm sure I'm not the only one), and I would prefer to manually sometimes have each element on newline or all elements on single line - for that reasons I have 2 rules in .eslintrc:
Proposal
It would be really awesome, if there was an option to "disable arrays" for Prettier completely. You can think of it as before every line with array there would be
// prettier-ignore
.Reasoning
I'm using Prettier with ESLint (I'm sure I'm not the only one), and I would prefer to manually sometimes have each element on newline or all elements on single line - for that reasons I have 2 rules in
.eslintrc
:and I would like Prettier to completely not care about arrays and let
eslint --fix
deal with arrays.