xref: /linux/.editorconfig (revision 5a602de99797bddc9dd7f73592281a507196f69d)
1*5a602de9SÍñigo Huguet# SPDX-License-Identifier: GPL-2.0-only
2*5a602de9SÍñigo Huguet
3*5a602de9SÍñigo Huguetroot = true
4*5a602de9SÍñigo Huguet
5*5a602de9SÍñigo Huguet[{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}]
6*5a602de9SÍñigo Huguetcharset = utf-8
7*5a602de9SÍñigo Huguetend_of_line = lf
8*5a602de9SÍñigo Huguettrim_trailing_whitespace = true
9*5a602de9SÍñigo Huguetinsert_final_newline = true
10*5a602de9SÍñigo Huguetindent_style = tab
11*5a602de9SÍñigo Huguetindent_size = 8
12*5a602de9SÍñigo Huguet
13*5a602de9SÍñigo Huguet[*.{json,py,rs}]
14*5a602de9SÍñigo Huguetcharset = utf-8
15*5a602de9SÍñigo Huguetend_of_line = lf
16*5a602de9SÍñigo Huguettrim_trailing_whitespace = true
17*5a602de9SÍñigo Huguetinsert_final_newline = true
18*5a602de9SÍñigo Huguetindent_style = space
19*5a602de9SÍñigo Huguetindent_size = 4
20*5a602de9SÍñigo Huguet
21*5a602de9SÍñigo Huguet# this must be below the general *.py to overwrite it
22*5a602de9SÍñigo Huguet[tools/{perf,power,rcu,testing/kunit}/**.py,]
23*5a602de9SÍñigo Huguetindent_style = tab
24*5a602de9SÍñigo Huguetindent_size = 8
25*5a602de9SÍñigo Huguet
26*5a602de9SÍñigo Huguet[*.yaml]
27*5a602de9SÍñigo Huguetcharset = utf-8
28*5a602de9SÍñigo Huguetend_of_line = lf
29*5a602de9SÍñigo Huguettrim_trailing_whitespace = unset
30*5a602de9SÍñigo Huguetinsert_final_newline = true
31*5a602de9SÍñigo Huguetindent_style = space
32*5a602de9SÍñigo Huguetindent_size = 2
33