[FEATURE] Linters and code analysis for TYPO3 projects
Default configuration and installation
This commit is contained in:
94
.editorconfig
Normal file
94
.editorconfig
Normal file
@ -0,0 +1,94 @@
|
||||
# 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
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# CSS-Files
|
||||
[*.css]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# HTML-Files
|
||||
[*.html]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
||||
# TMPL-Files
|
||||
[*.tmpl]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# SCSS-Files
|
||||
[*.scss]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# TS/JS-Files
|
||||
[*.ts]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
[*.js]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# JSON-Files
|
||||
[*.json]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# PHP-Files
|
||||
[*.php]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# ReST-Files
|
||||
[*.rst]
|
||||
indent_style = space
|
||||
indent_size = 3
|
||||
|
||||
# MD-Files
|
||||
[*.md]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# YAML-Files
|
||||
[{*.yaml,*.yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# package.json
|
||||
# .travis.yml
|
||||
# bower.json
|
||||
[{package.json,.travis.yml,bower.json}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# TypoScript
|
||||
[*.typoscript]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
[*.tsconfig]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# XLF-Files
|
||||
[*.xlf]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
|
||||
# SQL-Files
|
||||
[*.sql]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
||||
# .htaccess
|
||||
[{_.htaccess,.htaccess}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
Reference in New Issue
Block a user