diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d37a2c5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,52 @@ +# 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}] +indent_size = 2 + +# JSON-Files +[*.json] +indent_style = tab + +# ReST-Files +[*.rst] +indent_size = 3 +max_line_length = 80 + +# YAML-Files +[*.{yaml,yml}] +indent_size = 2 + +# package.json +# .travis.yml +[{package.json,.travis.yml}] +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 diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..e7f1af6 --- /dev/null +++ b/composer.json @@ -0,0 +1,14 @@ +{ + "name": "bk2k/config-typo3-editorconfig", + "type": "project-configuration", + "license": "MIT", + "authors": [ + { + "name": "Benjamin Kott", + "email": "benjamin.kott@outlook.com" + } + ], + "require": { + "bk2k/configuration-installer": "^0.1.0" + } +} diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..46d7d0e --- /dev/null +++ b/manifest.json @@ -0,0 +1,8 @@ +{ + "files": { + ".editorconfig": ".editorconfig" + }, + "gitignore": [ + "/.editorconfig" + ] +}