diff --git a/languages/laravel.editorconfig b/languages/laravel.editorconfig new file mode 100644 index 0000000000000000000000000000000000000000..14e7d488dc29ea548e7f163f970ed4995e65f1ca --- /dev/null +++ b/languages/laravel.editorconfig @@ -0,0 +1,39 @@ +### + # EditorConfig file for Laravel Framework projects. + # See https://editorconfig.org/ for documentation. + # + # https://git.brandon-rodriguez.com/other/editorconfig + # Version 1.0 + ## + + +# Stop editorconfig from searching further above current directory. +root = true + + +### + # Default styles for all files. + ## +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + + +### + # Tab styles that should be four spaces per tab. + # Most languages will fall under this. + ## +[*.{css,js,json,md,php,scss,sh,yaml}] +indent_size = 4 + + +### + # Tab styles that should be two spaces per tab. + # Only very nested languages should be put here. + ## +[*.{blade.php,html}] +indent_size = 2 +