]> git.r.bdr.sh - rbdr/heart/commitdiff
Configure eslint
authorBen Beltran <redacted>
Thu, 10 Nov 2016 04:26:55 +0000 (22:26 -0600)
committerBen Beltran <redacted>
Thu, 10 Nov 2016 04:26:55 +0000 (22:26 -0600)
.eslintignore [new file with mode: 0644]
.eslintrc

diff --git a/.eslintignore b/.eslintignore
new file mode 100644 (file)
index 0000000..8e695ec
--- /dev/null
@@ -0,0 +1 @@
+doc
index cac9fa85e8863e6fcc0c9362f03183953ea4e02f..056f291850085a128632d1494066e1c53b022422 100644 (file)
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,3 +1,6 @@
 {
-  "extends": "eslint-config-hapi"
+  "extends": "eslint-config-hapi",
+  "rules": {
+    "indent": ["error", 2]
+  }
 }