]> git.r.bdr.sh - rbdr/forum/commitdiff
Add linting config
authorBen Beltran <redacted>
Sun, 22 Dec 2019 23:23:02 +0000 (00:23 +0100)
committerBen Beltran <redacted>
Sun, 22 Dec 2019 23:23:02 +0000 (00:23 +0100)
.eslintignore [new file with mode: 0644]
.eslintrc [new file with mode: 0644]
.htmlhintrc [new file with mode: 0644]

diff --git a/.eslintignore b/.eslintignore
new file mode 100644 (file)
index 0000000..7e2f179
--- /dev/null
@@ -0,0 +1 @@
+assets
diff --git a/.eslintrc b/.eslintrc
new file mode 100644 (file)
index 0000000..68bd8d3
--- /dev/null
+++ b/.eslintrc
@@ -0,0 +1,16 @@
+{
+  "extends": [
+    "eslint-config-hapi"
+  ],
+  "rules": {
+    "indent": [
+      2,
+      2
+    ],
+    "no-undef": 2,
+    "require-yield": 0
+  },
+  "parserOptions": {
+    "sourceType": "module"
+  }
+}
diff --git a/.htmlhintrc b/.htmlhintrc
new file mode 100644 (file)
index 0000000..e69de29