treefmt/test/examples
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
..
elm feat: align example treefmt config with flake treefmt config 2023-12-23 13:06:50 +00:00
go feat: initial import 2023-12-23 12:50:51 +00:00
haskell feat: initial import 2023-12-23 12:50:51 +00:00
haskell-frontend feat: initial import 2023-12-23 12:50:51 +00:00
html feat: align example treefmt config with flake treefmt config 2023-12-23 13:06:50 +00:00
javascript/source feat: align example treefmt config with flake treefmt config 2023-12-23 13:06:50 +00:00
nix feat: align example treefmt config with flake treefmt config 2023-12-23 13:06:50 +00:00
python chore(deps): bump flask from 0.12.1 to 2.2.5 in /test/examples/python 2024-05-13 08:09:09 +00:00
ruby feat: initial import 2023-12-23 12:50:51 +00:00
rust feat: initial import 2023-12-23 12:50:51 +00:00
shell feat: initial import 2023-12-23 12:50:51 +00:00
terraform feat: initial import 2023-12-23 12:50:51 +00:00
nixpkgs.toml feat: simplify pipeline model 2024-05-26 16:52:04 +01:00
touch.toml feat: improve specifying formatters test 2024-05-10 11:43:28 +01:00
treefmt.toml feat: simplify pipeline model 2024-05-26 16:52:04 +01:00