Add initial eslint config
authorKevin Sawicki <kevinsawicki@gmail.com>
Fri, 15 Jan 2016 21:37:03 +0000 (13:37 -0800)
committerKevin Sawicki <kevinsawicki@gmail.com>
Fri, 15 Jan 2016 21:37:03 +0000 (13:37 -0800)
.eslintrc.json [new file with mode: 0644]

diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644 (file)
index 0000000..31b3561
--- /dev/null
@@ -0,0 +1,37 @@
+{
+  "rules": {
+    "indent": [
+      2,
+      2,
+      {
+        "SwitchCase": 1
+      }
+    ],
+    "quotes": [
+      2,
+      "single"
+    ],
+    "linebreak-style": [
+      2,
+      "unix"
+    ],
+    "semi": [
+      2,
+      "always"
+    ],
+    "comma-dangle": 0,
+    "indent": 0,
+    "no-console": 0,
+    "no-undef": 0,
+    "no-unreachable": 0,
+    "no-unused-vars": 0,
+    "quotes": 0,
+    "semi": 0
+  },
+  "env": {
+    "es6": true,
+    "node": true,
+    "browser": true
+  },
+  "extends": "eslint:recommended"
+}