Add more editorconfig rules to cover all files

pull/6656/head
Hanefi Onaldi 2023-01-26 11:35:37 +03:00
parent a482b36760
commit a97478a85d
No known key found for this signature in database
GPG Key ID: F18CDB10BA0DFDC7
7 changed files with 21 additions and 3 deletions

View File

@ -12,12 +12,14 @@ insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
# Don't change test output files, pngs or test data files
[*.{out,png,data}]
# Don't change test outputs, data files, C files, markdowns and generated files
[{*.{out,png,data,md,guess,c,h,lock},LICENSE,configure}]
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
[*.{sql,sh,py}]
[*.{sql,sh,py,spec,json,source}]
indent_style = space
indent_size = 4
tab_width = 4

View File

@ -0,0 +1,2 @@
# do not use any .editorconfig files in upper level dir
root = true

View File

@ -0,0 +1,2 @@
# do not use any .editorconfig files in upper level dir
root = true

View File

@ -0,0 +1,6 @@
# Don't change generated input file
[citus_config.h.in]
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset

View File

@ -0,0 +1,2 @@
# do not use any .editorconfig files in upper level dir
root = true

View File

@ -0,0 +1,2 @@
# do not use any .editorconfig files in upper level dir
root = true

2
vendor/.editorconfig vendored Normal file
View File

@ -0,0 +1,2 @@
# do not use any .editorconfig files in upper level dir
root = true