mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:41:40 +03:00
.editorconfig: add
This allows IDEs that support this standard to automatically use the correct formatting options. Closes #18409
This commit is contained in:
parent
f8e6e11725
commit
37c6744997
2 changed files with 19 additions and 1 deletions
18
.editorconfig
Normal file
18
.editorconfig
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: curl
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
insert_final_newline = true
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.{c,h}]
|
||||||
|
indent_size = 2
|
||||||
|
max_line_length = 79
|
||||||
|
|
||||||
|
[*.{pl,pm}]
|
||||||
|
indent_size = 4
|
||||||
|
|
@ -79,7 +79,7 @@ PLAN9_DIST = plan9/include/mkfile \
|
||||||
plan9/src/mkfile.inc \
|
plan9/src/mkfile.inc \
|
||||||
plan9/src/mkfile
|
plan9/src/mkfile
|
||||||
|
|
||||||
EXTRA_DIST = CHANGES.md COPYING RELEASE-NOTES Dockerfile \
|
EXTRA_DIST = CHANGES.md COPYING RELEASE-NOTES Dockerfile .editorconfig \
|
||||||
$(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) $(PLAN9_DIST)
|
$(CMAKE_DIST) $(VC_DIST) $(WINBUILD_DIST) $(PLAN9_DIST)
|
||||||
|
|
||||||
DISTCLEANFILES = buildinfo.txt
|
DISTCLEANFILES = buildinfo.txt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue