Compare commits
No commits in common. "5f2895af1ff9a49d826628684edc817426817b88" and "6ba1a8e9755ae03287457d5fe9bb3565f7421c4b" have entirely different histories.
5f2895af1f
...
6ba1a8e975
4 changed files with 1 additions and 32 deletions
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"slug": "mfgames-project-setup-flake"
|
||||
}
|
|
@ -44,7 +44,7 @@
|
|||
conformDefaults = { scopes = [ ]; };
|
||||
contributorCovenantDefaults = { enable = false; };
|
||||
developerCertificateOfOriginDefaults = { enable = false; };
|
||||
dotnetDefaults = { enable = false; format = false; };
|
||||
dotnetDefaults = { enable = false; };
|
||||
prettierDefaults = { proseWrap = "preserve"; };
|
||||
rustDefaults = { enable = false; };
|
||||
licenseDefaults = { enable = false; filename = "LICENSE.md"; };
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
# Adding File Ignoring
|
||||
|
||||
While using this flake, it became obvious that there were a few things that were
|
||||
still rough around the edges. In specific, we didn't add `/.direnv/` to the
|
||||
`.gitignore` file sof if we weren't careful, we would be adding the entire
|
||||
environment into the check-in.
|
||||
|
||||
The other was that some of the generated files (`DGO.md` in specific) would be
|
||||
added via Nixago, then formatted as part of our `treefmt` call in `lefthook`,
|
||||
then checked-in. As soon as someone went into the environment, Nixago would
|
||||
notice that the file was different (because of formatting) and would regenerate
|
||||
it, leading to an endless loop of generation/formatting.
|
||||
|
||||
In both cases, we needed the ability to add files to various ignore files
|
||||
(`.gitignore` in the first case and `.prettierignore` in the second). The v0.1.0
|
||||
check-in does that, and also avoids reformatting the license files along the
|
||||
way.
|
|
@ -32,17 +32,6 @@ let
|
|||
includes = [ "*.cs" ];
|
||||
};
|
||||
}
|
||||
// pkgs.lib.attrsets.optionalAttrs dotnet.format {
|
||||
dotnet-format-style = {
|
||||
command = "dotnet format style --include";
|
||||
includes = [ "*.cs" ];
|
||||
};
|
||||
|
||||
dotnet-format-analyzers = {
|
||||
command = "dotnet format analyzers --include";
|
||||
includes = [ "*.cs" ];
|
||||
};
|
||||
}
|
||||
// pkgs.lib.attrsets.optionalAttrs rust.enable {
|
||||
rust = {
|
||||
command = "rustfmt";
|
||||
|
|
Loading…
Reference in a new issue