From ce05c6c8a3d39100583b305f4c04134bb4cd6bbf Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Mon, 5 Dec 2016 09:14:02 +0100 Subject: [PATCH] add editorconfig and flowconfig files This does *not* mean that svelte is using flow (yet ? :-), it is only that people using flow for code completion get some meaningful results instead of flow complaining about a missing .flowconfig file. The editorconfig is so that people who use spaces by default get their editor using tabs like expected. --- .editorconfig | 13 +++++++++++++ .flowconfig | 9 +++++++++ 2 files changed, 22 insertions(+) create mode 100644 .editorconfig create mode 100644 .flowconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..854167bbed --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true + +[{package.json,.travis.yml,.eslintrc.json}] +indent_style = space +indent_size = 2 diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000000..2ed2b0c713 --- /dev/null +++ b/.flowconfig @@ -0,0 +1,9 @@ +[ignore] +/dist/.* + +[include] + +[libs] + +[options] +strip_root=true