flake: format JS & YML with "prettier"

Used for JS and YML files.
Markdown is excluded.
This commit is contained in:
Matt Sturgeon 2024-07-08 15:54:16 +01:00 committed by GaetanLepage
parent 2583f54225
commit 7c02148e68

View file

@ -24,8 +24,19 @@
enable = true; enable = true;
package = fmt; package = fmt;
}; };
prettier = {
enable = true;
excludes = [ "**.md" ];
};
statix.enable = true; statix.enable = true;
}; };
settings = {
global.excludes = [
"LICENSE"
"flake.lock"
];
};
}; };
} }
// lib.optionalAttrs (inputs.git-hooks ? flakeModule) { // lib.optionalAttrs (inputs.git-hooks ? flakeModule) {