diff --git a/.editorconfig b/.editorconfig index ef4e49d..8d5b7df 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,7 +7,7 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -[*.sh] +[git-check-assertions] indent_size = 2 [*.nix] diff --git a/flake.nix b/flake.nix index 588b7bc..ec37673 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ packages.default = pkgs.writeShellApplication { name = "git-check-assertions"; runtimeInputs = [ pkgs.git ]; - text = builtins.readFile ./git-check-assertions.sh; + text = builtins.readFile ./git-check-assertions; }; devShells.default = pkgs.mkShell { packages = with pkgs; [ bats ]; diff --git a/git-check-assertions.sh b/git-check-assertions similarity index 100% rename from git-check-assertions.sh rename to git-check-assertions