From c1fe1535055c44fc8c9ddd453133806cceef00e5 Mon Sep 17 00:00:00 2001 From: Swastik Pal <90329875+kitswas@users.noreply.github.com> Date: Fri, 11 Oct 2024 19:05:53 +0530 Subject: [PATCH] Update .editorconfig --- .editorconfig | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index b9fd0bb..e8b506a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,7 +5,7 @@ root = true # Unix-style newlines with a newline ending every file [*] -end_of_line = crlf +end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation @@ -21,18 +21,17 @@ indent_size = 4 # Tab indentation (no size specified) [Makefile] indent_style = tab -[*.{cpp,h}] +[*.{cpp,hpp,c,h}] indent_style = tab indent_size = 4 trim_trailing_whitespace = true -# Indentation override for all JS under lib directory -[lib/**.js] -indent_style = space -indent_size = 2 +# Indentation override for all JS +[*.js] +indent_style = tab +indent_size = 4 # Matches the exact files either package.json or .travis.yml [{package.json,.travis.yml}] indent_style = space indent_size = 2 -