xref: /linux/.editorconfig (revision 36ec807b627b4c0a0a382f0ae48eac7187d14b2b)
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 Huguetinsert_final_newline = true
9*5a602de9SÍñigo Huguetindent_style = tab
10*5a602de9SÍñigo Huguetindent_size = 8
11*5a602de9SÍñigo Huguet
12*5a602de9SÍñigo Huguet[*.{json,py,rs}]
13*5a602de9SÍñigo Huguetcharset = utf-8
14*5a602de9SÍñigo Huguetend_of_line = lf
15*5a602de9SÍñigo Huguetinsert_final_newline = true
16*5a602de9SÍñigo Huguetindent_style = space
17*5a602de9SÍñigo Huguetindent_size = 4
18*5a602de9SÍñigo Huguet
19*5a602de9SÍñigo Huguet# this must be below the general *.py to overwrite it
20*5a602de9SÍñigo Huguet[tools/{perf,power,rcu,testing/kunit}/**.py,]
21*5a602de9SÍñigo Huguetindent_style = tab
22*5a602de9SÍñigo Huguetindent_size = 8
23*5a602de9SÍñigo Huguet
24*5a602de9SÍñigo Huguet[*.yaml]
25*5a602de9SÍñigo Huguetcharset = utf-8
26*5a602de9SÍñigo Huguetend_of_line = lf
27*5a602de9SÍñigo Huguetinsert_final_newline = true
28*5a602de9SÍñigo Huguetindent_style = space
29*5a602de9SÍñigo Huguetindent_size = 2
30