From e2e407e42b059b583438a6b415238d5cea9d5afd Mon Sep 17 00:00:00 2001 From: liujia02 Date: Thu, 20 Aug 2020 18:25:10 +0800 Subject: [PATCH] feat(static): add editorconfig --- packages/build-static/template/.editorconfig | 9 +++++++++ packages/build-static/template/.prettierrc | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 packages/build-static/template/.editorconfig create mode 100644 packages/build-static/template/.prettierrc diff --git a/packages/build-static/template/.editorconfig b/packages/build-static/template/.editorconfig new file mode 100644 index 0000000..9d08a1a --- /dev/null +++ b/packages/build-static/template/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/packages/build-static/template/.prettierrc b/packages/build-static/template/.prettierrc new file mode 100644 index 0000000..a20502b --- /dev/null +++ b/packages/build-static/template/.prettierrc @@ -0,0 +1,4 @@ +{ + "singleQuote": true, + "trailingComma": "all" +}