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 = ''