mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR: Add .editorconfig
This will help ensure that tabs/spaces/trailing-space/newlines are consistent. This file is based on the one from silverstripe-framework
This commit is contained in:
parent
ec680d5989
commit
ca4752eca3
24
.editorconfig
Normal file
24
.editorconfig
Normal file
@ -0,0 +1,24 @@
|
||||
# For more information about the properties used in
|
||||
# this file, please see the EditorConfig documentation:
|
||||
# http://editorconfig.org/
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = tab
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
# Don't perform any clean-up on thirdparty files
|
||||
|
||||
[thirdparty/**]
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
Loading…
Reference in New Issue
Block a user