Skip to content

Commit

Permalink
[TASK] Update .editorconfig (#575)
Browse files Browse the repository at this point in the history
Use the same settings like the Core and tabs for makefiles to prevent errors.
  • Loading branch information
linawolf authored Oct 31, 2024
1 parent c6bad72 commit dd0706a
Showing 1 changed file with 57 additions and 10 deletions.
67 changes: 57 additions & 10 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,67 @@
# 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
indent_size = 3

# 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]
indent_style = tab

0 comments on commit dd0706a

Please sign in to comment.