2020-07-24 17:35:59 +02:00
|
|
|
# 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
|
2020-11-29 21:15:29 +01:00
|
|
|
insert_final_newline = true
|
|
|
|
trim_trailing_whitespace = true
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-24 01:50:33 +01:00
|
|
|
# JS files
|
2020-07-24 17:35:59 +02:00
|
|
|
[*.js]
|
2020-11-29 21:15:29 +01:00
|
|
|
indent_size = 2
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-29 21:15:29 +01:00
|
|
|
# JSON files
|
|
|
|
[*.json]
|
|
|
|
indent_style = tab
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-29 21:15:29 +01:00
|
|
|
# package.json
|
|
|
|
[package.json]
|
|
|
|
indent_size = 2
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-24 01:50:33 +01:00
|
|
|
# ReST files
|
2022-04-12 19:00:11 +02:00
|
|
|
[{*.rst,*.rst.txt}]
|
2022-08-20 13:59:53 +02:00
|
|
|
indent_size = 4
|
2020-11-29 21:15:29 +01:00
|
|
|
max_line_length = 80
|
|
|
|
|
|
|
|
# SQL files
|
|
|
|
[*.sql]
|
|
|
|
indent_style = tab
|
|
|
|
indent_size = 2
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-24 01:50:33 +01:00
|
|
|
# TypoScript files
|
2020-11-29 21:15:29 +01:00
|
|
|
[*.{typoscript,tsconfig}]
|
|
|
|
indent_size = 2
|
2020-07-24 17:35:59 +02:00
|
|
|
|
2020-11-29 21:15:29 +01:00
|
|
|
# YAML files
|
2020-07-24 17:35:59 +02:00
|
|
|
[{*.yml,*.yaml}]
|
|
|
|
indent_size = 2
|
|
|
|
|
2020-11-29 21:15:29 +01:00
|
|
|
# XLF files
|
|
|
|
[*.xlf]
|
|
|
|
indent_style = tab
|
2020-11-24 02:06:45 +01:00
|
|
|
|
2020-11-29 21:15:29 +01:00
|
|
|
# .htaccess
|
|
|
|
[.htaccess]
|
|
|
|
indent_style = tab
|
2021-05-15 01:35:25 +02:00
|
|
|
|
|
|
|
# Markdown files
|
|
|
|
[*.md]
|
|
|
|
max_line_length = 80
|