From 42e06e8954f221b08fe5358e32162599085e9f3e Mon Sep 17 00:00:00 2001 From: printempw Date: Fri, 16 Feb 2018 15:25:29 +0800 Subject: [PATCH] Add .editorconfig --- .editorconfig | 13 +++++++++++++ resources/assets/src/js/__tests__/.editorconfig | 4 ++++ 2 files changed, 17 insertions(+) create mode 100644 .editorconfig create mode 100644 resources/assets/src/js/__tests__/.editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..fee0a318 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +# http://editorconfig.org +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{php,js,md}] +indent_size = 4 diff --git a/resources/assets/src/js/__tests__/.editorconfig b/resources/assets/src/js/__tests__/.editorconfig new file mode 100644 index 00000000..0382a6f8 --- /dev/null +++ b/resources/assets/src/js/__tests__/.editorconfig @@ -0,0 +1,4 @@ +# http://editorconfig.org + +[*.js] +indent_size = 2