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
This commit is contained in:
Andrew Dent 2024-05-29 11:49:38 +00:00
parent 27f290d51b
commit 4ad795c835
2 changed files with 30 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -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

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
### Windows ###
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
### macOS ###
.DS_Store
._*