Skip to content

Commit

Permalink
Merge pull request #49 from freshworkx/48-provide-an-editorconfig-fil…
Browse files Browse the repository at this point in the history
…e-according-to-the-typo3-coding-guidelines

[TASK] add .editorconfig file
  • Loading branch information
freshworkx committed Mar 17, 2024
2 parents 06156b4 + 3323a69 commit e7812a7
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions .editorconfig
@@ -0,0 +1,64 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# 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

# 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

# Markdown-Files
[*.md]
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

0 comments on commit e7812a7

Please sign in to comment.