Move .editorconfig to repo root (#24398)
* Move .editorconfig to repo root * Add yaml formatting to .editorconfig
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
61473efb93
Коммит
fd74208af1
@@ -8,7 +8,7 @@ insert_final_newline = true
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
|
||||||
[*.go]
|
[*.{go,sql}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[*.{js,jsx,json,html,ts,tsx}]
|
[*.{js,jsx,json,html,ts,tsx}]
|
||||||
@@ -21,12 +21,21 @@ indent_size = 2
|
|||||||
[i18n/**.json]
|
[i18n/**.json]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
[Makefile]
|
[Makefile,*.mk]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[*.scss]
|
[*.scss]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
[.npm-upgrade.json]
|
[.npm-upgrade.json]
|
||||||
insert_final_newline = false
|
insert_final_newline = false
|
||||||
|
|
||||||
|
[*.yml,*.yaml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# http://editorconfig.org/
|
|
||||||
|
|
||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
end_of_line = lf
|
|
||||||
insert_final_newline = true
|
|
||||||
charset = utf-8
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
|
|
||||||
[*.{go,sql}]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[*.{js,jsx,json,html}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
|
||||||
|
|
||||||
[i18n/**.json]
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[Makefile,*.mk]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[*.md]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 4
|
|
||||||
trim_trailing_whitespace = false
|
|
||||||
Ссылка в новой задаче
Block a user