You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s common to format code according to the project’s standards before making contributions to any project. This task
25
-
seems trivial at first sight — you can set up the required language formatter in your IDE.
24
+
Modern code repositories are rarely written in a single language. They often contain a mix of languages, each with its own formatting requirements.
26
25
27
-
However, contributing to multiple projects requires more effort: you must change your formatter configurations each
28
-
time you switch between projects or call them manually.
26
+
While working for our customers, we noticed that projects each tended to re-implement the same formatter multiplexing logic. A script that invokes all the formatters.
29
27
30
-
Formatting requires less effort with a universal formatter that supports multiple languages but is still project-specific.
28
+
What if that script was a single command?
29
+
30
+
What if that single command would handle all the formatters in parallel? And only format files that have changed since the previous run?
0 commit comments