From bc52c463b2cec423d34283d20f3d0c528eda250b Mon Sep 17 00:00:00 2001 From: Oscar Date: Fri, 8 Nov 2019 09:14:03 +0100 Subject: [PATCH] add prettierrc and editorconfig --- .editorconfig | 8 ++++++++ .prettierrc | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 .editorconfig create mode 100644 .prettierrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..708f696a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root=true + +[*] +indent_size = 2 +indent_style = space +trim_trailing_whitespace = true +insert_final_newline = true +line_length = 120 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..1bc4301e --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "semi": true, + "singleQuote": true, + "useTabs": false +}