From 24aa9c456be08ddbb44c0f7ace7fdce25cd80713 Mon Sep 17 00:00:00 2001 From: June Date: Fri, 29 Mar 2024 15:04:30 +0100 Subject: [PATCH] Add .editorconfig for consistent formatting and apply it --- .editorconfig | 19 +++++++++++++++++++ assets/css/style.css | 2 +- index.html | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..00f4049 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,19 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = space +charset = utf-8 + +[*.html] +indent_size = 2 +trim_trailing_whitespace = true + +[*.css] +indent_size = 2 +trim_trailing_whitespace = true + +[*.md] +indent_size = 2 +trim_trailing_whitespace = false diff --git a/assets/css/style.css b/assets/css/style.css index 94793d4..8ea09b0 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -25,4 +25,4 @@ img { p.bigger { font-size: 1.2rem; -} \ No newline at end of file +} diff --git a/index.html b/index.html index 5c0db98..4676ec5 100644 --- a/index.html +++ b/index.html @@ -37,4 +37,4 @@

- \ No newline at end of file +