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 0000000..a360eed --- /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 93e0dd0..896d4bc 100644 --- a/shell.nix +++ b/shell.nix @@ -5,6 +5,7 @@ pkgs.mkShellNoCC { gnupg statix openstackclient + editorconfig-checker ]; shellHook = ''