mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-13 11:35:20 +01:00
Merge bitcoin/bitcoin#30877: code style: update .editorconfig file
95560616fb
code style: update .editorconfig file (Sebastian Falbesoner) Pull request description: Updates the .editorconfig file, first introduced in 2021 (see PR #21123, commit7a135d57
) w.r.t. following changes: - consider Rust .rs files (relevant since #28076, commitbbbbdb0c
) - reflect build system change to CMake (#30454, #30664) - add setting for bare Makefile still used for depends builds Can be tested e.g. by using the editorconfig-vim plugin (https://github.com/editorconfig/editorconfig-vim). The PR is made under the assumption that the file is still considered useful, especially for new contributors. If people feel like that's not the case anymore, the alternative is to delete it, obviously. Top commit has no ACKs. Tree-SHA512: 8406b1caf31e310f7e17c607d97beac583481e71b4425e0be2bbd8207096aa374a70151b58aae5fdb648ef5ff5c7e1d0a2949e6de3355bdd2009d8353ee24af0
This commit is contained in:
commit
1d5b2406bb
1 changed files with 6 additions and 6 deletions
|
@ -10,17 +10,17 @@ insert_final_newline = true
|
|||
trim_trailing_whitespace = true
|
||||
|
||||
# Source code files
|
||||
[*.{h,cpp,py,sh}]
|
||||
[*.{h,cpp,rs,py,sh}]
|
||||
indent_size = 4
|
||||
|
||||
# .cirrus.yml, .fuzzbuzz.yml, etc.
|
||||
# .cirrus.yml, etc.
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
|
||||
# Makefiles
|
||||
[{*.am,Makefile.*.include}]
|
||||
# Makefiles (only relevant for depends build)
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
||||
# Autoconf scripts
|
||||
[configure.ac]
|
||||
# CMake files
|
||||
[{CMakeLists.txt,*.cmake,*.cmake.in}]
|
||||
indent_size = 2
|
||||
|
|
Loading…
Add table
Reference in a new issue