mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
Add .editorconfig
EditorConfig (http://editorconfig.org/) helps developers define and maintain consistent coding styles between different editors and IDEs. Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com> Closes: https://github.com/erikd/libsndfile/pull/173
This commit is contained in:
parent
5bcfd5ff0a
commit
e427dd8674
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@ -0,0 +1,16 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{h,hpp,c,tpl,def}]
|
||||
indent_style = tab
|
||||
tab_width = 4
|
||||
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.yml]
|
||||
indent_style = space
|
||||
indent_size = 2
|
@ -20,7 +20,7 @@ EXTRA_DIST = libsndfile.spec.in sndfile.pc.in Scripts/android-configure.sh \
|
||||
Scripts/linux-to-win-cross-configure.sh Scripts/build-test-tarball.mk.in \
|
||||
CMakeLists.txt CMake/autogen.cmake CMake/build.cmake CMake/check.cmake \
|
||||
CMake/compiler_is_gcc.c CMake/external_libs.cmake CMake/file.cmake \
|
||||
CMake/have_decl_s_irgrp.c CMake/libsndfile.cmake
|
||||
CMake/have_decl_s_irgrp.c CMake/libsndfile.cmake .editorconfig
|
||||
|
||||
|
||||
CLEANFILES = *~
|
||||
|
Loading…
Reference in New Issue
Block a user