home: Configure editorconfig

This commit is contained in:
Alexander Kobjolke 2024-02-04 23:41:24 +01:00
parent 6d49c9127d
commit d4b8835050
2 changed files with 23 additions and 1 deletions

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
{
editorconfig = {
enable = true;
settings = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
trim_trailing_whitespace = true;
insert_final_newline = true;
max_line_width = 78;
indent_style = "space";
indent_size = 2;
};
};
};
}