4 ms·
I recently read a couple github threads in prettier's repo that said prettier won't do import optimization/organization, nor object property organization (e.g.
by mattdeboard 8y ago
I recently read a couple github threads in prettier's repo that said prettier won't do import optimization/organization, nor object property organization (e.g. {c: 3, b: 2} -> {b: 2, c: 3}) because it has potential to cause AST changes and could break things for people.
Do you think it's feasible to have a "jsfmt" tool or is the technical hurdle too great?
- vjeux 8y agoA lot of people have successfully coupled eslint with prettier, where they enable eslint rules that do those transforms with autofix.