From c0af4403024e4b32a106ba278c1d234c99efd8ff Mon Sep 17 00:00:00 2001 From: Sonny Date: Sun, 26 Nov 2023 01:28:01 +0100 Subject: [PATCH] chore: update project code style conf --- .editorconfig | 9 +++++---- .idea/codeStyles/Project.xml | 17 +++++++++++------ .idea/prettier.xml | 1 + .prettierrc | 19 ++++++++++++++++++- 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/.editorconfig b/.editorconfig index ce0407f..045ffb8 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,9 +1,10 @@ root = true -# Unix-style newlines with a newline ending every file [*] -end_of_line = lf -insert_final_newline = true charset = utf-8 indent_style = space -indent_size = 2 \ No newline at end of file +indent_size = 2 +tab_width = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f986f2f..77e7980 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -2,21 +2,24 @@ @@ -25,7 +28,7 @@