From a9c7617add7263ae0006e3cc56c0f428402e3981 Mon Sep 17 00:00:00 2001 From: chee Date: Fri, 5 May 2017 01:27:22 +0100 Subject: [PATCH] add code style files and gitignore --- .editorconfig | 9 +++++++++ .eslintrc.yaml | 2 ++ .gitignore | 1 + 3 files changed, 12 insertions(+) create mode 100644 .editorconfig create mode 100644 .eslintrc.yaml create mode 100644 .gitignore diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..eeae32c --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +# i love you +root = true + +[*] +end_of_line = lf +indent_style = spaces +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true diff --git a/.eslintrc.yaml b/.eslintrc.yaml new file mode 100644 index 0000000..c48108f --- /dev/null +++ b/.eslintrc.yaml @@ -0,0 +1,2 @@ +extends: + - standard diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/