summaryrefslogtreecommitdiffstats
path: root/.editorconfig
diff options
context:
space:
mode:
authorGavin Mogan <github@gavinmogan.com>2017-04-10 15:36:03 -0700
committerEugen <eugen@zeonfederated.com>2017-04-11 00:36:03 +0200
commit3672a799d4bf9011bc665b6d8f55e58031513527 (patch)
tree52699d8e726239721918869e85ffeefba8c0cac9 /.editorconfig
parent3fd5385e7b038bce4da566bcd193f0fd1e2c5383 (diff)
Dev Tooling fixes (eslint/editorconfig) (#1398)
* Add eslint to dev dependancies so it gets installed for the repo yarn add --dev eslint babel-eslint eslint-plugin-reac project specific version of eslint, you can globally install eslint-cli if you want the global runtime, or add .bin to your path * fix eslint errors about inconsitent returns * eslint ignore the same as git ignore. allows for eslint . * Add editorconfig file so everyones editor will be setup to follow the same standards
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 00000000000..5f8702cf892
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = space
+indent_size = 2