aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
blob: bec960691a569526b20e820a88d39b3e074fa46d (plain) (blame)
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
# EditorConfig
# See this if your editor doesn't have built-in editorconfig support:
# https://editorconfig.org/#download

# apply to all .c and .h files
[*.{c,h}]

# top-most EditorConfig file
root = true

# Set default charset
charset = utf-8

# Indentation
# indent with tabs
indent_style = tab
# same tab size as kernel style
indent_size = 8

# no trailing spaces
trim_trailing_whitespace = true

# line lenght, same as kernel stipulated
max_line_length = 100

# all files have a final line
insert_final_newline = true

# end of line
end_of_line = lf