mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Added standard editor config
This commit is contained in:
parent
5e18e8dca3
commit
a9ee70c5dd
@ -1,24 +1,17 @@
|
|||||||
# For more information about the properties used in
|
# For more information about the properties used in this file,
|
||||||
# this file, please see the EditorConfig documentation:
|
# please see the EditorConfig documentation:
|
||||||
# http://editorconfig.org/
|
# http://editorconfig.org
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
indent_style = tab
|
indent_style = space
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.md]
|
[{*.yml,package.json}]
|
||||||
trim_trailing_whitespace = false
|
|
||||||
|
|
||||||
[*.yml]
|
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
[{.travis.yml,package.json}]
|
# The indent size used in the package.json file cannot be changed:
|
||||||
# The indent size used in the `package.json` file cannot be changed
|
|
||||||
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
|
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
Loading…
Reference in New Issue
Block a user