From 6304a37ea9ac2e1de61c1963d42731c4c2d568d4 Mon Sep 17 00:00:00 2001 From: FeRD (Frank Dana) Date: Sep 18 2024 07:17:35 +0000 Subject: Add preliminary .editorconfig rules --- diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ee03cd1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# Topmost editorconfig for project, don't ascend +# to parent directories when scanning configs +root = true + +# All files: UTF-8 with Unix-style newlines, +# no trailing whitespace, and a final newline +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +# JavaScript, CSS, Python, shell: 4-space indents +[{**/*.{js,css,py,sh},runtests,cli/koji,vm/kojivmd}] +indent_style = space +indent_size = 4 + +# Makefile: tab indents +[**/Makefile] +indent_style = tab +tab_width = 8 +