From d43041194f6dcdccc254c47331250247c9ad9757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Fri, 24 Jul 2020 17:35:59 +0200 Subject: [PATCH] [TASK] Add editorconfig (#81) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Łukasz Uznański --- .editorconfig | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..890f728 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,65 @@ +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# HTML-Files +[*.html] +indent_style = space +indent_size = 4 + +# CSS-Files +[*.css] +indent_style = space +indent_size = 4 + + +# LESS-Files +[*.less] +indent_style = space +indent_size = 4 + +# SCSS-Files +[*.scss] +indent_style = tab +indent_size = 2 + +# JS-Files +[*.js] +indent_style = space +indent_size = 4 + +# PHP-Files +[*.php] +indent_style = space +indent_size = 4 + +# MD-Files +[*.md] +indent_style = space +indent_size = 4 + +# ReST-Files +[*.rst] +indent_style = space +indent_size = 3 + +# TypoScript-Files +[*.typoscript,*.ts] +indent_style = space +indent_size = 4 + +# YML-Files +[{*.yml,*.yaml}] +indent_style = space +indent_size = 2 + +# JSON-Files +[{*.jsonl}] +indent_style = space +indent_size = 2