Open
Description
Using prettier kinda makes sense here but most repos I've worked on use prettier everywhere, not just on JS files. See the latest issue:
I think that XO can be compatible with prettier without using it directly:
xo --prettier
Would become
xo --prettier && prettier
The flag would enable compatibility with prettier rather than run prettier.
In reality repos already have to run two commands since they have to run prettier on the remaining files anyway, but they risk running different prettier versions.
@spence-s also mentioned difficulty migrating the current config to flat due to prettier, if I understood that correctly
Metadata
Assignees
Labels
No labels
Activity