Copy .editorconfig from TYPO3 project
This commit is contained in:
parent
8a3f1e03ea
commit
2867d31b07
|
@ -0,0 +1,51 @@
|
||||||
|
# EditorConfig is awesome: http://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
# TS/JS-Files
|
||||||
|
[*.{ts,js}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# JSON-Files
|
||||||
|
[*.json]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
# ReST-Files
|
||||||
|
[*.rst]
|
||||||
|
indent_size = 3
|
||||||
|
|
||||||
|
# YAML-Files
|
||||||
|
[*.{yaml,yml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# package.json
|
||||||
|
# .travis.yml
|
||||||
|
[{package.json,.travis.yml}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# TypoScript
|
||||||
|
[*.{typoscript,tsconfig}]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# XLF-Files
|
||||||
|
[*.xlf]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
# SQL-Files
|
||||||
|
[*.sql]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
# .htaccess
|
||||||
|
[{_.htaccess,.htaccess}]
|
||||||
|
indent_style = tab
|
Loading…
Reference in New Issue