Skip to content

Commit 2a77cb0

Browse files
committed
[TASK] Sync .editorconfig with the latest TYPO3 Core version
Update the template and also the project's own `.editorconfig`. Also drop a redundant line.
1 parent 56ff4ce commit 2a77cb0

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

.editorconfig

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ insert_final_newline = true
1313
trim_trailing_whitespace = true
1414

1515
# TS/JS-Files
16-
[*.{ts,js}]
16+
[*.{ts,js,mjs}]
1717
indent_size = 2
1818

1919
# JSON-Files
@@ -22,7 +22,6 @@ indent_style = tab
2222

2323
# ReST-Files
2424
[*.{rst,rst.txt}]
25-
indent_size = 4
2625
max_line_length = 80
2726

2827
# Markdown-Files
@@ -38,11 +37,6 @@ indent_size = 2
3837
indent_size = 2
3938
indent_style = tab
4039

41-
#.eslintrc.json
42-
[.eslintrc.json]
43-
indent_size = 2
44-
indent_style = space
45-
4640
# stylelint
4741
[.stylelintrc]
4842
indent_size = 2
@@ -56,8 +50,8 @@ indent_size = 2
5650
indent_size = 2
5751

5852
# XLF-Files
59-
[*.xlf]
60-
indent_style = tab
53+
[*.{xlf,xliff}]
54+
indent_size = 2
6155

6256
# SQL-Files
6357
[*.sql]

templates/editorconfig.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ indent_size = 2
5151
indent_size = 2
5252

5353
# XLF-Files
54-
[*.xlf]
55-
indent_style = tab
54+
[*.{xlf,xliff}]
55+
indent_size = 2
5656

5757
# SQL-Files
5858
[*.sql]

0 commit comments

Comments
 (0)