blob: 51367ad581c85ae0bf0269c20d50143ed041d114 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# EditorConfig: deterministic whitespace enforcement for a Yocto/OE layer.
# https://editorconfig.org — every modern editor applies these on save, and CI
# can gate them with `editorconfig-checker`. Mirrors meta-openembedded's config
# and the Yocto Recipe Style Guide: spaces, 4 wide, no tabs, trimmed, LF, final
# newline. This complements oelint-adv (which handles semantic rules) and removes
# the need for oelint's non-deterministic whitespace auto-fixes.
root = true
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 4
# Makefiles require literal tabs.
[Makefile]
indent_style = tab
# Markdown uses trailing whitespace for hard line breaks.
[*.md]
trim_trailing_whitespace = false
# Never normalise patches — their bytes must match upstream exactly.
[*.{patch,diff}]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
charset = unset
indent_style = unset
indent_size = unset
|