]> git.ipfire.org Git - thirdparty/linux.git/blob - .editorconfig
Merge series 'Open block devices as files' of https://lore.kernel.org/r/20240123...
[thirdparty/linux.git] / .editorconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 root = true
4
5 [{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}]
6 charset = utf-8
7 end_of_line = lf
8 trim_trailing_whitespace = true
9 insert_final_newline = true
10 indent_style = tab
11 indent_size = 8
12
13 [*.{json,py,rs}]
14 charset = utf-8
15 end_of_line = lf
16 trim_trailing_whitespace = true
17 insert_final_newline = true
18 indent_style = space
19 indent_size = 4
20
21 # this must be below the general *.py to overwrite it
22 [tools/{perf,power,rcu,testing/kunit}/**.py,]
23 indent_style = tab
24 indent_size = 8
25
26 [*.yaml]
27 charset = utf-8
28 end_of_line = lf
29 trim_trailing_whitespace = unset
30 insert_final_newline = true
31 indent_style = space
32 indent_size = 2