about summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2024-03-03 18:19:00 +0100
committerGitHub <noreply@github.com>2024-03-03 18:19:00 +0100
commit39327e4cf24d63fd4d5c170b959d1640a55a83f9 (patch)
treedcc6d4fb5ea23c8882fa60251b1be77cb758f946 /.editorconfig
parent62e1690736227004529407dc22b61cfe60719cdf (diff)
parent324a7aa90ee02f5401adcf5f4f859f50972feaf1 (diff)
Merge pull request #288812 from hercules-ci/lib-flake-version
`lib/` flake: fix `lib.version`
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index cd8012574508c..8d54e327b9f93 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -17,6 +17,10 @@ end_of_line = unset
 insert_final_newline = unset
 trim_trailing_whitespace = unset
 
+# We want readFile .version to return the version without a newline.
+[.version]
+insert_final_newline = false
+
 # see https://nixos.org/nixpkgs/manual/#chap-conventions
 
 # Match json/lockfiles/markdown/nix/perl/python/ruby/shell/docbook files, set indent to spaces