From 64b5bb548beeb9c645cd99a8ead0d69dcf232540 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 4 Aug 2024 02:06:54 +0200 Subject: [PATCH] editorconfig: init --- .editorconfig | 10 ++++++++++ shell.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..a360eed8 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,10 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.nix] +indent_style = space +indent_size = 2 diff --git a/shell.nix b/shell.nix index 93e0dd09..896d4bc2 100644 --- a/shell.nix +++ b/shell.nix @@ -5,6 +5,7 @@ pkgs.mkShellNoCC { gnupg statix openstackclient + editorconfig-checker ]; shellHook = ''