Skip to content

Commit

Permalink
[TASK] Use Core .editorconfig (#1361)
Browse files Browse the repository at this point in the history
With additional Makefile setting

Releases: main, 13.4, 12.4

Co-authored-by: lina.wolf <lwolf@w-commerce.de>
  • Loading branch information
github-actions[bot] and linawolf authored Oct 21, 2024
1 parent 461ba25 commit 23dd7a2
Showing 1 changed file with 55 additions and 12 deletions.
67 changes: 55 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,25 +1,68 @@
# EditorConfig is awesome: https://EditorConfig.org
#
# Use as master: https://github.com/TYPO3-Documentation/T3DocTeam/blob/main/.editorconfig
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

[{*.rst,*.rst.txt}]
# 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
indent_style = space

# TS/JS-Files
[*.{ts,js,mjs}]
indent_size = 2

# JSON-Files
[*.json]
indent_style = tab

# ReST-Files
[*.{rst,rst.txt}]
indent_size = 4
max_line_length = 80

# MD-Files
# Markdown-Files
[*.md]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 80

# YAML-Files
[*.{yaml,yml}]
indent_size = 2

# NEON-Files
[*.neon]
indent_size = 2
indent_style = tab

# stylelint
[.stylelintrc]
indent_size = 2

# package.json
[package.json]
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

[Makefile]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab

0 comments on commit 23dd7a2

Please sign in to comment.