mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-08 21:48:11 -05:00
editorconfig (#1609)
* basic .editorconfig documentation is on http://editorconfig.org examples with cpp and py here on github: https://git.io/vFu7X * remove some extensions * rules for json, travis, makefile * Makefile with capital M [CI skip]
This commit is contained in:
committed by
Ian Bell
parent
945f82e90e
commit
38e287019d
39
.editorconfig
Normal file
39
.editorconfig
Normal file
@@ -0,0 +1,39 @@
|
||||
# see editorconfig.org
|
||||
root = true
|
||||
|
||||
# default settings for all file types
|
||||
[*]
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# settings per extension (alphabetically)
|
||||
[{*.cmake,CMakeLists.txt}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.{cpp,h}]
|
||||
charset = utf-8
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
|
||||
[*.json]
|
||||
charset = utf-8
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[Makefile]
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
|
||||
[*.md]
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.py]
|
||||
charset = utf-8
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
|
||||
[.travis.yml]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
Reference in New Issue
Block a user