From 4ad795c835f8f07d6f6136d0125f8085b206fce2 Mon Sep 17 00:00:00 2001 From: Andrew Dent Date: Wed, 29 May 2024 11:49:38 +0000 Subject: [PATCH] Add dotfiles for easier collaboration - Standard coding style (suggested); see EditorConfig.org - For Git, ignore system files when committing. git-svn-id: svn://kolibrios.org@10060 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .editorconfig | 21 +++++++++++++++++++++ .gitignore | 9 +++++++++ 2 files changed, 30 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..01bd19b39e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# https://EditorConfig.org + +root = true + +[*] +# charset = utf-8 # not system wide, just in the kernel +indent_style = space +indent_size = 4 +trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = true + +[*.{asm,inc}] +indent_size = 8 + +[kernel/**.{asm,inc}] +charset = utf-8 + +[*.{bat,cmd}] +# Prefer Windows line endings +end_of_line = crlf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..668346f52f --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +### Windows ### +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +### macOS ### +.DS_Store +._*