mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
chore: add .editorconfig and .gitattributes
Add editor configuration and line ending normalization for consistent development across platforms. Signed-off-by: Srikanth Patchava <srpatcha@users.noreply.github.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
committed by
Khem Raj
parent
95720367b2
commit
90afa64a7a
@@ -0,0 +1,23 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.{patch,diff}]
|
||||
end_of_line = unset
|
||||
insert_final_newline = unset
|
||||
trim_trailing_whitespace = unset
|
||||
charset = unset
|
||||
indent_style = unset
|
||||
indent_size = unset
|
||||
@@ -0,0 +1,24 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
|
||||
# BitBake recipes and configuration (the bulk of this repository)
|
||||
*.bb text
|
||||
*.bbappend text
|
||||
*.bbclass text
|
||||
*.inc text
|
||||
*.conf text
|
||||
*.cfg text
|
||||
|
||||
# Other text files actually present in this repository
|
||||
*.md text diff=markdown
|
||||
*.txt text
|
||||
*.json text
|
||||
*.xml text
|
||||
|
||||
# Binary files actually present in this repository
|
||||
*.png binary
|
||||
*.zip binary
|
||||
|
||||
# Patch and diff files: keep verbatim (do NOT normalize line endings)
|
||||
*.patch -text
|
||||
*.diff -text
|
||||
Reference in New Issue
Block a user