treefmt/docs
Brian McGee ce14ee828f
feat: simplify pipeline model
For each path we determine the list of formatters that are interested in formatting it. From there, we sort
the list of formatters first by priority (lower value, higher priority) and then by name (lexicographically).

With this information we create a batch key which is based on the unique sequence of formatters. When enough paths with the same sequence is ready we apply them in order to each formatter.

By default, with no special configuration, this model guarantees that a given path will only be processed by one formatter at a time.

If a user wishes to influence the order in which formatters are applied they can use the priority field.

Signed-off-by: Brian McGee <brian@bmcgee.ie>
2024-05-26 16:52:04 +01:00
..
.vitepress doc: fix license link in footer 2024-05-13 10:40:02 +01:00
public doc: improve treefmt.gif 2024-05-03 20:04:13 +01:00
vhs doc: improve treefmt.gif 2024-05-03 20:04:13 +01:00
about.md doc: refine docs and usage 2024-05-10 10:46:39 +01:00
configure.md feat: simplify pipeline model 2024-05-26 16:52:04 +01:00
contributing.md doc: switch to treefmt.com domain 2024-05-13 10:20:22 +01:00
faq.md feat: add flake compat 2024-05-02 11:41:39 +01:00
formatter-spec.md doc: refine formatter spec 2024-05-02 11:41:38 +01:00
index.md docs: clearer landing page (#298) 2024-05-18 09:45:38 +02:00
install.md chore: change base url to treefmt instead of treefmt-go 2024-05-12 19:39:43 +01:00
package-lock.json doc: refine docs and usage 2024-05-10 10:46:39 +01:00
package.json doc: fix docs package build 2024-05-02 11:41:38 +01:00
quick-start.md doc: refine docs and usage 2024-05-10 10:46:39 +01:00
usage.md doc: refine docs and usage 2024-05-10 10:46:39 +01:00