Instead of managing our own formatter file, we can leverage a tool specifically tailored for formatting a repository and allowing configuration to be passed to formatters.
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"nodes": {
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1743827369,
|
|
"narHash": "sha256-rpqepOZ8Eo1zg+KJeWoq1HAOgoMCDloqv5r2EAa9TSA=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "42a1c966be226125b48c384171c44c651c236c22",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"nixpkgs": "nixpkgs",
|
|
"treefmt-nix": "treefmt-nix"
|
|
}
|
|
},
|
|
"treefmt-nix": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1743748085,
|
|
"narHash": "sha256-uhjnlaVTWo5iD3LXics1rp9gaKgDRQj6660+gbUU3cE=",
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"rev": "815e4121d6a5d504c0f96e5be2dd7f871e4fd99d",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "numtide",
|
|
"repo": "treefmt-nix",
|
|
"type": "github"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|