diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..17a959b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{json,php}] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitattributes b/.gitattributes index e1677ff..f131ca1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,7 @@ docs/ export-ignore examples/ export-ignore tests/ export-ignore +.editorconfig export-ignore .gitattributes export-ignore .gitignore export-ignore .scrutinizer.yml export-ignore