mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 18:41:23 +00:00
33 lines
672 B
INI
33 lines
672 B
INI
|
# SPDX-License-Identifier: GPL-2.0-only
|
||
|
|
||
|
root = true
|
||
|
|
||
|
[{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}]
|
||
|
charset = utf-8
|
||
|
end_of_line = lf
|
||
|
trim_trailing_whitespace = true
|
||
|
insert_final_newline = true
|
||
|
indent_style = tab
|
||
|
indent_size = 8
|
||
|
|
||
|
[*.{json,py,rs}]
|
||
|
charset = utf-8
|
||
|
end_of_line = lf
|
||
|
trim_trailing_whitespace = true
|
||
|
insert_final_newline = true
|
||
|
indent_style = space
|
||
|
indent_size = 4
|
||
|
|
||
|
# this must be below the general *.py to overwrite it
|
||
|
[tools/{perf,power,rcu,testing/kunit}/**.py,]
|
||
|
indent_style = tab
|
||
|
indent_size = 8
|
||
|
|
||
|
[*.yaml]
|
||
|
charset = utf-8
|
||
|
end_of_line = lf
|
||
|
trim_trailing_whitespace = unset
|
||
|
insert_final_newline = true
|
||
|
indent_style = space
|
||
|
indent_size = 2
|