Compare commits

..

No commits in common. "d3cdb698e4ae7448ed54a4ed729be32f6a580c22" and "5d341f929f522c7e820120a2008315c0c8a8300c" have entirely different histories.

4 changed files with 21 additions and 42 deletions

View File

@ -208,16 +208,15 @@
]
},
"locked": {
"lastModified": 1714382886,
"narHash": "sha256-+gooxbbYcP+MORKQ7W/C2ATvlonW+dyHgCUPnu5dfco=",
"owner": "brianmcgee",
"lastModified": 1707300477,
"narHash": "sha256-qQF0fEkHlnxHcrKIMRzOETnRBksUK048MXkX0SOmxvA=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "535e6904c34964ce56d8c092835c11fe6341acc8",
"rev": "ac599dab59a66304eb511af07b3883114f061b9d",
"type": "github"
},
"original": {
"owner": "brianmcgee",
"ref": "feat/pipelines",
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}

View File

@ -7,8 +7,7 @@
flake-parts.url = "github:hercules-ci/flake-parts";
flake-root.url = "github:srid/flake-root";
treefmt-nix = {
# todo switch back to numtide/treefmt-nix once merged
url = "github:brianmcgee/treefmt-nix/feat/pipelines";
url = "github:numtide/treefmt-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
devshell = {

View File

@ -23,9 +23,7 @@
in
filter {
root = ../.;
exclude = [
"nix"
];
exclude = [./nix];
};
modules = ../gomod2nix.toml;

View File

@ -22,37 +22,20 @@
statix.enable = true;
};
settings.formatter = {
deadnix = {
pipeline = "nix";
priority = 1;
};
statix = {
pipeline = "nix";
priority = 2;
};
alejandra = {
pipeline = "nix";
priority = 3;
};
prettier = {
options = ["--tab-width" "4"];
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
];
};
settings.formatter.prettier = {
options = ["--tab-width" "4"];
includes = [
"*.css"
"*.html"
"*.js"
"*.json"
"*.jsx"
"*.md"
"*.mdx"
"*.scss"
"*.ts"
"*.yaml"
];
};
};