mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
chore: Add .editorconfig files
This commit is contained in:
parent
4356cb0709
commit
2d7da9db8a
38
.editorconfig
Normal file
38
.editorconfig
Normal file
@ -0,0 +1,38 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Traditionally, the end-of-line character has been platform-specific.
|
||||
end_of_line = unset
|
||||
|
||||
[*.[chS]]
|
||||
indent_style = space
|
||||
max_line_length = 81
|
||||
|
||||
[*.{awk,cmake,dfa,in,sh}]
|
||||
indent_style = space
|
||||
max_line_length = 100
|
||||
|
||||
[*.txt]
|
||||
indent_style = space
|
||||
max_line_length = unset
|
||||
|
||||
[{Makefile.in,ltmain.sh}]
|
||||
indent_style = unset
|
||||
insert_final_newline = unset
|
||||
max_line_length = unset
|
||||
trim_trailing_whitespace = unset
|
||||
|
||||
[*~]
|
||||
indent_style = unset
|
||||
insert_final_newline = unset
|
||||
max_line_length = unset
|
||||
trim_trailing_whitespace = unset
|
||||
|
||||
[COMMIT_EDITMSG]
|
||||
max_line_length = 72
|
13
contrib/.editorconfig
Normal file
13
contrib/.editorconfig
Normal file
@ -0,0 +1,13 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = false
|
||||
|
||||
[*]
|
||||
charset = unset
|
||||
end_of_line = unset
|
||||
indent_size = unset
|
||||
indent_style = unset
|
||||
insert_final_newline = unset
|
||||
max_doc_length = unset
|
||||
max_line_length = unset
|
||||
trim_trailing_whitespace = unset
|
7
loongarch/.editorconfig
Normal file
7
loongarch/.editorconfig
Normal file
@ -0,0 +1,7 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = false
|
||||
|
||||
# FIXME
|
||||
[*.[ch]]
|
||||
max_line_length = unset
|
7
powerpc/.editorconfig
Normal file
7
powerpc/.editorconfig
Normal file
@ -0,0 +1,7 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = false
|
||||
|
||||
# FIXME
|
||||
[*.[ch]]
|
||||
max_line_length = unset
|
13
projects/.editorconfig
Normal file
13
projects/.editorconfig
Normal file
@ -0,0 +1,13 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = false
|
||||
|
||||
[*]
|
||||
charset = unset
|
||||
end_of_line = unset
|
||||
indent_size = unset
|
||||
indent_style = unset
|
||||
insert_final_newline = unset
|
||||
max_doc_length = unset
|
||||
max_line_length = unset
|
||||
trim_trailing_whitespace = unset
|
Loading…
x
Reference in New Issue
Block a user