mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 04:45:43 +01:00
We have a lot of .rst documentation; use editorconfig rules for those. This sets the default tab width to 8, which makes indentation consistent and avoids requiring developers to adjust editor settings manually. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kari Argillander <[email protected]> Cc: Danny Lin <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Mickael Salaun <[email protected]> Cc: Íñigo Huguet <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
28 lines
566 B
INI
28 lines
566 B
INI
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
[{*.{awk,c,dts,dtsi,dtso,h,mk,rst,s,S},Kconfig,Makefile,Makefile.*}]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
indent_style = tab
|
|
indent_size = 8
|
|
|
|
[*.{json,py,rs}]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
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
|
|
insert_final_newline = true
|
|
indent_style = space
|
|
indent_size = 2
|