Commit cb1fbf04 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Frank Nägler
Browse files

[TASK] Slim down .editorconfig file

This patch aims to reduce the size of the .editorconfig file used by IDEs
to get rid of duplicated configuration (indent_style), obsolete
configuration (bower.json) and merge related configuration (scss, css).

Resolves: #88271
Releases: master
Change-Id: I5a34536858b0cea5e4eb5a1f9fc7ca566aa144e0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60653

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 2209a8f2
......@@ -7,81 +7,39 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# CSS-Files
[*.css]
indent_style = tab
indent_size = 4
# HTML-Files
[*.html]
indent_style = space
indent_size = 4
# TMPL-Files
[*.tmpl]
indent_style = tab
indent_size = 4
# SCSS-Files
[*.scss]
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
# TS/JS-Files
[*.ts]
indent_style = space
indent_size = 2
[*.js]
indent_style = space
[*.{ts,js}]
indent_size = 2
# JSON-Files
[*.json]
indent_style = tab
indent_size = 4
# PHP-Files
[*.php]
indent_style = space
indent_size = 4
# ReST-Files
[*.rst]
indent_style = space
indent_size = 3
# MD-Files
[*.md]
indent_style = space
indent_size = 4
# YAML-Files
[{*.yaml,*.yml}]
indent_style = space
[*.{yaml,yml}]
indent_size = 2
# package.json
# .travis.yml
# bower.json
[{package.json,.travis.yml,bower.json}]
indent_style = space
[{package.json,.travis.yml}]
indent_size = 2
# TypoScript
[*.typoscript]
indent_style = space
indent_size = 2
[*.tsconfig]
indent_style = space
[*.{typoscript,tsconfig}]
indent_size = 2
# XLF-Files
[*.xlf]
indent_style = tab
indent_size = 4
# SQL-Files
[*.sql]
......@@ -91,4 +49,3 @@ indent_size = 2
# .htaccess
[{_.htaccess,.htaccess}]
indent_style = tab
indent_size = 4
Supports Markdown
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