Commit d852cf71 authored by Markus Sommer's avatar Markus Sommer Committed by Thomas Löffler

[TASK] Use new TYPO3 editor config

parent 7e2abc1a
...@@ -2,44 +2,42 @@ ...@@ -2,44 +2,42 @@
# top-most EditorConfig file # top-most EditorConfig file
root = true root = true
charset = utf-8
# Get rid of whitespace to avoid diffs with a bunch of EOL changes
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file # Unix-style newlines with a newline ending every file
[*] [*]
charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true
# CSS-Files # CSS-Files
[*.css] [*.css]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# HTML-Files # HTML-Files
[*.html] [*.html]
indent_style = tab indent_style = space
indent_size = 2 indent_size = 4
# TMPL-Files # TMPL-Files
[*.tmpl] [*.tmpl]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# LESS-Files # SCSS-Files
[*.less] [*.scss]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# JS-Files # JS-Files
[*.js] [*.js]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# JSON-Files # JSON-Files
[*.json] [*.json]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# PHP-Files # PHP-Files
...@@ -62,23 +60,27 @@ indent_size = 4 ...@@ -62,23 +60,27 @@ indent_size = 4
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
# package.json or .travis.yml # package.json
[{package.json,.travis.yml}] # .travis.yml
# bower.json
[{package.json,.travis.yml,bower.json}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
# TypoScript # TypoScript
[*.ts] [*.ts]
indent_style = space indent_style = space
indent_size = 2 indent_size = 4
[*.typoscript]
indent_style = space
indent_size = 4
# XLF-Files # XLF-Files
[*.xlf] [*.xlf]
indent_style = tab indent_style = space
indent_size = 4 indent_size = 4
# SQL-Files # SQL-Files
[*.sql] [*.sql]
indent_style = tab indent_style = space
indent_size = 2 indent_size = 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment