From 9053e424345f2936bc030839c2f86114db8a62f8 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Fri, 6 Nov 2020 21:43:39 -0500 Subject: [PATCH] Add laravel editorconfig --- languages/laravel.editorconfig | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 languages/laravel.editorconfig diff --git a/languages/laravel.editorconfig b/languages/laravel.editorconfig new file mode 100644 index 0000000..14e7d48 --- /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 + -- GitLab