Browse Source

add editorconfig file

Olivier Massot 1 year ago
parent
commit
3878265538
2 changed files with 13 additions and 0 deletions
  1. 12 0
      .editorconfig
  2. 1 0
      .prettierrc

+ 12 - 0
.editorconfig

@@ -0,0 +1,12 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+
+[*.md]
+trim_trailing_whitespace = false

+ 1 - 0
.prettierrc

@@ -1,4 +1,5 @@
 {
+  "tabWidth": 2,
   "semi": false,
   "singleQuote": true
 }